Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 1999 09:27:05 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Palle Girgensohn <girgen@partitur.se>
Cc:        FreeBSD Questions <questions@FreeBSD.org>
Subject:   Re: vinum reporting 99% free on half used drive!
Message-ID:  <19990520092705.N89091@freebie.lemis.com>
In-Reply-To: <37432890.C7AEAC69@partitur.se>; from Palle Girgensohn on Wed, May 19, 1999 at 11:09:36PM %2B0200
References:  <37432890.C7AEAC69@partitur.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, 19 May 1999 at 23:09:36 +0200, Palle Girgensohn wrote:
> Hi!
>
> This is odd, or am I just misinterpreting?

It's odd.

> vinum list -V
>
> Configuration summary
>
> Drives:         1 (4 configured)
> Volumes:        2 (4 configured)
> Plexes:         2 (8 configured)
> Subdisks:       2 (16 configured)
>
> Drive disk5:    Device /dev/da5e
>                 Created on trumpet.partitur.se at Mon May 17 04:27:23 1999
>                 Config last updated Mon May 17 05:29:25 1999
>                 Size:       9101858304 bytes (8680 MB)
>                 Used:           135680 bytes (0 MB)      <--------------
> ugh!
>                 Available:  9101722624 bytes (8680 MB)
>                 State: up
>                 Last error: none
>                 Free list contains 1 entries:
>                    Offset            Size
>                       265        17776802
>
> Subdisk usr.p0.s0:
>                 Size:        230686720 bytes (220 MB)
>                 State: up
>                 Plex usr.p0 at offset 0 (0  B)
>                 Drive disk5 (/dev/da5e) at offset 135680 (132 kB)
>
> Subdisk local.p0.s0:
>                 Size:       4294967296 bytes (4096 MB)
>                 State: up
>                 Plex local.p0 at offset 0 (0  B)
>                 Drive disk5 (/dev/da5e) at offset 230822400 (220 MB)

> and df -k reports:
> ...
> /dev/vinum/usr      218319    97719   103135    49%    /usr
> /dev/vinum/local   4065262  2002093  1737949    54%    /usr/local
>
> All offsets are zero! What'll happen when I add another volume?

You may very well overwrite the data you have.  Don't.

> Here are the file to set up vinum:
>
> vinum.rc:
> drive disk5 device /dev/da5s1
> volume usr
>   plex org concat
>     sd length 220m drive disk5
>
> volume local
> plex org concat
> sd length 4g drive disk5

Looks fine.

>> vinum create vinum.rc
>
> I intend to add a second disk now, hence only one drive at the moment...
>
> Has it anything to do with the slice (da5s1) being used, and not the
> "compatibility" partition?

It shouldn't do, but you shouldn't be doing that.  You might not be
able to start vinum again.

> vinum reports da5e... I have edited the disklabel (using -e).

OK, looks like you did start it.

What version are you using?  What happens after you stop and start
Vinum?

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


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?19990520092705.N89091>