From owner-freebsd-questions Sun Jun 17 7:37:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id F10D137B403 for ; Sun, 17 Jun 2001 07:37:16 -0700 (PDT) (envelope-from wmoran@iowna.com) Received: from iowna.com (dhcp065-024-023-038.columbus.rr.com [65.24.23.38]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id f5HEXvs12728; Sun, 17 Jun 2001 10:33:58 -0400 (EDT) Message-ID: <3B2CC068.2A0B6C01@iowna.com> Date: Sun, 17 Jun 2001 10:36:24 -0400 From: Bill Moran X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Drew Derbyshire Cc: questions@FreeBSD.ORG Subject: Re: Stopping / removing vinum segments References: <007701c0f6de$cef773b0$94cba8c0@xena> <3B2C2B84.8792D238@iowna.com> <000801c0f72b$f25931c0$94cba8c0@xena> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm a little confused here ... you state below that the system is idle and wrong. First off, is the system mounted? (/dev/vinum/mirror) If so, it's certainly not idle. If you want to undo a vinum mirror that's got data on it, you'll probably have to do a dump/redstore - unless somebody knows how to convert a vinum volume to a FFS volume. If it doesn't have any data on it that you're worried about, just do a "resetconfig". Doing so won't affect any non-vinum partitions. (regardless of what you do, I'd dump any important data first) I guess I'm pretty confused as to what's going on here. Can you send the output of "vinum lv -r" so we can see how everything is put together? And where is it mounted? I'm not clear on that. -Bill Drew Derbyshire wrote: > > No, I am concerned -- because the next time it will only be half the > configuration which is junk. > > ----- Original Message ----- > From: "Bill Moran" > To: "Drew Derbyshire" > Cc: > Sent: Sunday, June 17, 2001 12:01 AM > Subject: Re: Stopping / removing vinum segments > > > If you're not concerned about the data/config, you can do a > > "resetconfig" which will blow away everything, or you can force other > > commands (such as "stop") to work even if they would normally not with > > the -f switch ("force") > > > > -Bill > > > > Drew Derbyshire wrote: > > > > > > Given the following vinum configuration, which is > > > a. idle (no file systems exist on the disk) and > > > b. wrong > > > > > > How do I get the objects into a state where I can remove them? Various > > > stop commands don't do anything for it. > > > > > > minerva,~,120# vinum l > > > 1 drives: > > > D d1 State: up Device /dev/da1s2g Avail: > > > 0/16739 MB (0%) > > > > > > 1 volumes: > > > V mirror State: up Plexes: 1 Size: 16 > GB > > > > > > 1 plexes: > > > P mirror.p0 C State: up Subdisks: 4 Size: 16 > GB > > > > > > 2 subdisks: > > > S vinum.var.s0 State: up PO: 0 B Size: 512 > MB > > > S vinum.usr.s0 State: up PO: 512 MB Size: 2000 > MB > > > S vinum.export.s0 State: up PO: 2512 MB Size: 4500 > MB > > > S vinum.scratch.s0 State: up PO: 7012 MB Size: 9727 > MB -- If a bird in the hand is worth two in the bush, then what can I get for two hands in the bush? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message