Quote:
Originally Posted by hazoom
Hi all,
I have a 13TB ext3 filesystem (no partitions, just mounted with the whole drive /dev/sdb). I am trying to expand it. I added more drives to the Dell MD1000 and expanded it. And everything is ok up until I did a resize2fs. Here is what I did:
[root@sys ~]# pvresize /dev/sdb
[root@sys ~]# lvextend -l +417200 /dev/VolGroup01/LogVol00
Extending logical volume LogVol00 to 25.46 TB
Logical volume LogVol00 successfully resized
[root@sys ~]# resize2fs /dev/VolGroup01/LogVol00
resize2fs 1.39 (29-May-2006)
resize2fs: File too large while trying to determine filesystem size
And here is where the problem is. Any thoughts or advice? Thanks in advance!
|
Would help if we knew what version/distro of Linux you're using, and what the size was before you added to it.
First, some earlier versions of RHEL5 had a bug related to this:
http://rhn.redhat.com/errata/RHBA-2009-1291.html
so if you're using RHEL5.x, and aren't paying for a subscription to the RedHat network, you wouldn't have gotten the patch/bugfix, so you're stuck. Also, what block size are you using? Maximum size for ext3 based on 4k blocks is 16TB...2k blocks is 8TB, and you'll also need size for the journal and other goodies. Usually ext4 or JFS are better choices for partitions of that size, not only for reasons such as this, but also for performance.