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 read-only root.


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 appeat to work like a charm from within the domU. I did it in
 single user with read-only root and just swap activated, and rebooted
 immediatly upon completion. 
 
 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!

And make sure it does not have WAPBL on it.

christos