[clug] trouble unmounting /var on production system

Tony and Robyn Lewis beakysnugger at yahoo.co.uk
Sun May 14 04:01:58 GMT 2006


Duncan Roe wrote:

>Hi Tony,
>
>The remount syntax is
>   mount -oro,remount /var
>  
>

Sorry, my typo.  I meant "mount -o remount /var", which worked, but had 
no effect.  I was hoping it would "loosen" things enough for me to then 
be able to unmount.

The "remount as read-only, resize, reboot" idea that Martijn mentioned 
sounds like it could work.

My overnight musings lead me to the idea of simply commenting out the 
mount statement for /var, and rebooting, resizing, (checking), 
uncommenting the mount statement, and rebooting.

I'll have a play on a test box and see where that leads.

Thanks,

Tony



More information about the linux mailing list