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.
- Automatically resize a filesystem:
- Resize the filesystem to a size of 40G, displaying a progress bar:
- Shrink the filesystem to its minimum possible size:
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).