resize2fs – Extend the file system

Reference:

https://www.systutorials.com/5621/extending-a-mounted-ext4-file-system-on-lvm-in-linux/

https://www.systutorials.com/docs/linux/man/8-resize2fs/

 

resize2fs – ext2/ext3/ext4 file system resizer

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

 

resize2fs /dev/vg/lv_home
resize2fs 1.42.9 (4-Feb-2014)
Filesystem at /dev/vg/lv_home is mounted on /home; on-line resizing required
old_desc_blocks = 18, new_desc_blocks = 77
The filesystem on /dev/vg/lv_home is now 319283200 blocks long.

 

對「resize2fs – Extend the file system」的一則回應

Add yours

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com 標誌

您的留言將使用 WordPress.com 帳號。 登出 /  變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 /  變更 )

Facebook照片

您的留言將使用 Facebook 帳號。 登出 /  變更 )

連結到 %s

在 WordPress.com 建立免費網站或網誌.

向上 ↑

%d 位部落客按了讚: