Subject: Re: disklabeling a 5 TB partition!?
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: current-users
Date: 08/04/2006 14:53:06
In article <17619.17359.397209.791712@cochise.kilbi.de>,
Markus W Kilbinger  <mk@kilbi.de> wrote:
>>>>>> "Geert" == Geert Hendrickx <ghen@NetBSD.org> writes:
>
>    >> 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)?
>
>    Geert> Try "newfs -O2" to create an FFSv2 filesystem. FFSv2
>    Geert> supports filesystems bigger than 1TB whereas FFSv1 does
>    Geert> not.
>
>Hmm, I (already) did:
>
>  # newfs -I -O2 raid0d
>  /dev/rraid0d: 813529.7MB (1666108800 sectors) block size 16384,
>  fragment size 2048 using 4399 cylinder groups of 184.94MB, 11836 blks,
>  22976 inodes.
>  super-block backups (for fsck_ffs -b #) at:
>  160, 378912, 757664, 1136416, 1515168, 1893920, 2272672, 2651424,
>  3030176,
>  ......................
>
>... which seems to work but only takes the wrong / limited raid0
>partition size.
>
>Setting the real raid0 disk size via newfs:
>
>  # newfs -I -O2 -s10256043392 raid0d
>  newfs: size 10256043392 exceeds maximum file system size on
>  `/dev/rraid0d' of 1666108800 sectors
>
>... fails as already mentioned.
>
>What do I do wrong!?

Try trashing your disklabel with dd if=/dev/zero of=/dev/rraid0d count=1

christos