Subject: Re: disklabeling a 5 TB partition!?
To: None <current-users@NetBSD.org>
From: Markus W Kilbinger <mk@kilbi.de>
List: current-users
Date: 08/04/2006 13:22:51
>>>>> "Manuel" == Manuel Bouyer <bouyer@antioche.eu.org> writes:

    >> I've managed to create a 5 TB raid(4) (level 5) partition out
    >> of 8 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)
    >>
    >> raid0: WARNING: raid0: total sector size in disklabel
    >> (1666108800) != the size of raid (10256043392)

    Manuel> You can't disklabel it. However I've been able to use a
    Manuel> >2T partition by newfs'ing the raw disk device
    Manuel> (/dev/raid0d).

Hmm, any variant of newfs I tried to create a ffs on /dev/rraid0d
failed complaining about exceeding the above mentioned maxinum
disklabel size (1666108800). Ayn way to circumvent this (kernels
internal opinion about the maximun disk size)?

    Manuel> wedge(4) is supposed to handle that but I don't know how
    Manuel> to use it.

'man wedge' does not seem to exist on -current systems, nor does 'man
dk'. Searching the inet does not reveal real further information about
using wedges with netbsd for me. Does anybody know how to use wedges
in a netbsd system?

BTW:

  # dkctl /dev/rraid0d listwedges
  dkctl: /dev/rraid0d: listwedges: Inappropriate ioctl for device

... looks not very promising for using it directly on raid(4)
partitions/devices.

Markus.