-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le 18.02.2008 01:28, Ed Greshko a écrit : | François Patte wrote: |> 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? |> | | They are....assuming you're not running an ancient FC. Last kernel in f8 seems to be: at least for one time, because I used it without unmout, due to some impossibilty for me to unmount the /var partition.... some mistake of mine. | And if you don't | like to use the command line, the GUI for resizing works just fine | online, all the time. You mean system-config-lvm? Works fine, yes, but will do absolutely nothing if the partition you want to resize cannot be unmounted. - -- 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 iD8DBQFHuSnrdE6C2dhV2JURAoPbAJ9DN6815C3CmIJVUquJIKG6uZQmwQCg1dC0 fTSCqsnQ0AXvgxIf44L+qL4= =wpkd -----END PGP SIGNATURE-----