From owner-freebsd-questions Wed May 19 16:57:14 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id BDDAC14EFC for ; Wed, 19 May 1999 16:57:07 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id JAA09783; Thu, 20 May 1999 09:27:06 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id JAA09367; Thu, 20 May 1999 09:27:05 +0930 (CST) Date: Thu, 20 May 1999 09:27:05 +0930 From: Greg Lehey To: Palle Girgensohn Cc: FreeBSD Questions Subject: Re: vinum reporting 99% free on half used drive! Message-ID: <19990520092705.N89091@freebie.lemis.com> References: <37432890.C7AEAC69@partitur.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <37432890.C7AEAC69@partitur.se>; from Palle Girgensohn on Wed, May 19, 1999 at 11:09:36PM +0200 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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