From owner-freebsd-questions Tue Sep 24 17:12:33 2002 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 DA78837B401 for ; Tue, 24 Sep 2002 17:12:31 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id A74A743E3B for ; Tue, 24 Sep 2002 17:12:27 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 1D1658147A; Wed, 25 Sep 2002 09:41:41 +0930 (CST) Date: Wed, 25 Sep 2002 09:41:41 +0930 From: Greg 'groggy' Lehey To: Siegfried P Pietralla Cc: freebsd-questions@freebsd.org Subject: Re: lost vinum config Message-ID: <20020925001141.GA30669@wantadilla.lemis.com> References: <16649A8D5C73D51183B80008C728EEB7CC0B18@AUSYM103> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16649A8D5C73D51183B80008C728EEB7CC0B18@AUSYM103> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 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 On Wednesday, 25 September 2002 at 9:48:22 +1000, Pietralla, Siegfried P wrote: > hi all, > > i'm running 4.3 on partition ad0s3. i tried to install 4.6.2 on ad3s2 and > when i booted back up on ad0s3 i lost my vinum partition which lives in > ad3s4a ( i did not note down the error message :( so don't ask :) ). i did a > ' dd if=/dev/ad3s4a | od -c ' and it looked as though my vinum config was > still there. so i reran my vinum create script and recreated all my volumes > and i got back all my filesystems :) > > is there a one liner i can use to recover vinum under these > circumstances ? Hardly. There must be 1000 ways to shoot yourself in the foot, and you haven't even described exactly what happened. > or should i just keep a copy of the first nnn blocks of the vinum > partition somewhere else as a backup ? That couldn't harm. > or can you generate a vinum create script from your existing > configuration ? Yes. vinum dumpconfig. > location: 15th floor 2-26 Elizabeth Street, Melbourne Heh. I was right outside there just a couple of weeks ago. 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message