From owner-freebsd-questions Wed May 19 17: 2:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mailb.telia.com (mailb.telia.com [194.22.194.6]) by hub.freebsd.org (Postfix) with ESMTP id DD28414EFC for ; Wed, 19 May 1999 17:02:11 -0700 (PDT) (envelope-from girgen@partitur.se) Received: from d1o62.telia.com (root@d1o62.telia.com [195.198.198.241]) by mailb.telia.com (8.8.8/8.8.8) with ESMTP id CAA11986 for ; Thu, 20 May 1999 02:02:10 +0200 (CEST) Received: from stordatan.telia.com (t5o62p8.telia.com [195.198.199.8]) by d1o62.telia.com (8.8.5/8.8.5) with ESMTP id CAA11648 for ; Thu, 20 May 1999 02:02:03 +0200 (CEST) Received: from partitur.se (localhost [127.0.0.1]) by stordatan.telia.com (8.9.3/8.9.1) with ESMTP id CAA00609 for ; Thu, 20 May 1999 02:01:30 +0200 (CEST) (envelope-from girgen@partitur.se) Message-ID: <374350DA.451963CB@partitur.se> Date: Thu, 20 May 1999 02:01:30 +0200 From: Palle Girgensohn Organization: Partitur X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.2-BETA i386) X-Accept-Language: sv, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: vinum reporting 99% free on half used drive! References: <37432890.C7AEAC69@partitur.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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