RE: Superblock defekt

From: Stefan Bethke <stefan(at)promo.de>
Date: Mon, 02 Nov 1998 11:14:01 +0100

Werner Griessl <werner(at)btp1da.phy.uni-bayreuth.de> wrote:

>> Also: wie kann ich die Superbl–cke von wd0a und wd0s2e wiederherstellen
>> bzw.
>> neu schreiben?

> "man fsck" sagt:
> -b Use the block specified immediately after the flag as the
> super block for the filesystem. Block 32 is usually an alternate
> super block.

Dazu noch die Information, wo denn ein anderer Superblock zu finden ist
(man newfs):
     -N Cause the file system parameters to be printed out without
really
             creating the file system.

Was dann etwa so aussieht:
$ /sbin/newfs -N /dev/rsd0e
/dev/rsd0e: 393216 sectors in 96 cylinders of 1 tracks, 4096 sectors
        192.0MB in 6 cyl groups (16 c/g, 32.00MB/g, 7680 i/g)
super-block backups (for fsck -b #) at:
 32, 65568, 131104, 196640, 262176, 327712,

Dementsprechend kann man dann fsck aufrufen:
# fsck -b 65568 /dev/rsd0e

HTH HAND,
Stefan

--
Stefan Bethke
Promo Datentechnik      |  Tel. +49-40-851744-18
+ Systemberatung GmbH   |  Fax. +49-40-851744-44
Eduardstrasse 46-48     |  e-mail: stefan(at)Promo.DE
D-20257 Hamburg         |  http://www.Promo.DE/
Received on Mon 02 Nov 1998 - 11:15:44 CET

search this site