#36 resize2fs faisl to recognize new disk size



I do use e2fsprogs V1.41.11

I do have a highpoint RAID cotroller with a 5 disk RAID5 (each diesk 1TB). This disk used to be a 3 Disk, thus providing a 2GB data sopace in one single partiotion (no LVM),

Since the partition table was MBR I did convert it to GPT prior to the RAID expansion usign parted. Then I used th eonline expansion feature of the controller to increase the datsa size by 2TB to 4TB. After the expansion the system was rebooted and parted shows the new free space:

obelix:/proc # parted /dev/sdb
GNU Parted 2.2
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p free
Model: Unknown (unknown)
Disk /dev/sdb: 4000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
17.4kB 8258kB 8240kB Free Space
5 8258kB 2000GB 2000GB ext3 Linux/Windows data
2000GB 4000GB 2000GB Free Space

However ztrying to expand the ext3 partition results in the following message:

obelix:/proc # resize2fs /dev/sdb5
resize2fs 1.41.11 (14-Mar-2010)
The filesystem is already 488337837 blocks long. Nothing to do!

Debugging resize2fs showed that ioctl BLKGETSIZE64 did return this 2TB value instead of 4TB.

Tried to run e2fsck -f on the partition, as suggested by some threads I read about similar problems, did not help

Any clue on how to proceed would be welcome


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks