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

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



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


 


Rackspace

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