From owner-freebsd-questions@FreeBSD.ORG Wed Jun 18 09:05:49 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C86D37B401; Wed, 18 Jun 2003 09:05:49 -0700 (PDT) Received: from mail.seekingfire.com (coyote.seekingfire.com [24.72.10.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CEAC43FBF; Wed, 18 Jun 2003 09:05:48 -0700 (PDT) (envelope-from tillman@seekingfire.com) Received: from blues.seekingfire.prv (blues.seekingfire.prv [192.168.23.211]) by mail.seekingfire.com (Postfix) with ESMTP id ECBA5513; Wed, 18 Jun 2003 10:05:46 -0600 (CST) Received: (from tillman@localhost) by blues.seekingfire.prv (8.11.6/8.11.6) id h5IG7uR04489; Wed, 18 Jun 2003 10:07:56 -0600 Date: Wed, 18 Jun 2003 10:07:56 -0600 From: Tillman To: "Greg 'groggy' Lehey" Message-ID: <20030618100756.T32280@seekingfire.com> References: <20030506114314.F1517@seekingfire.com> <20030507030605.GI52037@wantadilla.lemis.com> <20030506213421.C19124@seekingfire.com> <20030507033755.GB73844@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030507033755.GB73844@wantadilla.lemis.com>; from grog@FreeBSD.org on Wed, May 07, 2003 at 01:07:55PM +0930 X-Urban-Legend: There is lots of hidden information in headers cc: FreeBSD-Questions Subject: Re: Vinum: after kernel panic, incorrect avail shown on drives (long) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2003 16:05:50 -0000 On Wed, May 07, 2003 at 01:07:55PM +0930, Greg 'groggy' Lehey wrote: > On Tuesday, 6 May 2003 at 21:34:21 -0600, Tillman wrote: > > On Wed, May 07, 2003 at 12:36:05PM +0930, Greg 'groggy' Lehey wrote: > >> On Tuesday, 6 May 2003 at 11:43:14 -0600, Tillman wrote: > >>> Quick problem summary > >>> ===================== > >>> > >>> `vinum ld` reports 5120M of available free space on a drive that is > >>> actually full. > > > >>> Version info > >>> ============ > >>> > >>> I'm running FreeBSD 4.8-STABLE (Tue Apr 29 10:26:03 CST 2003), with no > >>> changes to kernel or vinum sources. > >> > >> Yes, I've found and fixed a bug in this area. I'll MFC it to the > >> 4-STABLE branch in a few days. > > > > Will the new code transparently correct the avail space reported (and > > whatever issues are behind that) or will I need to backup -> recreate -> > > restore? > > The problem is simply in the in-core calculations of space on the > drive. It doesn't affect anything on disk, so stopping and restarting > Vinum will fix it. The only potential danger is if you create new > subdisks on a drive. It's possible that they might overlap existing > ones, but I'm not even sure of that. You can see the drive free list > with 'vinum ld -v'. If that's correct, it's not a problem. > > Greg It took over a month, but I finally found an excuse to reboot that box (caught up on -STABLE), and `vinum ld` does indeed report the correct free space again. A belated thanks, - Tillman -- Page 38: Be sure that, in the excitement of creating a totally rad password, you resist the temptation to tell someone just to show off how smart you are. - Harley Hahn, _The Unix Companion_