how to unmount /var

François Patte francois.patte at math-info.univ-paris5.fr
Sun Feb 17 16:24:56 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 17.02.2008 14:07, Stuart Sears a écrit :
| 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

thanks for this info
.
|
| resize2fs /dev/volgroupname/var_volume

It seems that it is dangerous to use this:

<lvm-howto>
Unless you have patched your kernel with the ext2online patch it is
necessary to unmount the file system before resizing it. (It seems that
the online resizing patch is rather dangerous, so use at your own risk)
</lvm-howto>

How can I be sure that fedora kernels are patched like this?

- --
François Patte
UFR de mathématiques et informatique
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 44 55 35 61
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHuF/YdE6C2dhV2JURAo5zAJ9rT2mE38V0ykFExAxy6X3B6txoBQCcD+C6
igysyh+UmiBN+2Mhql2FeGY=
=Ax8m
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list