Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2003 16:36:52 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Ekrem <ekrem@ozemail.com.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to remove a vinum volume?
Message-ID:  <20030916070652.GD7654@wantadilla.lemis.com>
In-Reply-To: <1063695976.597.47.camel@beynam.ecko.net.au>
References:  <00a801c3750a$db00eea0$0601a8c0@celeron> <20030915183629.GE739@adelaide.lemis.com> <1063695976.597.47.camel@beynam.ecko.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030916070652.GD7654>