LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 04-17-2012, 10:35 AM   #1
mrm5102
Member
 
Registered: Apr 2011
Location: Philadelphia
Posts: 158

Rep: Reputation: 3
External Hard Disk Drive, Possible Corrupted Partition?


Hello All,

I have a question about an external 2.5" Western Digital Scorpio Black (320 GB) SATA HDD.

First just want to point out that this is just your normal 2.5" HDD that you would normally buy as a replacement HDD for a laptop, or to place in a separate USB enclosure, etc...
Originally when I setup this HDD I had basically 2 partitions on it. The 1st partition is a 40 GB HPFS/NTFS/exFAT and the 2nd partition was an ext3 Partition for my Linux machine with the remainder of the HDD space, around about 280 GB.

I hadn't used this Drive in a while and recently plugged it in the other day and was NOT able to mount either partition to my Linux machine, OpenSuSE 11.4 (Linux localhost 2.6.37.6-0.11-default #1 SMP 2011-12-19 23:39:38 +0100 i686 i686 i386 GNU/Linux).

If I run "fdisk -l" I can see:
Code:
Disk /dev/sdc: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xdc341073

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *          63   102398309    51199123+   7  HPFS/NTFS/exFAT
/dev/sdc2       102400000   625141759   261370880   83  Linux
And then trying to mount both partitions I get the following:
Code:
mmartin:/mnt # mount /dev/sdc2 /mnt/WD320Linux
mount: you must specify the filesystem type

mmartin:/mnt # mount -t ext3 /dev/sdc2 /mnt/WD320Linux
mount: wrong fs type, bad option, bad superblock on /dev/sdc2,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

mmartin:/mnt # mount /dev/sdc1 /mnt/WD320NTFS
ntfs_mst_post_read_fixup: magic: 0x00180900  size: 1024  usa_ofs: 0  usa_count: 8: Invalid argument
Record 6 has no FILE magic (0x180900)
Failed to open inode FILE_Bitmap: Input/output error
Failed to mount '/dev/sdc1': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
For the mounting of the NTFS Volume I get the same error when using mount and ntfs-3g commands.

The WEIRD part is, if I power up my OpenSuSE 11.2 Virtual Machine (using VMPlayer on my OpenSuSE 11.4 machine, which I was using for testing stuff a while back) I can successfully mount the NTFS partition, but that is the only partition that shows up in fdisk.

These commands were run from the Virtual Machine:
Code:
localhost:/ # fdisk -l
......
..... left out internal HDD stuff .....
......

Disk /dev/sdb: 42.9 GB, 42949672960 bytes
255 heads, 56 sectors/track, 5874 cylinders
Units = cylinders of 14280 * 512 = 7311360 bytes
Disk identifier: 0xaa10aa10

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        5873    41933192    7  HPFS/NTFS

localhost:/mnt # mount /dev/sdb1 /mnt/WD320
localhost:/mnt # echo $?
0
As you can see I can mount the NTFS partition without any problems at all, and I'm able to browse the files without any problems what so ever. I guess I'm just at a loss why it only shows one partition in the VM and that I'm able to mount it..? Also, in the VM if I go to "Partitioner" in YaST, it only shows the HDD having one partition with only 9 MB of Unpartitioned Space?

Could anyone suggest what I might do about this. Whether I should just backup what files are left and just wipe the drive clean and start over fresh or what not...?

Any suggestions would be great!

Thanks in Advance,
Matt
 
Old 04-17-2012, 01:04 PM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
gsmartctl

post the report

parted magic live cd
check partitions via gparted

testdisk
 
Old 04-17-2012, 02:32 PM   #3
mrm5102
Member
 
Registered: Apr 2011
Location: Philadelphia
Posts: 158

Original Poster
Rep: Reputation: 3
Hey amani, thanks for the reply.

I currently have the HDD plugged into another laptop and am running some tests with Gparted. I have a feeling though that there is a bad block on the Linux partition. I was able to save the files on the NTFS partition so it's not a complete loss. I'm thinking I may just nuke it with dban and start fresh.

Thanks,
Matt
 
Old 04-17-2012, 02:34 PM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Bad blocks indicate a drive may be failing. Run a smartctl long test or the manufacturer's utility (on UBCD in my sig). Post the results of the test and the SMART attributes after the test.
 
  


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
SATA Hard disk(Windows) MBR corrupted by IDE hard disk(Linux) Peter_APIIT Fedora 6 07-07-2007 01:20 AM
New Partition on External Hard Drive J_angel2000 Linux - General 1 04-08-2007 10:15 AM
problem seeing lvm partition on external usb hard disk kpachopoulos General 0 12-23-2006 05:43 AM
Disk full - external hard drive gaugain_ns Linux - Software 6 12-20-2006 02:08 AM
external hard drive with a bad partition LinuxPadawan Linux - Hardware 4 04-05-2005 11:47 PM


All times are GMT -5. The time now is 10:26 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration