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@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org