From owner-freebsd-questions Wed Jun 20 10:24:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ioffe.rssi.ru (relay.ioffe.rssi.ru [194.85.224.33]) by hub.freebsd.org (Postfix) with ESMTP id 2939E37B401 for ; Wed, 20 Jun 2001 10:24:55 -0700 (PDT) (envelope-from kopts@astro.ioffe.rssi.ru) Received: from astro.ioffe.rssi.ru (astro.ioffe.rssi.ru [194.85.229.130]) by relay.ioffe.rssi.ru (8.9.1/8.9.1) with ESMTP id VAA05004 for ; Wed, 20 Jun 2001 21:24:53 +0400 (MSD) Received: by astro.ioffe.rssi.ru (8.9.3/Clnt-2.14-AS-eef) id VAA00765; Wed, 20 Jun 2001 21:24:52 +0400 (MSD) Date: Wed, 20 Jun 2001 21:24:52 +0400 (MSD) From: Alexey Koptsevich To: questions@freebsd.org Subject: reviving vinum striped disc Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Hello, Bad block occurred on one of two subdisks of a vinum volume (which consists of one striped plex). This subdisk is now marked 'stale' in vinum config. Before reboot and bad blocks reassignment only a part of disc hierarchy was out of the operation. Based on that, as well as on that only one block turned out to be bad I hope there is a chance to restore significant part of the information. The filesystem is now marked dirty and, since fsck gives errors immediately after starting, I afraid fsck may corrupt the filesystem completely if I reply 'yes' to its questions. Fsck output starts with ** /dev/vinum/data ** Last Mounted on /data ** Phase 1 - Check Blocks and Sizes CANNOT READ: BLK 512 Thus I have three questions: - how can I forcibly mark filesystem clean (in order to mount it read-only and then backup its uncorrupted part somewhere)? - can I run fsck in 'dummy' mode in order to evaluate is it possible to restore the filesystem without making actual corrections? - can I do something which gives higher possibility to restore the data than two things I mentioned above? I run FreeBSD 4.2. Thanks a lot, Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message