LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-16-2008, 02:32 AM   #1
gary4gar
Member
 
Registered: Aug 2006
Location: India
Distribution: Arch Linux x86_64 KDEmod 4.1
Posts: 52

Rep: Reputation: 15
[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"
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
 
Old 10-16-2008, 09:48 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
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.
 
Old 10-16-2008, 10:34 AM   #3
gary4gar
Member
 
Registered: Aug 2006
Location: India
Distribution: Arch Linux x86_64 KDEmod 4.1
Posts: 52

Original Poster
Rep: Reputation: 15
i am using Arch linux, and i have updated to latest with kernel 2.6.27 and ex2fsprogs version 1.41
 
Old 10-16-2008, 11:37 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
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.
 
Old 10-18-2008, 01:25 PM   #5
gary4gar
Member
 
Registered: Aug 2006
Location: India
Distribution: Arch Linux x86_64 KDEmod 4.1
Posts: 52

Original Poster
Rep: Reputation: 15
Does not work, i Think the partition is now corrupted.


Is there any way to recover data from this partition?
 
Old 10-18-2008, 01:29 PM   #6
Total-MAdMaN
Member
 
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
Quote:
Originally Posted by gary4gar View Post
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.
 
Old 10-19-2008, 01:18 AM   #7
gary4gar
Member
 
Registered: Aug 2006
Location: India
Distribution: Arch Linux x86_64 KDEmod 4.1
Posts: 52

Original Poster
Rep: Reputation: 15
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

Last edited by gary4gar; 10-19-2008 at 01:22 AM.
 
Old 10-19-2008, 06:22 AM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
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.
 
Old 10-19-2008, 12:03 PM   #9
gary4gar
Member
 
Registered: Aug 2006
Location: India
Distribution: Arch Linux x86_64 KDEmod 4.1
Posts: 52

Original Poster
Rep: Reputation: 15
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!
 
Old 10-20-2008, 07:24 AM   #10
gary4gar
Member
 
Registered: Aug 2006
Location: India
Distribution: Arch Linux x86_64 KDEmod 4.1
Posts: 52

Original Poster
Rep: Reputation: 15
[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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HAL daemon does not reconize a mounted partition as mounted 888m Slackware 4 07-30-2007 12:58 PM
ext3 partition on external USB hard drive mounted, but only root access allowed leontini Linux - Hardware 4 02-17-2006 01:54 AM
ReiserFS partition SOS!!! it-s Linux - Hardware 1 09-09-2005 02:10 AM
DVD/CD-RW Not Detected/Mounted atifraza82 Slackware 6 03-03-2005 03:50 AM
Help!cd Drive Sos! manas_shukla Linux - Newbie 6 01-23-2005 11:33 AM


All times are GMT -5. The time now is 09:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration