From owner-freebsd-questions@FreeBSD.ORG Tue Sep 16 00:06: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 7E1BA16A4B3 for ; Tue, 16 Sep 2003 00:06:57 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36E1843F85 for ; Tue, 16 Sep 2003 00:06:55 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id DA059526C1; Tue, 16 Sep 2003 16:36:52 +0930 (CST) Date: Tue, 16 Sep 2003 16:36:52 +0930 From: Greg 'groggy' Lehey To: Ekrem Message-ID: <20030916070652.GD7654@wantadilla.lemis.com> References: <00a801c3750a$db00eea0$0601a8c0@celeron> <20030915183629.GE739@adelaide.lemis.com> <1063695976.597.47.camel@beynam.ecko.net.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8w3uRX/HFJGApMzv" Content-Disposition: inline In-Reply-To: <1063695976.597.47.camel@beynam.ecko.net.au> User-Agent: Mutt/1.4i 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 07:06:57 -0000 --8w3uRX/HFJGApMzv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tuesday, 16 September 2003 at 17:06:17 +1000, Ekrem wrote: > On Tue, 2003-09-16 at 04:36, Greg Lehey wrote: >> 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. > > I've never used vinum, but I remember seeing similar 'device busy' > error messages when I tried to umount a partition while the current > directory (cd) was still within that partition. > > Just a thought that maybe you're still cd'ed in your vinum partition > while trying to remove it and it's causing the error. It has nothing to do with the problem you describe. It's because he's not using the -f flag. 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 --8w3uRX/HFJGApMzv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE/ZraMIubykFB6QiMRArdLAJ9nIqX55dToc5bSQMIZR3gfLX5muwCfYhdR GEsnSH6QiTUERQUolTWhY+I= =xp/v -----END PGP SIGNATURE----- --8w3uRX/HFJGApMzv--