[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] XEN 4.1.2 + gentoo-sources-3.3.0: cannot open root device sddX

On 29 March 2012 10:44, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> It has been a property of Linux for quite a while now (IIRC since the
> early 2.6.x days) that disks are not named in any stable or
> deterministic order. So it is entirely possible that your disk will get
> a different name each time you reboot, even without changing your
> hardware (this is particularly true of USB attached disks but I also see
> it with the SATA controllers in one of my systems).
> This is not a problem which is specific to Xen, although Xen may impact
> the timings of device probing etc and so change the random ordering to a
> different random ordering.
> If this effects you then the only way around it is to boot based on UUID
> or LABEL, which requires an initramfs with udev etc. Most distros
> provide tools for creating these.

Thanks Ian, I did understand now.

Fortunately it seems that the disk is recognized as sdc most of the times now.



Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.