All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Chris Wright <chrisw@sous-sol.org>,
	Chris Lalancette <clalance@redhat.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Greater than 16 xvd devices for blkfront
Date: Fri, 9 May 2008 00:34:13 +0100	[thread overview]
Message-ID: <20080508233413.GA16160@redhat.com> (raw)
In-Reply-To: <48237B4A.4070808@goop.org>

On Thu, May 08, 2008 at 11:14:34PM +0100, Jeremy Fitzhardinge wrote:
> Chris Wright wrote:
> >Well, we don't actually need 202, or any minor numbers at all.  The major
> >is only needed for the case where xvd masquerades as IDE or SCSI.
> >We ripped this wart out for upstream Linux. 
> 
> I'm considering putting it back in if it makes anyone's life easier.  In 
> general using labels/uuids is the best way to make an installation 
> device-agnostic, but installers might have an easier time with a forged 
> scsi device or something.  I mentioned it in passing to Al Viro, and he 
> was surprisingly non-insulting about the notion.
> 
> > And the guest can happily
> >dynamically allocate minor numbers on its own behalf.  A disk discovery
> >event can be completely dynamic, the admin just wouldn't be able to
> >guarantee which minor slot gets allocated for a particular disk in
> >a guest.  We do have mount by label or UUID.
> >  
> 
> That's true for filesystems which have already been initialized.  But if 
> you're attaching 4 new devices to a guest and they appear at random 
> device nodes, how do you know which is which?  Smell?

Well there's /dev/disk/by-{path,id}. Now there's no udev rules to setup
these links for Xen VBD (afaik), but we could arrange to have some suitable
info used to provide a persistent path under either of those locations.

Dan.
-- 
|: Red Hat, Engineering, Boston   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

      reply	other threads:[~2008-05-08 23:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-06 17:36 Greater than 16 xvd devices for blkfront Chris Lalancette
2008-05-06 17:45 ` Daniel P. Berrange
2008-05-07 16:04   ` Chris Wright
2008-05-07  1:55 ` Daniel P. Berrange
2008-05-07  3:47   ` Daniel P. Berrange
2008-05-07 16:40     ` Chris Wright
2008-05-08  9:30       ` Ian Jackson
2008-05-08 15:33         ` Chris Wright
2008-05-08 17:03           ` Ian Jackson
2010-02-03 16:50             ` Xen vbd numbering Ian Jackson
2008-05-08 22:14           ` Greater than 16 xvd devices for blkfront Jeremy Fitzhardinge
2008-05-08 23:34             ` Daniel P. Berrange [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080508233413.GA16160@redhat.com \
    --to=berrange@redhat.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=chrisw@sous-sol.org \
    --cc=clalance@redhat.com \
    --cc=jeremy@goop.org \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.