LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   [SOS] a partition on backup drive can't be mounted , detected as ext4 (http://www.linuxquestions.org/questions/linux-newbie-8/%5Bsos%5D-a-partition-on-backup-drive-cant-be-mounted-detected-as-ext4-676708/)

gary4gar 10-16-2008 02:32 AM

[SOS] a partition on backup drive can't be mounted , detected as ext4
 
I can't mount a partition present on one of my backup drives.
I ran fsck on this partition, and after that its being detected as "ext4" :o
HDD is working perfectly fine and data on NTFS partition can be access easily.

I just hope my Data on it is safe.

Code:

gaurish  ~  $  sudo fdisk -l   
Partition table entries are not in disk order

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x087f1d56

  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1              2      38913  312560640    f  W95 Ext'd (LBA)
/dev/sdb5              2      26557  213311038+  7  HPFS/NTFS
/dev/sdb6          26558      38913    99249538+  83  Linux

Code:

gaurish  ~  $  sudo mount -t ext4 /dev/sdb6 /media/fl/
mount: unknown filesystem type 'ext4'
gaurish  ~  $  sudo mount -t ext3 /dev/sdb6 /media/fl/
mount: wrong fs type, bad option, bad superblock on /dev/sdb6,
      missing codepage or helper program, or other error
      In some cases useful info is found in syslog - try
      dmesg | tail  or so

Code:

gaurish  ~  $  dmesg | tail
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 00 38 00 00
sd 2:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1 < sdb5 sdb6 >
sd 2:0:0:0: [sdb] Attached SCSI disk
sd 2:0:0:0: Attached scsi generic sg1 type 0
usb-storage: device scan complete
EXT3-fs: sdb6: couldn't mount because of unsupported optional features (ca9bc1e0).

Code:

gaurish  ~  $  sudo mount /dev/sdb6 /media/fl/
mount: unknown filesystem type 'ext4'

Please help to recover data on this drive:(

whansard 10-16-2008 09:48 AM

ext4 is very recent, so I would download a very new knoppix or similar live rescue system to mount the filesystem. To keep ability to access it, upgrade your kernel, and make sure that ext4 is one of the filesystems included.

gary4gar 10-16-2008 10:34 AM

i am using Arch linux, and i have updated to latest with kernel 2.6.27 and ex2fsprogs version 1.41

whansard 10-16-2008 11:37 AM

maybe ext4 is included as a module, and you need to load it before trying to mount the partition.
run modprobe ext4 and see what happens.

gary4gar 10-18-2008 01:25 PM

Does not work, i Think the partition is now corrupted.


Is there any way to recover data from this partition?

Total-MAdMaN 10-18-2008 01:29 PM

Quote:

Originally Posted by gary4gar (Post 3312316)
i am using Arch linux, and i have updated to latest with kernel 2.6.27 and ex2fsprogs version 1.41

How did you update the kernel? If the kernel you're using doesn't have ext4 support built in you'll need to compile your own.

gary4gar 10-19-2008 01:18 AM

Arch Linux has 2.6.27 as default with optional ext4 support.

To activate

Quote:

modprobe ext4dev
eventually when the ext4 becomes stable, it would be renamed "ext4".


Anyone knows how to recover the data?

Its really important

whansard 10-19-2008 06:22 AM

if you have the kernel that you should, and run "modprobe ext4dev",
then you should be able to mount the filesystem and copy whatever you need off of it.

gary4gar 10-19-2008 12:03 PM

I yeah i tried, it says "mount: wrong fs type, bad option, bad superblock on /dev/sdb6,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so"

also e2fsck does complain about higher reversion number.

So like i said the Volume is corrupted, anyone knows any good data recovery tools?

as i have some previous old photos of my last vacation:(
if i loose it, i can't get it back

Damn!

gary4gar 10-20-2008 07:24 AM

[Update]

I used a Demo version of "Stellar Phoenix Linux Data Recovery".
And i can see my whole data is intact and unfortunately as being a demo version, it does not allow me to recover my data.


anyone knows the free and open source applications


All times are GMT -5. The time now is 03:16 PM.