Subject: Re: disklabeling a 5 TB partition!?
To: None <mk@kilbi.de>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: current-users
Date: 08/04/2006 18:03:57
mk@kilbi.de said:
> Both do not change the limited (1666108800) size/usage of raid0, the
> kernel still maintains its (wrong) idea of the (imited) disk size.

You've got 2 problems (at least:-):
1. The rf driver clips the disk size to a 32-bit value:
   hex(10256043392) = 2634ECD80
   dec(634ECD80) = 1666108800
   As I see it, on a 64-bit system it should be mostly harmless,
   just warnings, as long as you avoid the disklabel.
   (The "size_t" in sc_size is clearly a mistake, appearently copied
   from cgd/dksubr. But that would affect 32-bit systems only.)
2. newfs looks at the disklabel. If there isn't a physical one, it gets
   the default one with the values clipped as written above.
   You could try with the "-F" flag.

best regards
Matthias