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 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "Philip R. Auld" <pauld@xxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0/3] domUloader
From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Date: Thu, 26 Jan 2006 14:01:38 +0000
Cc: "Edwards, Nigel \(Nigel Edwards\)" <nigel.edwards@xxxxxx>, Jeremy Katz <katzj@xxxxxxxxxx>, Xen development list <xen-devel@xxxxxxxxxxxxxxxxxxx>, Kurt Garloff <garloff@xxxxxxx>
Delivery-date: Thu, 26 Jan 2006 14:10:02 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060126133715.GB6369@xxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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-0000:00:1f.1-ide-0:0 -> ../../hda
        |   |-- pci-0000:00:1f.2-scsi-0:0:0:0 -> ../../sda
        |   |-- pci-0000:00:1f.2-scsi-0:0:0:0-part1 -> ../../sda1
        |   |-- pci-0000:00:1f.2-scsi-0:0:0:0-part2 -> ../../sda2
        |   `-- pci-0000:00:1f.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.

Ian.



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