Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-01-2013, 05:47 PM   #1
Registered: Jul 2006
Distribution: Debian i386
Posts: 111

Rep: Reputation: 15
HDD Recovery via SSH

Hello all!

Recently my server crashed for no apparent reason and well does not boot anymore, so the only thing I can do is work via the rescue CD and SSH. I thought I could just choose /etc /var and /home via WinSCP and just copy them to my home work station, but the thing is, it appears to go into a loops. The HDD is 167GB in size, but the files that it downlaods goes up to 300Gb plus and does not seem so stop at any time. The same goes if I try to tar those directories, it just tars until the HDD space runs out.

Is there anyway to just simply copy my files?
Old 01-01-2013, 05:54 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Sounds like the data on the hard drive is seriously corrupt. I'd suggest making an image of the various partitions of that hard disk using dd and then try running fsck on a copy of the relevant image(s) to see if you can get the file system back into semi normal state.

It might also be useful to run the various SMART self tests on the drive to see just how bad the situation is.

Either way, I certainly hope you have back-ups from before the drive failed!


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
New HDD install w/data recovery from old HDD w/different distro w/encrypted /home forbinproject Linux - Laptop and Netbook 1 02-27-2012 10:18 PM
Data Recovery on HDD djrobg Linux - Newbie 2 02-11-2010 11:21 PM
HDD partition recovery - HDD works but no partitions are accessible? stevod333 Linux - Software 6 10-01-2009 05:24 AM
Data recovery on HDD TwinsDad9901 Linux - Hardware 4 08-30-2009 12:09 PM
HDD Snapshot For Recovery Actinium Linux - Software 1 11-06-2007 01:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration