I integrated the tests Andrew and Thomas sent me. 60 tests in 30seconds. Not
bad. (Although all 15 of Andrew's tests are being currently skipped, because the
test harness doesn't support using '/dev/disk/by-,,,,' yet. On the other hand 
the
maximum number of disk devices has raised from 8 to 26 now.)

After some consideration I switched the internal logic from 'standalone' mode
into integration with a FAI client / config space. (Maybe should have done this
right from the start but back then I was hoping to be able to run this whole
harness as a non-priviledged user.) Adjusted documentation at the start of the
run-tests script and there's an example hook in
https://github.com/ThomasNeumann/Public/blob/master/fai-setup-storage/documentation/partition.SSTEST



@Andrew: I'm wondering if your configs are reliable, Let me explain:

  disk_config /dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0 
disklabel:gpt-bios align-at:1M
  [..]
  disk_config /dev/disk/by-path/pci-0000:00:1f.2-scsi-1:0:0:0 sameas:sda

What happens if for some reason 'sda' is something else then [...]-0:0:0:0?

Shouldn't the second line read
  disk_config /dev/disk/by-path/pci-0000:00:1f.2-scsi-1:0:0:0 
sameas:/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0 
instead? (I wonder if it is actually supported?)

Of course there's a ~slight~ problem with readability now...

bye
thomas

Antwort per Email an