resize2fs does not expand filesystem; no error messages are displayed
Bug #1052529 reported by
no!chance
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
e2fsprogs (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Assuming /dev/mapper/
1. Expand an LVM volume with lvextend:
lvextend -L +50G /dev/mapper/
2. Resize the filesystem:
resize2fs /dev/mapper/
All seems OK, no warning or error message will be displayed. No errors in syslog, too.
BUT the filesystem is only 50G big, the additional 50G will not be available.
df -h will tell you, that there is 50GB of free space, but if you try to use this space, you will see the error: "filesystem full".
This bug exists at least since Ubuntu 10.10! Ubuntu 12.04.1 is also affected!
To post a comment you must log in.
Can you please post output from these commands:
$ sudo lvs
$ sudo vgs
$ sudo df -h -i
$ sudo df -h