how to unmount /var

Ed Greshko Ed.Greshko at greshko.com
Mon Feb 18 00:28:05 UTC 2008


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.  And if you don't 
like to use the command line, the GUI for resizing works just fine online, 
all the time.

-- 
No one can guarantee the actions of another.
		-- Spock, "Day of the Dove", stardate unknown




More information about the fedora-list mailing list