Has anyone see the 'df' command just hang after an upgrade? From another terminal, I saw df in the 'D' state when running ps. I tried 'df &' in my new terminal, and that too just hung out in the background. typing 'reboot' fixed the problem. =) This box had been up for a while, no problems. The only thing I changed was a 7.0 to 7.1 upgrade. (Haven't rebuilt all the ports to match the new OS, yet....) > uname -v FreeBSD 7.1-PRERELEASE #0: Thu Nov 13 19:14:42 PST 2008 root@example.monkeybrains.net:/usr/obj/usr/src/sys/MONKEY (MONKEY is pretty close to generic, just some ethernet and scsi stuff left out) > kldstat Id Refs Address Size Name 1 7 0xc0400000 4d39fc kernel 2 1 0xc08d4000 164e8 geom_mirror.ko 3 1 0xc3e93000 9000 if_bridge.ko 4 1 0xc3e9c000 6000 bridgestp.ko 5 1 0xc3f78000 5000 if_tap.ko 6 1 0xc3fdd000 3000 daemon_saver.ko > df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad4s1a 248M 213M 14M 94% / devfs 1.0K 1.0K 0B 100% /dev procfs 4.0K 4.0K 0B 100% /proc /dev/mirror/gm0s1d 989M 200M 710M 22% /var /dev/mirror/gm0s1e 496M 1.7M 454M 0% /tmp /dev/ad4s1f 2.9G 1.4G 1.3G 52% /usr /dev/mirror/gm0s1g 268G 105G 142G 42% /data /dev/ad4s1h 180G 391M 166G 0% /data2 devfs 1.0K 1.0K 0B 100% /var/named/dev - Rudy
Jille Timmermans
2008-Nov-18 14:59 UTC
"df" locked up after upgrade to FreeBSD 7.1-PRERELEASE
Are there 'broken' (lost connection without being umounted) NFS mounts by any chance ? That would cause df to wait for eternity (or till the host comes back up). -- Jille Rudy schreef:> > Has anyone see the 'df' command just hang after an upgrade? > From another terminal, I saw df in the 'D' state when running ps. > > I tried 'df &' in my new terminal, and that too just hung out in the > background. > typing 'reboot' fixed the problem. =) > > This box had been up for a while, no problems. The only thing I changed > was a 7.0 to 7.1 upgrade. > (Haven't rebuilt all the ports to match the new OS, yet....) > >> uname -v > FreeBSD 7.1-PRERELEASE #0: Thu Nov 13 19:14:42 PST 2008 > root@example.monkeybrains.net:/usr/obj/usr/src/sys/MONKEY > (MONKEY is pretty close to generic, just some ethernet and scsi stuff > left out) > >> kldstat > Id Refs Address Size Name > 1 7 0xc0400000 4d39fc kernel > 2 1 0xc08d4000 164e8 geom_mirror.ko > 3 1 0xc3e93000 9000 if_bridge.ko > 4 1 0xc3e9c000 6000 bridgestp.ko > 5 1 0xc3f78000 5000 if_tap.ko > 6 1 0xc3fdd000 3000 daemon_saver.ko > >> df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/ad4s1a 248M 213M 14M 94% / > devfs 1.0K 1.0K 0B 100% /dev > procfs 4.0K 4.0K 0B 100% /proc > /dev/mirror/gm0s1d 989M 200M 710M 22% /var > /dev/mirror/gm0s1e 496M 1.7M 454M 0% /tmp > /dev/ad4s1f 2.9G 1.4G 1.3G 52% /usr > /dev/mirror/gm0s1g 268G 105G 142G 42% /data > /dev/ad4s1h 180G 391M 166G 0% /data2 > devfs 1.0K 1.0K 0B 100% /var/named/dev > > > > - Rudy > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
Is there anything NFS related to the box? If yes, then it could be because of some hung mounts. Thanks Subhro On 11/19/08, Rudy <crapsh@monkeybrains.net> wrote:> > Has anyone see the 'df' command just hang after an upgrade? > From another terminal, I saw df in the 'D' state when running ps. > > I tried 'df &' in my new terminal, and that too just hung out in the > background. > typing 'reboot' fixed the problem. =) > > This box had been up for a while, no problems. The only thing I changed > was a 7.0 to 7.1 upgrade. > (Haven't rebuilt all the ports to match the new OS, yet....) > > > uname -v > FreeBSD 7.1-PRERELEASE #0: Thu Nov 13 19:14:42 PST 2008 > root@example.monkeybrains.net:/usr/obj/usr/src/sys/MONKEY > (MONKEY is pretty close to generic, just some ethernet and scsi stuff > left out) > > > kldstat > Id Refs Address Size Name > 1 7 0xc0400000 4d39fc kernel > 2 1 0xc08d4000 164e8 geom_mirror.ko > 3 1 0xc3e93000 9000 if_bridge.ko > 4 1 0xc3e9c000 6000 bridgestp.ko > 5 1 0xc3f78000 5000 if_tap.ko > 6 1 0xc3fdd000 3000 daemon_saver.ko > > > df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/ad4s1a 248M 213M 14M 94% / > devfs 1.0K 1.0K 0B 100% /dev > procfs 4.0K 4.0K 0B 100% /proc > /dev/mirror/gm0s1d 989M 200M 710M 22% /var > /dev/mirror/gm0s1e 496M 1.7M 454M 0% /tmp > /dev/ad4s1f 2.9G 1.4G 1.3G 52% /usr > /dev/mirror/gm0s1g 268G 105G 142G 42% /data > /dev/ad4s1h 180G 391M 166G 0% /data2 > devfs 1.0K 1.0K 0B 100% /var/named/dev > > > > - Rudy > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >-- Subhro Kar Software Engineer Dynamic Digital Technologies Pvt. Ltd. EPY-3, Sector: V Salt Lake City 700091 India