setup-storage: error

Alexander Bugl alexander.bugl at zmaw.de
Fri May 15 13:20:20 CEST 2009


Hi!

>> So I think inside the NFSroot sda is visible without problems.

> I must agree, but will try again :-) . Can you run
> '/usr/lib/fai/disk-info' in your shell?

Yes, it produces no output. The reason seems to be:
# /usr/lib/fai/disk-info

[...]
stat -c %G /dev/$device
++ stat -c %G /dev/sda
+ '[' floppy = disk ']'
+ isdisk=0
+ '[' 0 -eq 1 ']'
+ read major minor blocks device suffix

So disk-info tests if the group of /dev/sda is disk -- and in my case it is:
# ls -al /dev/sda
brw-rw---- 1 root floppy 8, 0 May 15 10:36 /dev/sda

So I have two questions:
Why is the group "floppy"? (I probably should take a deep look myself,
should be related to udev ...)
Why uses /usr/lib/fai/disk-info / setup-storage this test?

With regards, Alex

-- 
Alexander Bugl,  Central IT Services, ZMAW
Max  Planck  Institute   for   Meteorology
Bundesstrasse 53, D-20146 Hamburg, Germany
tel +49-40-41173-351, fax -356, room PE048


More information about the linux-fai mailing list