How to handle large number of disk devices in "arbitrary" order?

Carsten Aulbert carsten at welcomes-you.com
Tue Nov 15 07:22:52 CET 2011


Good morning

> 
> FAI's error message is:
> Starting setup-storage 1.3
> Device name /dev/disk/by-id/scsi-SATA_DeLOCK.* could not be substituted
> 
> (the same without the '.' did also fail)

But fails differently (thus I assume /dev/disk/by-id/scsi-SATA_DeLOCK*) should 
be the correct way.

The error then is 

Failed to resolve /dev/disk/by-id/scsi-SATA_DeLOCK* to a unique device name 
which of course is true, if the device was already partitioned:

lrwxrwxrwx 1 root root  9 Nov 15 06:17 /dev/disk/by-id/scsi-
SATA_DeLOCK_54164_8G20110329AA0060000435 -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 15 06:17 /dev/disk/by-id/scsi-
SATA_DeLOCK_54164_8G20110329AA0060000435-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 15 06:17 /dev/disk/by-id/scsi-
SATA_DeLOCK_54164_8G20110329AA0060000435-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 15 06:17 /dev/disk/by-id/scsi-
SATA_DeLOCK_54164_8G20110329AA0060000435-part3 -> ../../sda3

I suppose I'll have to dig into task_partition and the helper scripts in 
there.

Cheers

Carsten


More information about the linux-fai mailing list