Re: resize an lv

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

 



18.03.20, 11:34 CET, François Patte:

> I need to extend my /home directory which is a logical volume.
> I read that I can use lvextend without unmounting the /home partition.
> But what about resize2fs that I must use after lvextend?

Yes, you can expand the size of a mounted ext-FS with resize2fs. [1]

Shrinking the does only work on an unmounted FS, though. But that's not
what you're going to do.

[1] (from man resize2fs)
>        The  resize2fs  program  will resize ext2, ext3, or ext4 file systems.  It can be used to enlarge or shrink an unmounted file system
>        located on device.  If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming  the  kernel
>        and the file system supports on-line resizing.  (Modern Linux 2.6 kernels will support on-line resize for file systems mounted using
>        ext3 and ext4; ext3 file systems will require the use of file systems with the resize_inode feature enabled.)

-- 
Regards
  mks
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux