LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 04-16-2012, 07:02 PM   #1
elrodri
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Rep: Reputation: Disabled
Can't mount device: mount you must specify the filesystem type


I had a raid 1 working with two devices sdc1 and sdd1, 2TB each. I needed some space, so I decided to undo the raid. I must say I'm too new with raids, and I successfully removed sdc1 with "fail" and "remove" mdadm commands, but not with sdd1, so I left the raid working and mounted the filesystem as follows:

/dev/sdc1 -> /data
/dev/md0 -> /data2

But a few days ago this "workaround" end up with a very bad and serious message forcing the server a reboot and rescue mode working.


I successfully removed the raid and mounted /dev/sdc1 into /data, but when I try to mount sdd1 into /data2 I get:

Code:
mount: you must specify the filesystem type
So, I exec:
Code:
mount -t ext4 /dev/sdd1 /data2
And I get the same error message. I tried with ext2 and ext3, but had the same result.

I also get this on dmesg:

VFS: Can't find ext3 filesystem on dev sdd1.

When I execute "fsck /dev/sdd1" I get the following:

Code:
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
Couldn't find ext2 superblock, trying backup blocks...
fsck.ext3: Bad magic number in super-block while trying to open /dev/sdd1




The superblock could not be read or does not describe a correct ext2
filesystem. *If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
* * e2fsck -b 8193 <device>
"fdisk -l /dev/sdd" reveals the following:

Code:
WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn't support GPT. Use GNU Parted.


Disco /dev/sdd: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Unidades = cilindros de 16065 * 512 = 8225280 bytes

Device                 Begin      End      Blocks  Id  System
/dev/sdd1               1      243201  1953512032   83  Linux

I successfully executed "mdadm --zero-superblock /dev/sdd1", but I got "mdadm: Unrecognised md component device - /dev/sdd1"


I tried everything my expertise could, but with no positive results.


Please, note that sdc1 and sdd1 have now different data, so I can't create a new raid 1 and put these disks into this raid.
 
Old 04-17-2012, 04:52 AM   #2
rodrifra
Member
 
Registered: Mar 2007
Location: Spain
Distribution: Ubuntu
Posts: 199

Rep: Reputation: 36
Try using testdisk to see if you can recover.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] mount: you must specify the filesystem type d072330 Linux - Hardware 6 01-29-2013 03:33 PM
mount: you must specify the filesystem type Flailing_Novice Linux - Hardware 7 10-16-2008 02:44 AM
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
mount:you must specify the filesystem type Aerolinux Linux - Hardware 2 02-23-2007 10:08 AM
how to mount without the filesystem type mascon Linux - General 7 05-01-2004 05:20 AM


All times are GMT -5. The time now is 12:58 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