Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

fsck bad superblock problem

Empfohlene Antworten

Veröffentlicht

Hallo Zusammen,

nach einem etwas unerfreulichen Stromausfall gestern ist mein System abgestürzt und mein SoftwareRAID etwas defekt. Siehe:

[root@web2 /]# more /etc/raidtab

raiddev /dev/md0

raid-level 1

nr-raid-disks 2

nr-spare-disks 0

chunk-size 4

persistent-superblock 1

device /dev/hdb1

raid-disk 0

device /dev/hdc1

raid-disk 1

[root@web2 /]# mount -t ext2 /dev/md0 /mnt

mount: wrong fs type, bad option, bad superblock on /dev/md0,

or too many mounted file systems

(could this be the IDE device where you in fact use

ide-scsi so that sr0 or sda or so is needed?)

[root@web2 /]# e2fsck /dev/md0

e2fsck 1.27 (8-Mar-2002)

e2fsck: Invalid argument while trying to open /dev/md0

The superblock could not be read or does not describe a correct ext2

filesystem. If the device is valid and it really contains an ext2

filesystem (and not swap or ufs or something else), then the superblock

is corrupt, and you might try running e2fsck with an alternate superblock:

e2fsck -b 8193 <device>

[root@web2 /]# e2fsck -b 8193 /dev/md0

e2fsck 1.27 (8-Mar-2002)

e2fsck: Invalid argument while trying to open /dev/md0

The superblock could not be read or does not describe a correct ext2

filesystem. If the device is valid and it really contains an ext2

filesystem (and not swap or ufs or something else), then the superblock

is corrupt, and you might try running e2fsck with an alternate superblock:

e2fsck -b 8193 <device>

Sorry für soviel code, aber ich denke so habe ich alle Informationen beeinander. Er sagt "Try alternate superblock". Was soll ich da machen? Hatte schonmal jemand ähnliche Probleme?

Bin für jeden Tipp dankbar!

Vielen Dank!

Hallo,

8193 ist nur ein BeiSpiel für einen typischen ext2/ext3 BackupSuperBlock.

Du kannst dir aber mir mkfs.ext3 (-n !!!) sämtliche BackupSuperBlöcke eines DateiSystems anzeigen lassen, z.B.:

"

[root@carthage proc]# mkfs.ext3 -n /dev/hdb1

mke2fs 1.34 (25-Jul-2003)

Dateisystem Label=

OS type: Linux

Blockgrösse=1024 (log=0)

Fragmentgrösse=1024 (log=0)

34136 Inoden, 136520 Blöcke

6826 Blöcke (5.00%) reserviert für den Superuser

erster Datenblock=1

17 block groups

8192 Blöcke pro Gruppe, 8192 Fragmente pro Gruppe

2008 Inoden pro Gruppe

Superblock Sicherungskopien gespeichert in den Blöcken:

8193, 24577, 40961, 57345, 73729

"

Mein ext3FS /dev/hdb1 hat also in folgenden Blöcken BackupSuperBlöcke: 8193, 24577, 40961, 57345, 73729

Lass Dir also Deine BackupSuperBlöcke anzeigen (-n Option !!!) und probiere es dann mit:

"e2fsck -b DEINBACKUPSUPERBLOCK /dev/DEINEPARTITION"

Dabei dann alle BackupSuperBlöcke durchprobieren.

Wichtig:

Vorher die ManSeiten zu mkfs.ext3 & e2fsck lesen.

Bye

SystemError

PS:

"/etc/raidtab" beschreibt betsenfalls den SollZustand Deiner RaidConfig, viel interessanter ist da schon "/proc/mdstat"

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.