corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Repair HFS+ Partition over USB


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Repair HFS+ Partition over USB
noshua
Member

Registered: 19th Nov 08
User status: Offline
12th Mar 09 at 12:39   View User's Profile U2U Member Reply With Quote

Rather than a long explanation, I need to repair a HFS+ partition on a drive - although it's a 3.5" drive - so I can't connect it to my laptop. Ordering a USB caddy so I'll be able to connect the drive via USB.

I've heard some LiveCD's have fsck.hfsplus which apparently can fix the problem?

Any help is appreciated

EDIT: Forgot to say I'm on Vista (came with laptop), hence why I can't plug it into a Mac and repair it. Had HFS+ on the partition so 4GB+ files could be read on the 360.

[Edited on 12-03-2009 by noshua]
willay
Moderator
Organiser: South East, National Events
Premium Member


Avatar

Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
12th Mar 09 at 12:41   View Garage View User's Profile U2U Member Reply With Quote

if you dont run linux already, boot up a live cd like ubuntu, mount it and then run fsck on it. As per this webpage:

http://ubuntuforums.org/showthread.php?p=1859336
noshua
Member

Registered: 19th Nov 08
User status: Offline
12th Mar 09 at 17:13   View User's Profile U2U Member Reply With Quote

willay, you're a star. will let you know how i get on when the adapter arrives
noshua
Member

Registered: 19th Nov 08
User status: Offline
17th Mar 09 at 23:10   View User's Profile U2U Member Reply With Quote

Right the adapter arrived earlier, ICY BOX USB 2.0 IDE, plugged the corrupted drive in and booted up with Vista - Vista found the drive found but nothing ever appeared in My Computer - forgot to check diskmgmt.

Booted up Ubuntu Live CD, after taking its time to load nothing appeared in Computer. Changed the drive to ANOTHER corrupted drive with 2 NTFS partitions on them - both appeared in Computer.

Put the corrupted HFS+ drive back in, tried the DF -H command, nothing found.

Had a bit of a search on the net but couldn't find anything. Will get a copy of the system log if it's any help willay?
willay
Moderator
Organiser: South East, National Events
Premium Member


Avatar

Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
18th Mar 09 at 06:37   View Garage View User's Profile U2U Member Reply With Quote

boot ubuntu without the fucked drive plugged in.

Open a terminal, plug in the usb drive, wait a few minutes then type 'dmesg' in the terminal and post up the output.
noshua
Member

Registered: 19th Nov 08
User status: Offline
18th Mar 09 at 12:22   View User's Profile U2U Member Reply With Quote

Just wanna say thanks for the help so far willay, here's the log;


code:
[ 322.072052] usb 8-5: new high speed USB device using ehci_hcd and address 2

[ 322.208563] usb 8-5: configuration #1 chosen from 1 choice

[ 322.219374] scsi7 : SCSI emulation for USB Mass Storage devices

[ 322.222724] usb-storage: device found at 2

[ 322.222737] usb-storage: waiting for device to settle before scanning

[ 327.220608] usb-storage: device scan complete

[ 327.223961] scsi 7: Direct-Access ST350063 0A 0000 PQ: 0 ANSI: 0

[ 327.227376] sd 7: [sdc] 976773168 512-byte hardware sectors (500108 MB)

[ 327.229018] sd 7: [sdc] Write Protect is off

[ 327.229031] sd 7: [sdc] Mode Sense: 27 00 00 00

[ 327.229038] sd 7: [sdc] Assuming drive cache: write through

[ 327.231125] sd 7: [sdc] 976773168 512-byte hardware sectors (500108 MB)

[ 327.232642] sd 7: [sdc] Write Protect is off

[ 327.232654] sd 7: [sdc] Mode Sense: 27 00 00 00

[ 327.232660] sd 7: [sdc] Assuming drive cache: write through

[ 327.233938] sdc:<6>usb 8-5: reset high speed USB device using ehci_hcd and address 2

[ 388.412168] usb 8-5: reset high speed USB device using ehci_hcd and address 2

[ 419.480054] usb 8-5: reset high speed USB device using ehci_hcd and address 2

[ 450.548167] usb 8-5: reset high speed USB device using ehci_hcd and address 2

[ 481.616162] usb 8-5: reset high speed USB device using ehci_hcd and address 2

[ 512.684080] usb 8-5: reset high speed USB device using ehci_hcd and address 2

[ 513.641269] sd 7: [sdc] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK,SUGGEST_OK

[ 513.641289] end_request: I/O error, dev sdc, sector 0

[ 513.641301] Buffer I/O error on device sdc, logical block 0

[ 543.752567] usb 8-5: reset high speed USB device using ehci_hcd and address 2


[Edited on 18-03-2009 by noshua]
willay
Moderator
Organiser: South East, National Events
Premium Member


Avatar

Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
18th Mar 09 at 13:37   View Garage View User's Profile U2U Member Reply With Quote

If I'm reading that correctly you're getting hardware I/O errors when its getting plugged in, possibly because Ubuntu trys to automount it once detected. The issue you're going to have here is you'll get I/O errors once its mounted and you try to copy any data off it.

You could try copying all the data off the disc using something like dd_rescue which will do it a lower level and not give up copying even if it sees I/O errors.

Or you could try mounting like

sudo mkdir /mnt/drive
sudo mount /dev/sdc2 -t hfsplus -o rw /mnt/drive

then copy all the data off, however I dont think you'll get that far in this situation.

noshua
Member

Registered: 19th Nov 08
User status: Offline
18th Mar 09 at 16:59   View User's Profile U2U Member Reply With Quote

I'll try mount it using the commands you gave, the thing is though I don't really want to have to copy all the data off it and format it - as I don't have ~350GB spare to copy the data to.

Gotta nip off to work so I'll try when I get back if I get time, thanks again.
willay
Moderator
Organiser: South East, National Events
Premium Member


Avatar

Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
18th Mar 09 at 17:11   View Garage View User's Profile U2U Member Reply With Quote

hm that isnt good , maybe you should get a replacement drive first.
noshua
Member

Registered: 19th Nov 08
User status: Offline
25th Mar 09 at 10:53   View User's Profile U2U Member Reply With Quote

gonna give it a few more days and if i cant get it sorted it'll be going back as an RMA.

managed to get all my data off it onto another drive, tried formatting it to HFS+ again and it's still running in PIO mode - aka slow as shit mode.

tried formatting it to NTFS and windows gives the error 'Unable to successfully format' or something along those lines.

running SeaTools on the drive as I type this to see if it reports anything wrong with the drive, nothing so far.

any recommendations?
John
Member

Registered: 30th Jun 03
User status: Offline
25th Mar 09 at 12:09   View User's Profile U2U Member Reply With Quote

GRC spinrite.
willay
Moderator
Organiser: South East, National Events
Premium Member


Avatar

Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
25th Mar 09 at 14:50   View Garage View User's Profile U2U Member Reply With Quote

^^^ what john said, its highly reccomended but I havent tried it personally.
noshua
Member

Registered: 19th Nov 08
User status: Offline
25th Mar 09 at 18:09   View User's Profile U2U Member Reply With Quote

Shit, I had the download location to SpinRite bookmarked from a while ago and completely forgot about it. Will try it out and get back to you, cheers.
noshua
Member

Registered: 19th Nov 08
User status: Offline
25th Mar 09 at 19:01   View User's Profile U2U Member Reply With Quote

Doesn't want to perform any tests what-so-ever on the drive, sending the fucker back.

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
PC Question (sorted now) Steve Geek Day 13 1258
24th Dec 03 at 17:33
by Steve
 
Computer virus Gg_mf Geek Day 17 639
20th Jun 06 at 14:14
by Gg_mf
 
Formatting Question Cavey Geek Day 5 172
23rd Aug 06 at 15:54
by Bart
 
doing a full system restore corsa.v6 Geek Day 4 577
2nd Aug 07 at 16:33
by corsa.v6
 
My brain isnt working colour_golden Geek Day 6 280
12th Feb 09 at 21:35
by colour_golden
 

Corsa Sport » Message Board » Off Day » Geek Day » Repair HFS+ Partition over USB 28 database queries in 0.0476589 seconds