LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-07-2005, 04:40 AM   #1
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Rep: Reputation: 30
Reiserf recovery of USB drive


I've got a USB drive that has got a corrupted Reiserf file system. How can I recover it, as I can't even mount the drive to look at it? I've look at the tutorial on this site, but it only seems to allow for IDE drives. Does anyone have any ideas?

Thanks
 
Old 04-07-2005, 05:59 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
cat /proc/bus/usb/devices

If yoru usb is detected, it should be there. The device will attached as /dev/sda1 or /dev/sdb1 depending on if you have another scsi device present.

init 3
reiserfsck --fix-fixable /dev/sda1
reiserfsck --rebuild-tree /dev/sda1

If it gives you permission problems,

mount -o remount,rw /dev/sda1
 
Old 04-07-2005, 02:48 PM   #3
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Original Poster
Rep: Reputation: 30
I got an error on both commands

bread: Cannot read the blocks (16004): (Input/output error).

Aborted

The blurb before it said that it was probably due to a hardware error, I'm using a 1 month old Lacie drive. Everthing started going wrong when the drive got unplugged without being unmounted.

Any ideas on how to proceed. It's no big deal if it has to be reformatted as this is just a test setup to check the reliability of the backup system (the Lacie) LOL.

Thanks for your help so far
 
Old 04-07-2005, 03:31 PM   #4
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
If you can't mount it, your drive is dead. Reiserfs does not screw up in my experience unless you have a drive degraded or dead. RMA your drive.
 
  


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
Raid 1 Recovery after a drive failed... Wyntyr Linux - General 2 09-02-2005 05:01 PM
Hard drive recovery, LVM Fonce Linux - Hardware 3 12-30-2004 10:47 PM
Reiserf, ext2, or ex3 Parradux Slackware 17 12-28-2004 08:34 AM
had drive recovery software kflano Linux - Software 0 12-09-2004 10:27 AM
RH recovery -- keeping /home from previous drive bock Linux - General 3 01-20-2003 11:21 PM


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