Subject: disklabeling a 5 TB partition!?
To: None <current-users@netbsd.org>
From: Markus W Kilbinger <mk@kilbi.de>
List: current-users
Date: 08/03/2006 18:56:32
Hi!

I've managed to create a 5 TB raid(4) (level 5) partition out of 8

  wd0 at atabus0 drive 0: <ST3750640AS>
  wd0: quirks 2<FORCE_LBA48>
  wd0: drive supports 16-sector PIO transfers, LBA48 addressing
  wd0: 698 GB, 1453521 cyl, 16 head, 63 sec, 512 bytes/sect x 1465149168 sectors
  wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
  wd0(pdcsata0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)

sata disks:

  raid0: RAID Level 5
  raid0: Components: /dev/wd0a /dev/wd2a /dev/wd5a /dev/wd7a /dev/wd1a /dev/wd3a /dev/wd6a /dev/wd8a
  raid0: Total Sectors: 10256043392 (5007833 MB)

Now: How to disklabel this raid0!?

disklabel(8) complains about

  raid0: WARNING: raid0: total sector size in disklabel (1666108800) != the size of raid (10256043392)

So, there seems to be a 2 TB limit with(in) disklabel(8).

Is there any chance to handle this huge raid0 'disk' with netbsd?

Markus.