You are not logged in.
Pages: 1
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
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.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
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
Offline
Try booting with the Parted Magic livecd and see how the partition is detected. In particular see how sdb2 is seen in gparted.
Offline
The broken partition is not my root-partition! It's a data-partition!
gparted saies: "unknown"
Offline
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
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
AFAIK, EXT4 is very stable for now. There is no need to switch back to ext3.
Offline
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
Pages: 1