LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Problem mounting Hard Drive (https://www.linuxquestions.org/questions/linux-server-73/problem-mounting-hard-drive-834950/)

GMCbris 09-28-2010 08:56 AM

Problem mounting Hard Drive
 
Hi

Just a quick question on mounting a Hard drive on my server

(Mother board crashed and now have new server with new mother board and drive... and the server people have attached the original drive so I can get my data off it)

I run a Debian system

I have run a multitude of commands to try find what filesystem the hard drive is using

I get an error with this command

Code:

mount -t ext3 /dev/sdb /oldhd
Says not an ext3 FS so tried a few more and still nothing

How do I find out what it is?

I have tried this

Code:

fdisk -l
and got this result

Code:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000476b6

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1      60471  485733276  83  Linux
/dev/sda2          60472      60801    2650725    5  Extended
/dev/sda5          60472      60801    2650693+  82  Linux swap / Solaris

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000d38b1

  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1  *          1      60471  485733276  83  Linux
/dev/sdb2          60472      60801    2650725    5  Extended
/dev/sdb5          60472      60801    2650693+  82  Linux swap / Solaris

I was expecting another column with filesystem

any help is appreciated

GMC

GrapefruiTgirl 09-28-2010 09:03 AM

Nope, you got all the columns - The "Id" and "System" columns show you what file system is apparently on the partition.

I figure your problem is that you're mistakenly trying to mount the entire drive, rather than mounting one or more partitions of the drive. Try:
Code:

mount -t ext3 /dev/sdb1 /oldhd
..and see what that produces..

GMCbris 09-28-2010 09:05 AM

Quote:

Originally Posted by GrapefruiTgirl (Post 4111448)
Nope, you got all the columns - The "Id" and "System" columns show you what file system is apparently on the partition.

I figure your problem is that you're mistakenly trying to mount the entire drive, rather than mounting one or more partitions of the drive. Try:
Code:

mount -t ext3 /dev/sdb1 /oldhd
..and see what that produces..

I am sure I tried that

Let me go do it again... just in case

BRB

GMCbris 09-28-2010 09:08 AM

Quote:

Originally Posted by GMCbris (Post 4111449)
I am sure I tried that

Let me go do it again... just in case

BRB

Oh no... how embarrassing

Ahem....

thanks!!!

Worked as expected

*logging off ashamed of ones self*

GrapefruiTgirl 09-28-2010 09:09 AM

No problem :) we all overlook the obvious sometimes!

Please mark [SOLVED] using Thread Tools above.

Cheers!


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