resize2fs
Resize an ext2, ext3, or ext4 filesystem. Does not resize the underlying partition. The filesystem may have to be unmounted first, read the man page for more details. More information: https://manned.org/resize2fs.
- Automatically resize a filesystem to its maximum possible size:
resize2fs
- Resize the filesystem to a size of 40G, displaying a progress bar:
resize2fs -p
- Shrink the filesystem to its minimum possible size:
resize2fs -M
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
