Date: Fri, 25 Oct 2002 09:45:07 +0930 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: Drew Tomlinson <drew@mykitchentable.net> Cc: FreeBSD Questions <questions@freebsd.org> Subject: Re: Vinum Error - No space left on drive Message-ID: <20021025001507.GA53469@wantadilla.lemis.com> In-Reply-To: <019201c27bba$4dec71f0$6e2a6ba5@TAGALONG> References: <019201c27bba$4dec71f0$6e2a6ba5@TAGALONG>
next in thread | previous in thread | raw e-mail | index | archive | help
[Format recovered--see http://www.lemis.com/email/email-format.html] Please don't wrap computer output. On Thursday, 24 October 2002 at 17:06:01 -0700, Drew Tomlinson wrote: > I'm sure the answer to my question is on the Net somewhere but after a > day and a half of searching, I've decided to plea for help. :) > > The error I get when I attempt to create the volume is: > > vinum -> create ftp_vinum.conf > 4: sd length 76319m drive ftp1 > ** 4 No space for on ftp1: No space left on device > > The disk, volume, and plex are created but the subdisk is not: Yes, that's what the message above is trying to tell you. > I have an 80G IDE drive (ad1) that I wish to use for a vinum volume. > I have read the example at http://www.freebsddiary.org/vinum.php. > It tells me that the first step is to determine the size of my drive > by using fdisk. Well, no, the first thing it tells you is that this is necessary because the two disks he was using were of different size. It's incorrect, anyway: disklabel tells you the size of your slices. > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 156301488 0 unused 0 0 # (Cyl. 0 - 9729*) > h: 156301488 0 vinum # (Cyl. 0 - 9729*) > > Then I created my configuration file: > > blacklamb# cat ftp_vinum.conf > drive ftp1 device /dev/ad1s1h > volume ftp > plex org concat > sd length 76319m drive ftp1 Well, presumably you first tried to convert sectors to megabytes, which was a bit of a waste of time, since you can specify the size in sectors in the process. You made an error in this conversion: 156301223 sectors are 74.530231 MB. If you specify the size in megabytes, you lose the fractional part. As the man page explains, however, all this is unnecessary. Just write sd length 0m drive ftp1 and Vinum will allocate as much as it can for you. 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021025001507.GA53469>