Question about disk partion with ext4 tool ?
Hello,everyone
I've downloaded e4fsprogs-1.41.12-2 for RHEL5 tool to manage my disk
I created a LV of size 15TB which is now in use
Then I need to enlarge it, so I used lvextend command to add 5TB to it.
When I use resize4fs to resize the partion, error appeared:
[root@localhost ~]# resize4fs /dev/VolGroup01/LogVol02
resize4fs 1.41.12 (17-May-2010)
resize4fs: File too large while trying to determine filesystem size
Now I find the LV size is 20TB, but available size is still 15TB:
--- Logical volume ---
LV Name /dev/VolGroup01/LogVol02
VG Name VolGroup01
LV UUID 4yOAKc-keY7-j9qn-Sap1-V4Td-sXMH-Zn7Kmd
LV Write Access read/write
LV Status available
# open 1
LV Size 19.99 TB
Current LE 5240420
Segments 10
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
/dev/mapper/VolGroup01-LogVol02
15T 14T 323G 98% /storage
I tryed e4fsck, it does not work. I dont know what to do now, can I enlarge my lv efficiently or do I have to roll back it? and how to do that without risking the data in the partion?
Is there anyone can help me?
thank you!
|