You are not logged in.

#1 2011-01-07 14:57:22

sycoso
Member
Registered: 2009-10-03
Posts: 8

Ext-Partition suddenly broken

Hi,

I created an Ext-partition (I think it was ext4) which suddenly broke. It worked good but as I booted today, the partition was broken.

GParted saies:

Unable to detect file system

fdisk saies:

System: Linux
mount /dev/sdb2 mount/

saies:

mount: you must specify the filesystem type

with "-t ext4" as option, it saies:

mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
dmesg | tail

saies:

device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.18.0-ioctl (2010-06-29) initialised: dm-devel@redhat.com
EXT4-fs (sdb2): VFS: Can't find ext4 filesystem
ISOFS: Unable to identify CD-ROM format.
FAT: invalid media value (0xf2)
VFS: Can't find a valid FAT filesystem on dev sdb2.
EXT2-fs (sdb2): error: can't find an ext2 filesystem on dev sdb2.
EXT3-fs (sdb2): error: can't find ext3 filesystem on dev sdb2.
EXT3-fs (sdb2): error: can't find ext3 filesystem on dev sdb2.
EXT4-fs (sdb2): VFS: Can't find ext4 filesystem

There are 2 partitions on this HD, and the other one works perfectly, so the HD isn't dead.

smartctl -d ata -a /dev/sdb

doesn't give an error, either!


I don't know what to do, do you have an idea?

Thanks,

sycoso

Last edited by sycoso (2011-01-08 23:47:32)

Offline

#2 2011-01-07 15:11:53

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Ext-Partition suddenly broken

IS this a USB drive? and are you using /dev/sdX in your fstab?

Maybe you should try using UUIDs, that way the devices won't change names on you.

Also, please use code tags when showing command outputs or errors. Makes is for easier reading.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-01-08 23:43:24

sycoso
Member
Registered: 2009-10-03
Posts: 8

Re: Ext-Partition suddenly broken

no, it's a SATA-device (internal HD)
no, i'm not using fstab.
The problem is not the changing device-name, the problem is, that the partition is broken!

Code tags added smile

Offline

#4 2011-01-09 19:42:06

kilgoretrout
Member
Registered: 2010-06-28
Posts: 25

Re: Ext-Partition suddenly broken

Try booting with the Parted Magic livecd and see how the partition is detected. In particular see how sdb2 is seen in gparted.

Offline

#5 2011-01-09 20:41:21

sycoso
Member
Registered: 2009-10-03
Posts: 8

Re: Ext-Partition suddenly broken

The broken partition is not my root-partition! It's a data-partition!

gparted saies: "unknown"

Offline

#6 2011-01-09 20:59:45

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: Ext-Partition suddenly broken

I created an Ext-partition (I think it was ext4) which suddenly broke.

Do not think next time, know. I don't know where to begin explaining how important the file-system is. You would do well to stick with ext3 for at least a year or two more.


You need to install an RTFM interface.

Offline

#7 2011-01-09 21:09:41

sycoso
Member
Registered: 2009-10-03
Posts: 8

Re: Ext-Partition suddenly broken

anrxc wrote:

I created an Ext-partition (I think it was ext4) which suddenly broke.

Do not think next time, know. I don't know where to begin explaining how important the file-system is. You would do well to stick with ext3 for at least a year or two more.

Thanks for the tip with ext3/4, I'll use ext3 the next time!

But the partition is still broken...

Offline

#8 2011-01-09 21:43:34

helloworld1
Member
Registered: 2010-12-26
Posts: 72

Re: Ext-Partition suddenly broken

AFAIK, EXT4 is very stable for now. There is no need to switch back to ext3.

Offline

#9 2011-01-09 22:47:32

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: Ext-Partition suddenly broken

I've never used 'testdisk' but I have used the companion software, 'photorec', with success.  'testdisk' may help; it's in extra.

From the TestDisk site,http://www.cgsecurity.org/wiki/TestDisk:

TestDisk is powerful free data recovery software! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally deleting a Partition Table). Partition table recovery using TestDisk is really easy.

'ddrescue' is another data recovery tool.  It won't make the disk usable but it may help recover the data.

There are other tools to check if the drive a hardware problem.  'smartmontools' comes to mind.

Last edited by thisoldman (2011-01-09 22:59:31)

Offline

Board footer

Powered by FluxBB