setup-storage with 3ware controller and additional drives

Carsten Aulbert Carsten.Aulbert at aei.mpg.de
Sun Jan 15 19:01:23 CET 2012


Hi

so far no real solution as the regexp has problems with the colon of the pci 
ids (as this is also the separator for raid-options):

adding

        print "FOUND $item[1]\n";


just before the mkfs path in Parser.pm shows:

setup-storage -d
[...]


disk_config raid fstabkey:uuid
raid6       /local/user  /dev/disk/by-path/pci-0000:00:1f.2-
scsi-0:0:0:0,/dev/disk/by-path/pci-0000:00:1f.2-scsi-1:0:0:0,/dev/disk/by-
path/pci-0000:00:1f.2-scsi-2:0:0:0,/dev/disk/by-path/pci-0000:00:1f.2-
scsi-3:0:0:0 xfs rw

FOUND ext2
FOUND xfs
FOUND xfs
FOUND xfs
FOUND :00:1f.2-scsi-0:0:0:0,/dev/disk/by-path/pci-0000:00:1f.2-
scsi-1:0:0:0,/dev/disk/by-path/pci-0000:00:1f.2-scsi-2:0:0:0,/dev/disk/by-
path/pci-0000:00:1f.2-scsi-3:0:0:0
unknown/invalid filesystem type  (mkfs. not found in PATH)

Thomas, Michael, any advise how to navigate around this as I won't be able to 
use disk1, sda, ... whatever due to udev uncertainties.

I could try to hack the regexp as within the pci-path only [0-9a-f] should be 
around the colon, but that's going to be ugly.

Cheers

CArsten


More information about the linux-fai mailing list