From owner-freebsd-questions@FreeBSD.ORG Mon Sep 15 21:45:57 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 2FAAD16A4B3 for ; Mon, 15 Sep 2003 21:45:57 -0700 (PDT) Received: from adelaide.lemis.com (dialup-22.lemis.com [192.109.197.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 194C943FDD for ; Mon, 15 Sep 2003 21:45:52 -0700 (PDT) (envelope-from grog@adelaide.lemis.com) Received: by adelaide.lemis.com (Postfix, from userid 1004) id 6105E18327; Tue, 16 Sep 2003 04:36:29 +1000 (EST) Date: Tue, 16 Sep 2003 04:36:29 +1000 From: Greg Lehey To: Samuel Chow Message-ID: <20030915183629.GE739@adelaide.lemis.com> References: <00a801c3750a$db00eea0$0601a8c0@celeron> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00a801c3750a$db00eea0$0601a8c0@celeron> User-Agent: Mutt/1.4.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: freebsd-questions@freebsd.org Subject: Re: How to remove a vinum volume? 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: Tue, 16 Sep 2003 04:45:57 -0000 On Sunday, 7 September 2003 at 0:39:57 -0600, Samuel Chow wrote: > Hi there, > > I have the following vinum volume that I want to remove. > The disks will be reassigned to other machines. > > After reading the man page, I am under the impression that > I am supposed to first use the stop command. > > ... > > Umm... The stop command doesn't seem to work recursively, even > when the -r flag is specified. > > vinum -> rm -r dataVol > Can't remove dataVol: Device busy (16) The way to do it is with rm -rf. Arguably this is a bug. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers