Subject: Re: Huge (> 1TB) disk
To: Luke Mewburn <lukem@wasabisystems.com>
From: None <yutaka@mailhost.net>
List: netbsd-users
Date: 05/14/2002 13:31:38
Thank you for your mail, Luke.

Your explanation was very clear for me.
As I would like to have a *BSD box with huge /var, I would have to do
as follows...

1. Split the disk into two partitions. Partition 0 will be 120GB or
   more and Partition 1 will be 1024GB or less.

2. Install NetBSD into partition 0.

3. Boot the box and do disklabel... OUCH!! NetBSD doesn't have the
   name likek da0s1b like FreeBSD...

Again.

1. During the installation, do the fdisk and obtain NetBSD area with
   the size of 1024GB or less. (Partition 3 usually)
2. Install everything into partition 3
3. Forget about the rest of the disk.

Is this the way to do with NetBSD ???

Does any of you know other open source unix OS which I could use whole
disk ??


At Tue, 14 May 2002 09:28:09 +1000,
Luke Mewburn wrote:
> 
> On Tue, May 14, 2002 at 05:59:49AM +0900, yutaka@mailhost.net wrote:
>   | 
>   | Hi all,
>   | 
>   | I am trying to install NetBSD-1.5.2 to an i386 box.
>   | It has a huge 1144GB SCSI disk. Actually it is an external RAID.
>   | 
>   | I read http://www.netbsd.org/Misc/features.html#large-filesystems and
>   | learned it should be possible, if I specify the 'fragment size' to be
>   | 1024byte.
> 
> Actually, I don't think that this will help, at least for ffs file systems. 
> You need to crank the sector size to 1024 bytes from 512 bytes to have an
> ffs file system larger than 1 TB (1024 GB), because ffs has a signed 32 bit
> quantity for disk block addresses, and 2^(31+9) == 1 TB.
> 
> You'll need to partition that disk, because currently, there's no
> support to have a sector size != 512 bytes :-|
> 
> Luke.

-- 
Yutaka KAWASE <yutaka@mailhost.net>