From owner-freebsd-questions@FreeBSD.ORG Sat Sep 6 23:40:08 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 0686216A4BF for ; Sat, 6 Sep 2003 23:40:08 -0700 (PDT) Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3F1B43FE0 for ; Sat, 6 Sep 2003 23:40:06 -0700 (PDT) (envelope-from cyschow@shaw.ca) Received: from pd6mr4so.prod.shaw.ca (pd6mr4so-qfe3.prod.shaw.ca [10.0.141.219]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HKT00HLHZUUPW@l-daemon> for freebsd-questions@freebsd.org; Sun, 07 Sep 2003 00:40:06 -0600 (MDT) Received: from pn2ml6so.prod.shaw.ca (pn2ml6so-qfe0.prod.shaw.ca [10.0.121.150]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HKT00HK1ZUU3T@l-daemon> for freebsd-questions@freebsd.org; Sun, 07 Sep 2003 00:40:06 -0600 (MDT) Received: from mail.peyto.ca (h68-147-174-254.cg.shawcable.net [68.147.174.254]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) freebsd-questions@freebsd.org; Sun, 07 Sep 2003 00:40:06 -0600 (MDT) Received: (qmail 26909 invoked from network); Sun, 07 Sep 2003 06:40:05 +0000 Received: from celeron.peyto.ca (HELO celeron) (192.168.1.6) by homeserver.peyto.ca with SMTP; Sun, 07 Sep 2003 06:40:05 +0000 Date: Sun, 07 Sep 2003 00:39:57 -0600 From: Samuel Chow To: freebsd-questions@freebsd.org Message-id: <00a801c3750a$db00eea0$0601a8c0@celeron> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 X-Mailer: Microsoft Outlook Express 5.50.4927.1200 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal Subject: 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: Sun, 07 Sep 2003 06:40:08 -0000 Hi there, I have the following vinum volume that I want to remove. The disks will be reassigned to other machines. vinum -> l -r dataVol V dataVol State: up Plexes: 1 Size: 65 GB P dataVol.p0 C State: up Subdisks: 2 Size: 65 GB S dataVol.p0.s0 State: up PO: 0 B Size: 28 GB S dataVol.p0.s1 State: up PO: 28 GB Size: 37 GB After reading the man page, I am under the impression that I am supposed to first use the stop command. vinum -> stop -r dataVol vinum -> l -r dataVol V dataVol State: down Plexes: 1 Size: 65 GB P dataVol.p0 C State: up Subdisks: 2 Size: 65 GB S dataVol.p0.s0 State: up PO: 0 B Size: 28 GB S dataVol.p0.s1 State: up PO: 28 GB Size: 37 GB 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) vinum -> l -r dataVol V dataVol State: up Plexes: 1 Size: 65 GB P dataVol.p0 C State: up Subdisks: 2 Size: 65 GB S dataVol.p0.s0 State: up PO: 0 B Size: 28 GB S dataVol.p0.s1 State: up PO: 28 GB Size: 37 GB Did I misunderstand the sequence required to remove a vinum volume? BTW, this machine is running RELENG_4 checked out on Mar 1, 2003. Thanks. --- Samuel Chow cyschow@shaw.ca Segmentation Fault (core dumped) This message is displayed using recycled electrons.