Hi Carsten,

[...]
> 
> 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 you should be able to address this issue by using

/dev/disk/by-id/scsi-SATA_DeLOCK*[A-Z0-9_][A-Z0-9_][A-Z0-9_]

but obviously this isn't exactly beautiful. It might be easier if we instead
permitted arbitrary perl regular expressions, but then again we might still want
to add some improvements to help you configure your other 12-48 disks.

I'd be happy to take inputs on this, I think this feature has hardly been used
before.

Best,
Michael

Attachment: pgpMjUNTXzX5K.pgp
Description: PGP signature

Antwort per Email an