Re: how to unmount /var

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 17, 2008 11:24 AM, François Patte
<francois.patte@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> -----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-----
>
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

Have you considered booting from a live/recovery CD/DVD and resize it
from there?  In that case it's definitely unmounted so addresses your
concerns of possible risks doing it live.

Jacques B.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux