Hi all
IM very curious about one thing
Im currently playing with a test server SLES x64 SP2, and I got to a serious issue which is really sorry for the word pissing me off.
I created an pv, then vg and finaly some lv's which is fine.
I mounted then and everything worked fine till....
my vg have some free unallocated space so I wanted to try out the offline resizing for ext3 lv.
kernel 2.6.10
e2fsprogs 1.38
used
1. umount /tmp
2. lvexted -L50G /dev/vg00/lvol01
3. e2fsck -f /dev/vg00/lvol01
4. resize2fs /dev/vg00/lvol01
5. mount /dev/vg00/lvol01 /tmp
The actuall problem is that by using df -h /tmp the size of the lv has increased, still the free space wasnt showed correctly as an example
Before
Size Used Aval.
5 GB 4.5 GB 0.5 GB
After resize
55GB 54.5 GB 0.5 GB
TO fix this issue I had simply to reboot the server which isnt very handy
Just for an example I tried the same on my Workstation with Fedora12 BETA!!!
just wow online resizing
lvextend, resize2fs and thats all
I read some articles that from e2fsprogs version 1.39 you are able to resize ext3 online still It cannot be true that I need to reboot the whole linux enteprise class server so the changes can take place.
I also tried the tip with removing the Journaling option still the issue remains the same tune2fs -O ^has_journal and tune2fs -O has_journal
I would be very thankfull for any tips or recommendation
Have a nice day