From owner-freebsd-questions Thu Oct 24 19:40: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1468737B401; Thu, 24 Oct 2002 19:40:03 -0700 (PDT) Received: from blacklamb.mykitchentable.net (ekgr-dsl4-t113.citlink.net [207.173.249.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 719D243E65; Thu, 24 Oct 2002 19:40:02 -0700 (PDT) (envelope-from drew@mykitchentable.net) Received: from bigdaddy (bigdaddy [192.168.1.3]) by blacklamb.mykitchentable.net (Postfix) with SMTP id A9F2DEE59E; Thu, 24 Oct 2002 19:40:01 -0700 (PDT) Message-ID: <002101c27bcf$d12980c0$0301a8c0@bigdaddy> From: "Drew Tomlinson" To: "Greg 'groggy' Lehey" Cc: "FreeBSD Questions" References: <019201c27bba$4dec71f0$6e2a6ba5@TAGALONG> <20021025001507.GA53469@wantadilla.lemis.com> Subject: Re: Vinum Error - No space left on drive Date: Thu, 24 Oct 2002 19:40:01 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Greg 'groggy' Lehey" Sent: Thursday, October 24, 2002 5:15 PM > [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 Thank you very much! I knew it couldn't be to hard and that's why I looked and looked before bugging the list. And there it was, right in front of my face the whole time. :) Thanks again, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message