From owner-freebsd-test@FreeBSD.ORG Fri Nov 11 04:19:12 2005 Return-Path: X-Original-To: freebsd-test@freebsd.org Delivered-To: freebsd-test@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E60316A420 for ; Fri, 11 Nov 2005 04:19:12 +0000 (GMT) (envelope-from ahnjoan@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F73343D4C for ; Fri, 11 Nov 2005 04:19:11 +0000 (GMT) (envelope-from ahnjoan@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so77255wxc for ; Thu, 10 Nov 2005 20:19:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=Ow1L2C3T5V0rXUQXgNFhN9RnZEBpLPXtifxYRJANW6hxCUuHX8D0dbFRzDJmJqyXQb7leHel4gFGMbsvnjFzB/NQ/sTsi9U4L72qnCvt7jERxTJYAAEwM00lEdqutqY21jryiXn4eHo0SifUokxJfYKZ3u7T+UZngUQHljcfu2s= Received: by 10.70.69.2 with SMTP id r2mr1750003wxa; Thu, 10 Nov 2005 20:19:10 -0800 (PST) Received: by 10.70.102.7 with HTTP; Thu, 10 Nov 2005 20:19:10 -0800 (PST) Message-ID: <5e575c8a0511102019w56d31e20ie39b27e9025a017e@mail.gmail.com> Date: Thu, 10 Nov 2005 23:19:10 -0500 From: Ahnjoan Amous To: freebsd-test@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: postmaster@freebsd.org Subject: Incorrectly re-synced vinum subdisk X-BeenThere: freebsd-test@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Test posting area List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2005 04:19:12 -0000 Tonight while checking a few things on my personal machine I noticed that one of my vinum sub disks was stale. Included below are the steps I took attempting to remedy this. Clearly I did not follow the proper procedures and now the volume is un-mountable. Currently when I attempt to mount the /export filesystem the machine panics and reboots. My apologies in advance for the length of information included. I include it so that it might aid in recovery of the data on this filesystem. It has been cleaned up a bit but am happy to provide the full output with the multiple "help" command output. Shortly after the command sequence included the machine rebooted. Since then I have booted in to single user mode and commented out /export from fstab. The machine is fully functioning with the exception of the important data on /export. If anyone doesn't believe I will be able to recover the data on my own but does know of a company that might be able to recover data written on a vinum mirror would you send me their name? Thank you Ahnjoan root@bigbox:~ > df -k Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/vinum/root 1012974 61138 870800 7% / devfs 1 1 0 100% /dev /dev/vinum/tmp1 50777034 35262392 11452480 75% /export procfs 4 4 0 100% /proc devfs 1 1 0 100% /var/db/dhcpd/dev ##################################################################### root@bigbox:~ > vinum list 2 drives: D been State: up /dev/ad2s1h A: 7739/76347 MB (1= 0%) D evie State: up /dev/ad0s1h A: 7739/76347 MB (1= 0%) 7 volumes: V root State: up Plexes: 2 Size: 1024 MB V tmp1 State: up Plexes: 2 Size: 50 GB 14 plexes: P root.p0 C State: up Subdisks: 1 Size: 1024 MB P tmp1.p0 C State: faulty Subdisks: 1 Size: 50 GB P root.p1 C State: up Subdisks: 1 Size: 1024 MB P tmp1.p1 C State: up Subdisks: 1 Size: 50 GB 14 subdisks: S root.p0.s0 State: up D: been Size: 1024 MB S tmp1.p0.s0 State: stale D: been Size: 50 GB S root.p1.s0 State: up D: evie Size: 1024 MB S tmp1.p1.s0 State: up D: evie Size: 50 GB ##################################################################### root@bigbox:~ > vinum vinum -> detach tmp1.p0.s0 ##################################################################### vinum -> list 2 drives: D been State: up /dev/ad2s1h A: 7739/76347 MB (1= 0%) D evie State: up /dev/ad0s1h A: 7739/76347 MB (1= 0%) 7 volumes: V root State: up Plexes: 2 Size: 1024 MB V tmp1 State: up Plexes: 2 Size: 50 GB 14 plexes: P root.p0 C State: up Subdisks: 1 Size: 1024 MB P tmp1.p0 C State: faulty Subdisks: 0 Size: 0 B P root.p1 C State: up Subdisks: 1 Size: 1024 MB P tmp1.p1 C State: up Subdisks: 1 Size: 50 GB 14 subdisks: S root.p0.s0 State: up D: been Size: 1024 MB S tmp1.p0.s0 State: stale D: been Size: 50 GB S root.p1.s0 State: up D: evie Size: 1024 MB S tmp1.p1.s0 State: up D: evie Size: 50 GB ##################################################################### vinum -> start tmp1.p0.s0 Can't start tmp1.p0.s0: Invalid argument (22) ##################################################################### vinum -> start ** no additional drives found: No such file or directory Can't save Vinum config: No child processes ##################################################################### vinum -> start tmp1.p0.s0 Can't start tmp1.p0.s0: Invalid argument (22) ##################################################################### vinum -> list 2 drives: D been State: up /dev/ad2s1h A: 7739/76347 MB (1= 0%) D evie State: up /dev/ad0s1h A: 7739/76347 MB (1= 0%) 7 volumes: V root State: up Plexes: 2 Size: 1024 MB V tmp1 State: up Plexes: 2 Size: 50 GB 14 plexes: P root.p0 C State: up Subdisks: 1 Size: 1024 MB P tmp1.p0 C State: faulty Subdisks: 0 Size: 0 B P root.p1 C State: up Subdisks: 1 Size: 1024 MB P tmp1.p1 C State: up Subdisks: 1 Size: 50 GB 14 subdisks: S root.p0.s0 State: up D: been Size: 1024 MB S tmp1.p0.s0 State: R 0% D: been Size: 50 GB *** Start tmp1.p0.s0 with 'start' command *** S root.p1.s0 State: up D: evie Size: 1024 MB S tmp1.p1.s0 State: up D: evie Size: 50 GB ##################################################################### vinum -> stop tmp1.p0.s0 ##################################################################### vinum -> list 2 drives: D been State: up /dev/ad2s1h A: 7739/76347 MB (1= 0%) D evie State: up /dev/ad0s1h A: 7739/76347 MB (1= 0%) 7 volumes: V root State: up Plexes: 2 Size: 1024 MB V tmp1 State: up Plexes: 2 Size: 50 GB 14 plexes: P root.p0 C State: up Subdisks: 1 Size: 1024 MB P tmp1.p0 C State: faulty Subdisks: 0 Size: 0 B P root.p1 C State: up Subdisks: 1 Size: 1024 MB P tmp1.p1 C State: up Subdisks: 1 Size: 50 GB 14 subdisks: S root.p0.s0 State: up D: been Size: 1024 MB S tmp1.p0.s0 State: down D: been Size: 50 GB S root.p1.s0 State: up D: evie Size: 1024 MB S tmp1.p1.s0 State: up D: evie Size: 50 GB ##################################################################### vinum -> start tmp1.p0.s0 Can't start tmp1.p0.s0: Device busy (16) ##################################################################### vinum -> list 2 drives: D been State: up /dev/ad2s1h A: 7739/76347 MB (1= 0%) D evie State: up /dev/ad0s1h A: 7739/76347 MB (1= 0%) 7 volumes: V root State: up Plexes: 2 Size: 1024 MB V tmp1 State: up Plexes: 2 Size: 50 GB 14 plexes: P root.p0 C State: up Subdisks: 1 Size: 1024 MB P tmp1.p0 C State: faulty Subdisks: 0 Size: 0 B P root.p1 C State: up Subdisks: 1 Size: 1024 MB P tmp1.p1 C State: up Subdisks: 1 Size: 50 GB 14 subdisks: S root.p0.s0 State: up D: been Size: 1024 MB S tmp1.p0.s0 State: reborn D: been Size: 50 GB S root.p1.s0 State: up D: evie Size: 1024 MB S tmp1.p1.s0 State: up D: evie Size: 50 GB ##################################################################### vinum -> stop tmp1.p0.s0 ##################################################################### vinum -> setstate obsolete tmp1.p0.s0 ##################################################################### vinum -> start tmp1.p0.s0 ##################################################################### vinum -> list 2 drives: D been State: up /dev/ad2s1h A: 7739/76347 MB (1= 0%) D evie State: up /dev/ad0s1h A: 7739/76347 MB (1= 0%) 7 volumes: V root State: up Plexes: 2 Size: 1024 MB V tmp1 State: up Plexes: 2 Size: 50 GB 14 plexes: P root.p0 C State: up Subdisks: 1 Size: 1024 MB P tmp1.p0 C State: faulty Subdisks: 0 Size: 0 B P root.p1 C State: up Subdisks: 1 Size: 1024 MB P tmp1.p1 C State: up Subdisks: 1 Size: 50 GB 14 subdisks: S root.p0.s0 State: up D: been Size: 1024 MB S tmp1.p0.s0 State: up D: been Size: 50 GB S root.p1.s0 State: up D: evie Size: 1024 MB S tmp1.p1.s0 State: up D: evie Size: 50 GB ##################################################################### vinum -> quit ##################################################################### root@bigbox:~ > cd /export ##################################################################### root@bigbox:/export > ls .snap archive CRASH From owner-freebsd-test@FreeBSD.ORG Fri Nov 11 08:38:41 2005 Return-Path: X-Original-To: freebsd-test@freebsd.org Delivered-To: freebsd-test@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57F2816A41F for ; Fri, 11 Nov 2005 08:38:41 +0000 (GMT) (envelope-from remko@freebsd.org) Received: from caelis.elvandar.org (caelis.elvandar.org [217.148.169.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6D7743D4C for ; Fri, 11 Nov 2005 08:38:40 +0000 (GMT) (envelope-from remko@freebsd.org) Received: from localhost (caelis.elvandar.org [217.148.169.59]) by caelis.elvandar.org (Postfix) with ESMTP id E79AB93054F; Fri, 11 Nov 2005 09:38:39 +0100 (CET) Received: from caelis.elvandar.org ([217.148.169.59]) by localhost (caelis.elvandar.org [217.148.169.59]) (amavisd-new, port 10024) with ESMTP id 11112-03; Fri, 11 Nov 2005 09:38:39 +0100 (CET) Message-ID: <43745905.7030906@FreeBSD.org> Date: Fri, 11 Nov 2005 09:40:37 +0100 From: Remko Lodder User-Agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ahnjoan Amous References: <5e575c8a0511102019w56d31e20ie39b27e9025a017e@mail.gmail.com> In-Reply-To: <5e575c8a0511102019w56d31e20ie39b27e9025a017e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by the elvandar.org maildomain Cc: freebsd-test@freebsd.org Subject: Re: Incorrectly re-synced vinum subdisk X-BeenThere: freebsd-test@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: remko@FreeBSD.org List-Id: Test posting area List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2005 08:38:41 -0000 Ahnjoan Amous wrote: Hi Ahnjoan, Was this a test or something? If not; this should not be posted here but on a more appropriate list like freebsd-questions... Please look at http://lists.freebsd.org/mailman/listinfo for a list of our mailinglists and select the appropriate one for your question. Thanks! -- Kind regards, Remko Lodder ** remko@elvandar.org FreeBSD ** remko@FreeBSD.org