Mailinglist Archive: opensuse (1047 mails)

< Previous Next >
Re: [opensuse] strange ext4 problem
On January 15, 2016 12:27:50 AM PST, jdd <jdd@xxxxxxxxx> wrote:

I have a strange ext4 problem. The disk was an old backup I didn't use
and just wanted to reuse, but just in case I would like to know how to
fix it and see if the disk is not damaged.

any hint?

dmesg says:

EXT4-fs (sdn1): bad geometry: block count 488378390 exceeds size of
device (488378389 blocks)

notice there is only one block error


LANG=us ; mount /dev/sdn1 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sdn1,
missing codepage or helper program, or other error

In some cases useful info is found in syslog - try
dmesg | tail or so.

fsck.ext4 /dev/sdn1
e2fsck 1.42.11 (09-Jul-2014)
The filesystem size (according to the superblock) is 488378390 blocks
The physical size of the device is 488378389 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>? no
sauvegarde-2t contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
sauvegarde-2t: 957175/122101760 files (0.9% non-contiguous),
453175967/488378390 blocks

Do you care at this point? About data recovery I mean?

What does SMART say? Are all spare sectors assigned?

If not, I'd nuke it, define the whole thing as a new partition, format, then
run diagnostics.

Sent from my Android phone with K-9 Mail. Please excuse my brevity.
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >