Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 1999 02:01:30 +0200
From:      Palle Girgensohn <girgen@partitur.se>
To:        freebsd-questions@freebsd.org
Subject:   Re: vinum reporting 99% free on half used drive!
Message-ID:  <374350DA.451963CB@partitur.se>
References:  <37432890.C7AEAC69@partitur.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello again!

Well, ...maybe I jumped the trigger this time :-)  I just realized that
there is an offset at the subdisk level, so I shouldn't be alarmed, I
guess? Still, the report of 0 MB used must be a bug, right? 

I added the second disk, and now all figures look great. So, there seems
to be a bug when reporting used disk size with only one drive and vinum.
Not a very common combination, but still :)

BTW, forgot to mention uname: FreeBSD-STABLE 3.2beta from May 16th, so
it's fresh.

And hey! Vinum is great stuff! Thanks, Greg!

/Palle

Palle Girgensohn wrote:
> 
> Hi!
> 
> This is odd, or am I just misinterpreting?
> 
> 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
> 
> Volume usr:     Size: 230686720 bytes (220 MB)
>                 State: up
>                 Flags:
>                 1 plexes
>                 Read policy: round robin
>                 Plex  0:        usr.p0  (concat),        220 MB
> Volume local:   Size: 4294967296 bytes (4096 MB)
>                 State: up
>                 Flags:
>                 1 plexes
>                 Read policy: round robin
>                 Plex  0:        local.p0        (concat),       4096 MB
> 
> Plex usr.p0:    Size:   230686720 bytes (220 MB)
>                 Subdisks:        1
>                 State: up
>                 Organization: concat
>                 Part of volume usr
> 
>                 Subdisk 0:      usr.p0.s0
>                   state: up     size   230686720 (220 MB)
>                         offset         0 (0x0)
> Plex local.p0:  Size:   4294967296 bytes (4096 MB)
>                 Subdisks:        1
>                 State: up
>                 Organization: concat
>                 Part of volume local
> 
>                 Subdisk 0:      local.p0.s0
>                   state: up     size  4294967296 (4096 MB)
>                         offset         0 (0x0)
> 
> 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?
> 
> 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
> 
> > 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? vinum reports da5e... I have edited the
> disklabel (using -e).
> 
> Thanks!
> Palle
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


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?374350DA.451963CB>