how to unmount /var

Stuart Sears stuart at sjsears.com
Sun Feb 17 13:07:26 UTC 2008


François Patte wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Bonjour,
> 
> I have done some mistakes while partitioning my HD and /var is too small.
> 
> Fortunately, I use lvm... unfortunately I have to unmount /var before
> resizing and so many apps use /var....

why do you have to unmount it? If you are using LVM and ext2/3 you
should be able to do this online.

lvextend -L +<SIZE> /dev/volgroupname/var_volume

resize2fs /dev/volgroupname/var_volume



Regards,

Stuart Sears
--
Stuart Sears RHC*





More information about the fedora-list mailing list