What's the default device which MAAS provision OS in ?
Mark Shuttleworth
mark at ubuntu.com
Sat Sep 26 09:45:21 UTC 2015
I think this has to do with the fact that the kernel chooses names for
devices in a way that is not always totally predictable. In some cases,
two different boots of the system might give a single device two
different names (like swapping /dev/sda and /dev/sdb) which is why a lot
of things like /etc/fstab use UUIDs to identify the partitions precisely.
In MAAS 1.9 you will be able to say, in the UI or through the API, which
device to use for the root filesystem. That information will be conveyed
to the installer in a way which is not dependent on kernel naming. So
you will always get the root filesystem where you expect it.
Mark
On 26/09/15 01:10, 曾建銘 wrote:
> Hi all,
>
> I have a question about the default device which MAAS provision OS in.
>
> Is the default device /dev/sda ?
>
> At first, I have 4 disks(/dev/sda, /dev/sdb, /dev/sdc, /dev/sdd),MAAS
> provisioned the OS in /dev/sda.
>
> Then I installed a new 8GB SD card into my server, it became /dev/sda. The
> origin /dev/sda became /dev/sdb.
>
> I restarted the provision task but MAAS provisioned the OS in /dev/sdb.
>
> Is that normal? Why MAAS did not provision OS in /dev/sda? Is the SD card's
> capacity too small to install?
>
> Thanks in advanced for reply.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20150926/005e8f39/attachment.html>
More information about the Juju
mailing list