From owner-freebsd-questions Thu Jan 20 16:11:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 7162D15305 for ; Thu, 20 Jan 2000 16:11:34 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id TAA73865; Thu, 20 Jan 2000 19:15:43 -0500 (EST) (envelope-from cjc) Date: Thu, 20 Jan 2000 19:15:43 -0500 From: "Crist J. Clark" To: "John H. Baldwin" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Recoverving/reviving a 'stale' subdisk under vinum Message-ID: <20000120191543.B73715@cc942873-a.ewndsr1.nj.home.com> Reply-To: cjclark@home.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from jobaldwi@cslab.vt.edu on Thu, Jan 20, 2000 at 01:56:07PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Jan 20, 2000 at 01:56:07PM -0500, John H. Baldwin wrote: > I've read the vinum(4) and vinum(8) manpages as well as the webpages at > www.lemis.com/~grog/vinum.html, and while they are very good as far as > setup and configuration info, I haven't been able to find a lot of info > about recovering. I have a stale subdisk that I can't get to recover no > matter how many different start commands I try. I've tried starting the > volume, the plex, and the subdisk itself with no success. > > # vinum list > Configuration summary > > Drives: 3 (4 configured) > Volumes: 1 (4 configured) > Plexes: 1 (8 configured) > Subdisks: 3 (16 configured) > > D vinumdrive0 State: up Device /dev/da1s1e Avail: > 0/8683 MB (0%) > D vinumdrive1 State: up Device /dev/da2s1e Avail: > 0/8683 MB (0%) > D vinumdrive2 State: up Device /dev/da3s1e Avail: > 0/8683 MB (0%) > > V ftp_mirror State: up Plexes: 1 Size: 25 > GB > > P ftp_mirror.p0 S State: corrupt Subdisks: 3 Size: 25 > GB > > S ftp_mirror.p0.s0 State: up PO: 0 B Size: 8683 > MB > S ftp_mirror.p0.s1 State: up PO: 256 kB Size: 8683 > MB > S ftp_mirror.p0.s2 State: stale PO: 512 kB Size: 8683 > MB > > # vinum start ftp_mirror.p0.s2 > Can't start ftp_mirror.p0.s2: Device busy (16) > > # vinum start ftp_mirror.p0 > Can't start ftp_mirror.p0.s2: Device busy (16) > > # vinum start ftp_mirror > ftp_mirror is already up > > # vinum stop > vinum unloaded > > # vinum start > Warning: defective objects > > P ftp_mirror.p0 S State: corrupt Subdisks: 3 Size: 25 > GB > S ftp_mirror.p0.s2 State: stale PO: 512 kB Size: 8683 > MB > > Any help is greatly appreciated. You have to 'stop' everything first. (I might be overkilling here, but better safe...) # vinum vinum> stop ftp_mirror.p0.s0 ftp_mirror.p0.s1 vinum> stop -f ftp_mirror.p0.s2 vinum> stop ftp_mirror.p0 vinum> stop ftp_mirror vinum> start ftp_mirror vinum> l . . . [what happened?] -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message