Growfs and extremely large drives

From: Alex Hoff <ahoff_at_sandvine.com>
Date: Thu, 10 Jun 2004 12:49:08 -0400
Hi, We are working on a RAID0 setup (Adaptec 2200s) with 2 x 140G hard
drives on freebsd 5.2 .If we add another 10 drives to the raid and
reconfigure the raid to utilize the entire disk space, growfs will not
complete when its run. 

Fdisk and bsdlabel seem to be able to manage this size of drive (Although
they wont work if we add a few more drives, numsectors will be > 2^32). The
problem is during the growfs utility, it tries to access an illegal inode.
The error can be traced back to this check in growfs.c
if (inumber < ROOTINO || inumber > maxino)
		errx(8, "bad inode number %d to ginode", inumber);
Apparently the inumber is 1, and ROOTINO is 2.
The code that calls this seem to start from 0 up to the number of cylinders,
and then within that loop it goes in a decreasing fashion through all the
inodes. I cant seem to figure out why we are getting this error. Which makes
things more confusing is that if we start with 2 drives and add another 2
drives, growfs will work perfectly. 

Has anybody had any experience using growfs to grow a file system to near
2TB? If so, how did you overcome this error?
If we try to mimic this problem by just growing a normal fs without using
the raid we always get an error such as this
"growfs: rdfs: read error: 1031614724: Input/output error"
Thats a pretty generic. Anyone have any input? thanks alot
Received on Thu Jun 10 2004 - 14:50:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:56 UTC