Subject: Large partitions with NetBSD-1.0/i386
To: None <netbsd-users@NetBSD.ORG>
From: Brian Moore <ziff@eecs.umich.edu>
List: netbsd-users
Date: 02/18/1995 01:33:12
A little while ago, I was asking about the support for large partitions ( >2GB
) with NetBSD 1.0. From the answers I got, it seemed that NetBSD should be
able to support partitions well over 2GB, to around 2TB. I went ahead and
tried to partition a 9GB drive to have just one huge partition. The disklabel
and newfs worked fine with the 9GB partition, but when I tried to do a fsck on
the partition, it would complain about huge number of 'Invalid Inode's, and
finally ends with complains about a bad magic number. The same errors occurred
after I played around with the partition size slightly, deleted a couple of
cylinders from the end or start.
I finally went and iteratively disklabel'd and newfs'd partitions of 1GB, 2GB,
4GB, 8GB and 9GB. What I found was that the fsck would work fine until I
created a partition over 8GB. That gives 2^24 sectors, which is a DOS limit.
I checked my BusLogic 946C PCI SCSI controller, and I have translational
geometry turned off, so I shouldn't be effected by that limit. I called
BusLogic on the off chance that they used a 24 bit register for the sector
number, but they said that they can support the full 2TB partition size. Has
anybody else tried this and got a partition of greater than 8GB? I'm assuming
that I either have something misconfigured, or this is something that is fixed
in NetBSD-current.
Anybody have any ideas?
Thanks for any help,
Brian Moore
ziff@eecs.umich.edu