[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
- To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
- From: Flavio <fbcyborg@xxxxxxxxx>
- Date: Thu, 29 Mar 2012 10:47:46 +0200
- Cc: xen-users <xen-users@xxxxxxxxxxxxx>
- Delivery-date: Thu, 29 Mar 2012 08:49:41 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=UcFJDqw/OD5nCOncB/Uz+6iwOcqz/KGDTK41aupEFGI=; b=0VZ39BZ5GhdzkC4YEOOsa3a6eCJsnUXHRoVVI84lfMy1lAcAaUPJz4rJSfSvv1GLBZ us5lfOsCwukARmx0fVrKAlTK3vrHFSr2hOJkGbWcXk0iEiK2KJ8LouqI9EFZNKQxCOox +J5gKn4BOkPf8e4ZdZVbgFToMnHLT9/NVKOfFu7g9TeQ5xfK/+zYHQCFDqCDezGEwtMp GifW7v/vIlDSnICEk7poeCn1ZIo9xlEfOw4urfUVaOOjk+bMhv0rrrH9NJYV2+19CL3V FA9x4nLyDxwugOGjr/iD0beVO/oYYJLHrD1qT1zZEAH9W0/LMB2cKyGiCWLIx3yNY2VY GcmA==
- List-id: Xen user discussion <xen-users.lists.xen.org>
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.
Perfect!
Fortunately it seems that the disk is recognized as sdc most of the times now.
Regards,
--
Flavio
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users