New issues with setup storage - disc too small
David Dreezer
dave at socialstrata.com
Thu Mar 17 01:58:11 CET 2011
[..]&FAI::push_command( "mdadm -W --stop $md ; sleep 2 ; cat /proc/mdstat", "$pre_deps_cl", "self_cleared_$md");
> i.e., add the wait, change the sleep to a smaller value (to speed things up),
> and print /proc/mdstat? I have absolutely no idea why the kernel claims some
> device is still busy, and even less so would I know how to figure out what is
> still trying to access the device.
Done. No change.
A note on below: lsof isn't installed into my nfsroot. I added it through the shell into the client, so I'm not confident of the results. I'll add it to the nfsroot for future use.
>
> - cat /proc/swaps
> - cat /proc/mdstat
> - pvdisplay -a
> - mount
> - cat /etc/mtab
> - lsof | grep sdb
> - fuser -vam /dev/sdb
> - fuser -vam /dev/sdb1
> - fuser -vam /dev/sdb5
root at fw1dv:/tmp/fai# cat /proc/swaps
Filename Type Size Used Priority
root at fw1dv:/tmp/fai# cat /proc/mdstat
Personalities : [raid1]
unused devices: <none>
root at fw1dv:/tmp/fai# pvdisplay -a
Incompatible options selected
Run `pvdisplay --help' for more information.
root at fw1dv:/tmp/fai# mount
rootfs on / type rootfs (rw)
none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
none on /proc type proc (rw,nosuid,nodev,noexec,relatime)
none on /dev type devtmpfs (rw,relatime,size=1031304k,nr_inodes=218707,mode=755)
none on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
10.7.4.81:/app/fai/nfsroot on /live/image type nfs (ro,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,hard,nolock,proto=tcp,port=65535,timeo=7,retrans=3,sec=sys,mountport=65535,addr=10.7.4.81)
tmpfs on /live/cow type tmpfs (rw,noatime,mode=755)
aufs on / type aufs (rw,noatime,si=b27cf29d,noxino)
tmpfs on /live type tmpfs (rw,relatime)
mg006:/app/fai/config on /var/lib/fai/config type nfs (ro,noatime,vers=3,rsize=524288,wsize=524288,namlen=255,acregmin=1800,acregmax=1800,acdirmin=1800,acdirmax=1800,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.5.0.81,mountvers=3,mountport=34721,mountproto=udp,addr=10.5.0.81)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
root at fw1dv:/tmp/fai# lsof | grep sdb
root at fw1dv:/tmp/fai# fuser -vam /dev/sdb
USER PID ACCESS COMMAND
/dev/sdb:
root at fw1dv:/tmp/fai# fuser -vam /dev/sdb1
USER PID ACCESS COMMAND
/dev/sdb1:
root at fw1dv:/tmp/fai# fuser -vam /dev/sdb5
Specified filename /dev/sdb5 does not exist.
USER PID ACCESS COMMAND
/dev/sdb5:
More information about the linux-fai
mailing list