LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-22-2009, 03:28 AM   #1
augur86
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
Problems mounting ext3 drive. Unknown drive parameters - Solved


I have an issue mounting an ext3 drive(sda1). This drive has been mounted without any problems in the past and I cannot recall doing anything which may have caused this problem. I have also attempted to mount sda1 in knoppix but without any success.

Previously I have used Ext2 IFS driver in windows to read and write from/to sda1 without any problems. When I was unable to mount sda1 I could only read the drive from windows.

The error I have when mounting sda1 is "mount: unknown filesystem type 'ext4'". sda1 has not been formatted to ext4 and should still be ext3.

Summary of HD and OS configuration
80GB ext3 sdc1 IDE kubuntu 8.10 (swap also on this drive)
400GB ntfs sdb1 SATA windows xp
1TB ext3 sda1 SATA no os installed (storage only) ** drive with mount issue **

Commands used to mount
Code:
>> sudo mount -t ext3 /dev/sda1 /media/Storage
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

>> dmesg | tail
[   45.985198] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   56.928016] eth1: no IPv6 routers present
[  157.092422] ppdev0: registered pardevice
[  157.140309] ppdev0: unregistered pardevice
[  159.752862] ppdev0: registered pardevice
[  159.800206] ppdev0: unregistered pardevice
[  159.849885] ppdev0: registered pardevice
[  159.896022] ppdev0: unregistered pardevice
[ 2506.099694] EXT3-fs: sda1: couldn't mount RDWR because of unsupported optional features (e00000).
[ 3184.878173] EXT3-fs: sda1: couldn't mount RDWR because of unsupported optional features (e00000).

Omitting filesystem type
Code:
>> sudo mount /dev/sda1 /media/Storage
mount: unknown filesystem type 'ext4'
Access for files in media
Code:
>>ls -l /media
total 8
lrwxrwxrwx 1 root root    6 2008-11-11 19:24 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 2008-11-11 19:24 cdrom0
drwxrwsrwx 2 root root 4096 2009-03-20 22:59 Storage

My current kernel is
Code:
Linux comp 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux
I did run sabayon with kernel version 2.6.28 and ext4 support and still unable to mount.

Running sudo fdisk -l produces
Code:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00043a6e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1      121601   976760001   83  Linux

Disk /dev/sdb: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xbd0fbd0f

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       48640   390700768+   7  HPFS/NTFS

Disk /dev/sdc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000c660c

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1        9327    74919096   83  Linux
/dev/sdc2            9328        9729     3229065    5  Extended
/dev/sdc5            9328        9729     3229033+  82  Linux swap / Solaris
I have some concerns with the file system features FEATURE_R21 FEATURE_R22 FEATURE_R23. Should these be there?

Code:
>>sudo tune2fs -l /dev/sda1

tune2fs 1.41.4 (27-Jan-2009)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          25483298-0e85-493f-9a3d-d949a1fae275
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype sparse_super large_file FEATURE_R21 FEATURE_R22 FEATURE_R23
Filesystem flags:         signed_directory_hash 
Default mount options:    (none)
Filesystem state:         not clean with errors
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              61054976
Block count:              244190000
Reserved block count:     12209500
Free blocks:              118845527
Free inodes:              60983032
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      965
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   256
Filesystem created:       Wed Oct  1 08:33:37 2008
Last mount time:          Fri Mar 13 18:16:15 2009
Last write time:          Fri Mar 13 18:16:15 2009
Mount count:              282
Maximum mount count:      1
Last checked:             Wed Oct  1 08:33:37 2008
Check interval:           15552000 (6 months)
Next check after:         Mon Mar 30 08:33:37 2009
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:	          128
Journal inode:            8
Default directory hash:   tea
Directory Hash Seed:      f2fd157f-67a3-4433-a3a8-5dc27c906399
Journal backup:           inode blocks
I did attempt an an fsck with latest version of e2fsck
Code:
>> sudo fsck /dev/sda1
fsck 1.41.4 (27-Jan-2009)
e2fsck 1.41.4 (27-Jan-2009)
/dev/sda1 has unsupported feature(s): FEATURE_R21 FEATURE_R22 FEATURE_R23
e2fsck: Get a newer version of e2fsck!
Any help would be much appreciated

Last edited by augur86; 03-24-2009 at 06:05 AM. Reason: Solution Found
 
Old 03-22-2009, 09:24 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Well can you mount it as ext4?

Or pass "-o noextents" to mount and mount it as ext3?

Disclaimer: I would take a full backup of the filesystem with the dd command, to a file, then play around with the file. I am no expert and am not responsible for data loss.
 
Old 03-24-2009, 06:03 AM   #3
augur86
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Hi AlucardZero, thanks for the reply. I was unsuccessful mounting with ext4 but have since found a solution by finding an alternate superblock and restoring.

I used mke2fs to find an alternate superblock
Code:
sudo mke2fs -n /dev/sda1
I got a list of alternate superblocks and chose 32768 to restore the superblock using
Code:
fsck -b 32768 /dev/sda1
All damaged blocks were restored and mount was successful.

See
http://www.cyberciti.biz/faq/recover...ted-partition/

http://www.cyberciti.biz/tips/surviv...-failures.html
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting an ext3 drive to an xfs Kernel? Corgana Linux - Desktop 4 04-01-2007 10:47 PM
Opening/Mounting Ext3 Virtual Drive in WinXP [CBLA]Green Ubuntu 2 10-24-2006 11:44 AM
Mounting new ext3 hard drive question Tymestream Linux - Hardware 3 10-09-2004 03:10 PM
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 07:23 PM
Mounting an ext3 hard drive harperonline Linux - Hardware 1 03-14-2003 05:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:21 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration