Re: Growfs and extremely large drives

From: Lukas Ertl <le_at_FreeBSD.org>
Date: Thu, 10 Jun 2004 19:01:12 +0200 (CEST)
On Thu, 10 Jun 2004, Alex Hoff wrote:

> 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.

growfs needs a serious rewrite.  Unfortunately, I didn't have the time to 
really look at it.

> 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);

I know this error very well.  I can trigger it even on smaller drives when 
growing the FS so much that the cylinder summary needs to be relocated 
because it won't fit into one block anymore.  Surprisingly, I can then run 
an fsck and growfs again and it works.

cheers,
le

-- 
Lukas Ertl                         http://homepage.univie.ac.at/l.ertl/
le_at_FreeBSD.org                     http://people.freebsd.org/~le/
Received on Thu Jun 10 2004 - 15:01:34 UTC

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