Re: resize_ffs hangs on needbuf

2013-08-28 Thread Michael van Elst
t...@panix.com (Thor Lancelot Simon) writes: It looks rather counter-intuitive to resize the mounted root but that works. Immediate reboot seems advised since df does not report the new size after resize_ffs completes successfully. Indeed you may want reboot -n! Hopefully not necessary for a

Re: resize_ffs hangs on needbuf

2013-08-28 Thread Emmanuel Dreyfus
Thor Lancelot Simon t...@panix.com wrote: Indeed you may want reboot -n! Does it make a difference with just reboot (without -n) if the filesystem is mounted read-only? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org

Re: resize_ffs hangs on needbuf

2013-08-28 Thread Christos Zoulas
In article 20130828045548.ga5...@panix.com, Thor Lancelot Simon t...@panix.com wrote: On Wed, Aug 28, 2013 at 05:31:33AM +0200, Emmanuel Dreyfus wrote: Emmanuel Dreyfus m...@netbsd.org wrote: [resize_ffs on the vnd device from dom0 hangs] on needbuf] What is the way around this problem?

resize_ffs hangs on needbuf

2013-08-27 Thread Emmanuel Dreyfus
Hi I am trying to grow a FFS filesystem from 10 Go to 20 Go on NetBSDD 6.0 (i386 Xen dom0). After running fsck -fy and updating the disklabel, I run resize_ffs. The command hangs, waiting on needbuf, and all the machine gets unusable until I kill it from ddb. I understand this is no RAM