Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2001 21:24:52 +0400 (MSD)
From:      Alexey Koptsevich <kopts@astro.ioffe.rssi.ru>
To:        questions@freebsd.org
Subject:   reviving vinum striped disc
Message-ID:  <Pine.BSF.4.21.0106202101470.730-100000@astro.ioffe.rssi.ru>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0106202101470.730-100000>