You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
258 B
Plaintext
12 lines
258 B
Plaintext
7 years ago
|
# resize2fs
|
||
|
|
||
|
# ext2/ext3/ext4 file system resizer
|
||
|
|
||
|
# resize filesystem up to the block device size
|
||
|
# make e2fsck /dev/xvdb1 before
|
||
|
# filesystem must be not mounted for ext2
|
||
|
resize2fs /dev/xvdb1
|
||
|
|
||
|
# shrink filesystem (20G is new size)
|
||
|
resize2fs /dev/xvdb1 20G
|