vinum limits disk size to 255MB

Greg 'groggy' Lehey grog at FreeBSD.org
Sun Dec 5 16:06:44 PST 2004


On Monday,  6 December 2004 at  0:28:01 +0100, Markus Hoenicka wrote:
> Hi all,
>
> I'm trying to set up vinum on a freshly installed FreeBSD 5.3-BETA7
> box. The system is installed on da0. I want to use three 18G SCSI
> drives to create a vinum volume.
>
> For some reason vinum believes the disks hold a mere 255MB. This is
> what vinum sets the subdisk length if I specify "0m" as the length
> (meaning "use all available space" according to the manual). If I
> specify any larger size manually, vinum complains that there is "No
> space left on device" which strikes me odd. I *believe* that the fdisk
> and bsdlabel outputs reprinted below show that the disks are indeed
> 18G. According to my math, the appropriate size to specify in the
> vinum configuration would be 35566215s, that is the number of sectors
> of the smaller disks minus 265.
>
> I see only one minor problem: The disks are not identical, with
> da1 having a slightly larger capacity than da2 and da3.
>
> Can anyone throw me a ring here?

You don't say whether you're using vinum or gvinum.  I've never seen
this problem before, but if you're getting incorrect subdisk sizes,
try specifying them explicitly:

 sd length 35840952s drive ibma 

I wonder whether the problem is related to specifying the size as 0m
instead of 0.  It shouldn't be.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041206/f659110a/attachment.bin


More information about the freebsd-questions mailing list