Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2002 19:40:01 -0700
From:      "Drew Tomlinson" <drew@mykitchentable.net>
To:        "Greg 'groggy' Lehey" <grog@FreeBSD.org>
Cc:        "FreeBSD Questions" <questions@freebsd.org>
Subject:   Re: Vinum Error - No space left on drive
Message-ID:  <002101c27bcf$d12980c0$0301a8c0@bigdaddy>
References:  <019201c27bba$4dec71f0$6e2a6ba5@TAGALONG> <20021025001507.GA53469@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: "Greg 'groggy' Lehey" <grog@FreeBSD.org>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002101c27bcf$d12980c0$0301a8c0>