[Bug 1052529] Re: resize2fs does not expand filesystem; no error messages are displayed
no!chance
ralf.fehlau at gmx.net
Wed Sep 19 06:17:57 UTC 2012
$ sudo lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
archive system -wi-ao 50,00g
cvs system -wi-ao 5,00g
home system -wi-ao 478,47g
music system -wi-ao 210,00g
mysql system -wi-ao 5,00g
pics system -wi-ao 10,00g
$ sudo vgs
VG #PV #LV #SN Attr VSize VFree
system 1 7 0 wz--n- 903,47g 80,00g
$ sudo df -h -iDateisystem Inodes IBenutzt IFrei IUse% Eingehängt auf
/dev/md1 1,2M 406K 788K 35% /
udev 452K 661 451K 1% /dev
tmpfs 463K 51 463K 1% /tmp
tmpfs 463K 699 463K 1% /run
none 463K 5 463K 1% /run/lock
none 463K 9 463K 1% /run/shm
/dev/md0 24K 232 24K 1% /boot
/dev/mapper/system-home 30M 78K 30M 1% /home
/dev/mapper/system-archive 3,2M 12K 3,2M 1% /data/nfs/archive
/dev/mapper/system-cvs 320K 486 320K 1% /var/lib/cvsd
/dev/mapper/system-mysql 320K 1,1K 319K 1% /var/lib/mysql
/dev/mapper/system-music 14M 20K 14M 1% /data/nfs/music
/dev/mapper/system-pics 640K 13K 628K 2% /data/nfs/picture
$ sudo df -h
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
/dev/md1 19G 11G 7,4G 59% /
udev 1,8G 4,0K 1,8G 1% /dev
tmpfs 1,9G 1,6M 1,9G 1% /tmp
tmpfs 741M 1,2M 740M 1% /run
none 5,0M 0 5,0M 0% /run/lock
none 1,9G 220K 1,9G 1% /run/shm
/dev/md0 92M 40M 52M 43% /boot
/dev/mapper/system-home 475G 460G 16G 97% /home
/dev/mapper/system-archive 50G 41G 8,2G 84% /data/nfs/archive
/dev/mapper/system-cvs 5,0G 154M 4,8G 4% /var/lib/cvsd
/dev/mapper/system-mysql 5,0G 184M 4,8G 4% /var/lib/mysql
/dev/mapper/system-music 209G 164G 45G 79% /data/nfs/music
/dev/mapper/system-pics 10G 7,2G 2,7G 73% /data/nfs/picture
After a reboot or a umount / mount, the additional 50G are available. In
Ubuntu 10.04, there was no problem with online resize. The filesystem
tpe is ext3. After a reboot you can see, that I could copy data on
/dev/mapper/system-music.
Thank you for your help!
Regards,
Ralf
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to e2fsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/1052529
Title:
resize2fs does not expand filesystem; no error messages are displayed
Status in “e2fsprogs” package in Ubuntu:
New
Bug description:
Assuming /dev/mapper/system-backup has 50GB of space ...
1. Expand an LVM volume with lvextend:
lvextend -L +50G /dev/mapper/system-backup
2. Resize the filesystem:
resize2fs /dev/mapper/system-backup
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1052529/+subscriptions
More information about the foundations-bugs
mailing list