From: Gerd Knorr <kraxel@bytesex.org>
To: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>
Cc: Philip R Auld <pauld@egenera.com>, xen-devel@lists.xensource.com
Subject: Re: Disk naming (Was Re: [PATCH] Guest boot loadersupport [1/2])
Date: 14 Apr 2005 23:59:35 +0200 [thread overview]
Message-ID: <87k6n59fzs.fsf@bytesex.org> (raw)
In-Reply-To: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3B98@liverpoolst.ad.cl.cam.ac.uk>
"Ian Pratt" <m+Ian.Pratt@cl.cam.ac.uk> writes:
> I don't think there's a huge problem with exposing vbd's as sdX/hdX
> within a guest. We used to have our own xdX device, but it just broke
> too much stuff, hence we hijacked had/sda.
Huh? Really? What exactly broke?
I can share a bit of experience with user mode linux again: UML uses
it's own major range for virtual block devices. Making the suse
installer work within a UML machine was surprisingly easy. The major
stumbling block was that parted had a hard-coded white-list for block
device major numbers, which didn't include #98 (the uml virtual block
device major), thus the installer didn't recognised the virtual disk
or refused to partition it (don't remember exactly). The other issue
was that the device files in /dev didn't exist (should be easier these
days with udev ;).
Once these two points where fixed it worked just fine. Well, there
still were some minor issues, like the installer being a bit confused
and printing a warning due to the fact that it hasn't found any PCI
IDE or SCSI storage controller.
The important bit is that you'll have to take care to use the usual
linux interfaces, naming schemes and so on. If the virtual disks and
partitions show up in /proc/partitions and /sys/block correctly most
software will be happy.
I think we should have our own xd virtual block devices for xen and
use them by default. It's cleaner, and probably also has less
problems when using virtual disks and iSCSI at the same time ;)
Using hd/sd instead probably is a useful option in some cases, I
wouldn't drop that altogether, but only use that if the user
explicitly asks for it.
Gerd
--
#define printk(args...) fprintf(stderr, ## args)
next prev parent reply other threads:[~2005-04-14 21:59 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-14 20:43 Disk naming (Was Re: [PATCH] Guest boot loadersupport [1/2]) Ian Pratt
2005-04-14 20:52 ` Jeremy Katz
2005-04-14 21:59 ` Gerd Knorr [this message]
2005-04-14 22:10 ` Adam Heath
2005-04-15 1:51 ` Andrew Theurer
2005-04-15 13:32 ` Philip R Auld
2005-04-14 23:24 ` Mark Williamson
2005-04-14 23:42 ` Adam Heath
2005-04-14 23:43 ` Mark Williamson
2005-04-15 16:18 ` Adam Heath
2005-04-15 16:43 ` Mark Williamson
2005-04-15 17:33 ` Adam Heath
2005-04-15 17:33 ` Mark Williamson
2005-04-15 17:55 ` Adam Heath
2005-04-15 17:56 ` Mark Williamson
2005-04-15 20:08 ` Adam Heath
2005-04-15 20:14 ` Mark Williamson
2005-04-15 20:45 ` Anthony Liguori
2005-04-15 18:02 ` Andrew Warfield
2005-04-15 17:57 ` Anthony Liguori
2005-04-15 20:07 ` Adam Heath
2005-04-15 20:16 ` Mark Williamson
2005-04-15 20:46 ` Adam Heath
2005-04-15 20:29 ` Mark Williamson
2005-04-15 21:05 ` Anthony Liguori
2005-04-15 20:40 ` Anthony Liguori
2005-04-15 20:48 ` Adam Heath
2005-04-15 20:47 ` Anthony Liguori
2005-04-15 13:58 ` Philip R Auld
-- strict thread matches above, loose matches on Subject: below --
2005-04-15 21:44 Disk naming (Was Re: [PATCH] Guest boot loadersupport[1/2]) Ian Pratt
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=87k6n59fzs.fsf@bytesex.org \
--to=kraxel@bytesex.org \
--cc=m+Ian.Pratt@cl.cam.ac.uk \
--cc=pauld@egenera.com \
--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.