Subject: Re: Large disks and NetBSD 4.0?
To: Jukka Marin <>
From: Jukka Marin <>
List: netbsd-users
Date: 10/28/2007 16:52:57
On Fri, Oct 26, 2007 at 02:14:11PM +0300, Jukka Marin wrote:
> I will try setting up a new server with a 3 TB (or so) RAID disk to be used
> for XEN virtual machines.  What is the best way of partitioning the disk -
> is it possible to disklabel disks this big in the normal way or should I be
> using wedges or something?  Do wedges work with XEN?

Well, I finally tried to create a large partition using disklabel and it did
not work.  It seems the partition offset and size are stored as 32-bit values.

/etc/disktab says:


disklabel -r ld1 says:

 h: 915671348  60870348     4.2BSD   2048 16384     0  # (Cyl.   3789*-60786*)
 i: 199043072 976541696     4.2BSD   4096 32768     0  # (Cyl.  60786*-73176*)

Partition i size should be 0x020bdd2800, but it is truncated to 0x000bdd2800.