WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH 0/3] domUloader

To: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0/3] domUloader
From: "Philip R. Auld" <pauld@xxxxxxxxxxx>
Date: 2006年1月26日 09:20:40 -0500
Cc: "Edwards, Nigel \(Nigel Edwards\)" <nigel.edwards@xxxxxx>, Jeremy Katz <katzj@xxxxxxxxxx>, Xen development list <xen-devel@xxxxxxxxxxxxxxxxxxx>, Kurt Garloff <garloff@xxxxxxx>
Delivery-date: 2006年1月26日 14:30:30 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1138284098.4309.44.camel@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <DF5E364A470421429AE6DC96979A4F6F56D9DC@xxxxxxxxxxxxxxxxxxxxxxxxx> <20060126133715.GB6369@xxxxxxxxxxxxxxxxxx> <1138284098.4309.44.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
Rumor has it that on Thu, Jan 26, 2006 at 02:01:38PM +0000 Ian Campbell said:
> On Thu, 2006年01月26日 at 08:37 -0500, Philip R. Auld wrote:
> > It should be possible to use udev to assign a specific unique name
> > to each disk based
>
> It already does this to some degree. From a handy Debian box:
>
> $ tree /dev/disk/
> /dev/disk/
> |-- by-id
> | |-- scsi-0ATA_ST3200826AS_Linux_ATA-SCSI_simulator -> ../../sda
> | |-- scsi-0ATA_ST3200826AS_Linux_ATA-SCSI_simulator-part1 -> 
> ../../sda1
> | |-- scsi-0ATA_ST3200826AS_Linux_ATA-SCSI_simulator-part2 -> 
> ../../sda2
> | `-- scsi-0ATA_ST3200826AS_Linux_ATA-SCSI_simulator-part3 -> 
> ../../sda3
> |-- by-label
> | `-- boot -> ../../sda1
> |-- by-path
> | |-- pci-.&checktime(0000,00,1,':')f.1-ide-0:0 -> ../../hda
> | |-- pci-.&checktime(0000,00,1,':')f.2-scsi-0:0:0:0 -> ../../sda
> | |-- pci-.&checktime(0000,00,1,':')f.2-scsi-0:0:0:0-part1 -> ../../sda1
> | |-- pci-.&checktime(0000,00,1,':')f.2-scsi-0:0:0:0-part2 -> ../../sda2
> | `-- pci-.&checktime(0000,00,1,':')f.2-scsi-0:0:0:0-part3 -> ../../sda3
> `-- by-uuid
> `-- 8312472d-e311-4e0d-837c-6c4eb646a5e3 -> ../../sda1
>
> The logic is in /etc/udev/persistent.rules. It might need updating with
> some iSCSI knowledge I suppose.
Right, but this is just showing which UID it mapped to sda. My point
was you can configure it to give a specific name to a specific UID: 
scsi-0ATA_ST3200826AS_Linux_ATA-SCSI_simulator -> ../../my_domU_disk
Then you use my_domU_disk in the xen domain configuration.
You can do this manually as well by looking up which sdX name the
deivce got and making a link it or device node with the same
major/minor. But I think udev can be configured to to it for you.
I don't know the details of how to make it do that, but that's part
of what it's for.
Cheers,
Phil
>
> Ian.
>
-- 
Philip R. Auld, Ph.D. Egenera, Inc. 
Software Architect 165 Forest St.
(508) 858-2628 Marlboro, MA 01752
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [PATCH 0/3] domUloader , Ian Campbell
Next by Date: [Xen-devel] [PATCH] fix two pygrub problems , John Levon
Previous by Thread: Re: [Xen-devel] [PATCH 0/3] domUloader , Ian Campbell
Next by Thread: Re: [Xen-devel] [PATCH 0/3] domUloader , Kurt Garloff
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /