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

Re: Disk naming (Was Re: [Xen-devel] [PATCH] Guest boot loader support [1/2])



On Thu, 2005-04-14 at 14:22 -0400, Philip R Auld wrote:
> As a slight but related digression, has any thought been given to
> using something other than /dev/[hs]d* names for specifying block
> devices? The name /dev/sdb only has meaning for the current
> state of the running dom0 OS. It may not mean the same device
> on a different dom0. This can lead to problems in say migration.
> In fact, it may not be the same when the domain is restored locally.

To be even slightly more radical, I don't think that for the guests, the
vbds should be being exposed as SCSI or IDE since they're not.  By being
presented as such, there's a set of assumptions about ioctls and
behaviors which aren't the case for disks on blkfront.  Even with all of
the pain using your own major/minor for a disk device is, I think it
probably is the right thing to do.  And I've added the code to
parted/lvm2/.../etc enough to be able to do it in my sleep this point if
this route is taken :)

Jeremy


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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