> Michael Tautschnig a écrit :
> >>Michael Tautschnig a écrit :
> >>>Err, sorry, one should really test their code before releasing it.
> >>>3.3.4~beta1+experimental7 should be online in a few minutes and finally fix
> >>>those problems; at least it worked on my system.
> >>>
> >>>Best,
> >>>Michael
> >>>
> >>Still failing a little later, I've put the log on
> >>http://paste.debian.net/64576/.
> >>
> >
> >Hmm, that's weird, it seemingly cannot match sda to any of the configured 
> >disks;
> >could you please replace /usr/share/fai/setup-storage/Volumes.pm (in your
> >NFSROOT) with the attached one and once again paste the output?
> >
> >
> Here you go: http://paste.debian.net/64596/
> 

Err, could please use the attached version of disk-info to replace
/usr/lib/fai/disk-info? And retry...

Thanks,
Michael

#! /bin/bash

### BEGIN SUBROUTINE INFO
# Provides-Var:    none
# Requires-Var:    none
# Short-Description: <task desc.>
### END SUBROUTINE INFO
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diskandsize() {

    local isdisk major minor blocks device suffix

    while read major minor blocks device suffix; do
        isdisk=1
        # skip ide cdrom
        [ -f /proc/ide/$device/media ] && grep -q cdrom /proc/ide/$device/media 
&& isdisk=0
# old way of detecting disks: [ `cat /sys/block/$device/removable` -eq 1 ] && 
isdisk=0
        [ `stat -c %G /dev/$device` = "disk" ] || isdisk=0
        [ $isdisk -eq 1 ] && echo "$device"
    done
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# echo a space separated list of devices and their block size
egrep ' etherd/e[[:digit:]]+\.[[:digit:]]+\b| i2o/hd.\b| cciss/c.d.\b| 
ida/c.d.\b| rd/c.d.\b| hd.\b| sd[a-z]{1,2}\b|/disc\b| vd.\b| xvd.\b' 
/proc/partitions | diskandsize


Attachment: pgp7SUkrKNlCs.pgp
Description: PGP signature

Antwort per Email an