Re: Linux Has Damaged My Drive C I want 2 recover my Data any suggestion



On 22 Mar 2006 21:05:55 -0800,
Japan <shahjapan@xxxxxxxxx>, in
<1143090355.783965.50630@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

+ I have mOunted my Drive C on /mnt/win_c of /dev/hda1
+
+ Now I have run following Command that damaged my C drive..
+
+ cp test.txt /dev/hda1

No, no, no. That should have been "cp test.txt /mnt/win_c/".

You where also logged on as "root" when you did this. That's bad
practice. Don't DO THAT.

+ After running above command My drive c is lost...

No doubt.

+ Now I want to recover my data of that drive What should I do...?
+ Any one have idea of it ?

You could spend an obscene amount of money and send the disk to a data
recovery service. I'm reasonably certain they can recover the data.

Other than that, you're out of luck. Oh, maybe if you have lots of
time and patience, you could extract the lost data, but I would't
recommend it. Unless you really like to suffer.

I'd chalk it up as a three point learning experience: keep decent
backups (disks also fail mechanically), run as root only when needed,
and if you are root, make sure what you type in a rootshell is what
you *really* want done.

--
Consulting Minister for Consultants, DNRC
I can please only one person per day. Today is not your day. Tomorrow
isn't looking good, either.
I am BOFH. Resistance is futile. Your network will be assimilated.
.



Relevant Pages

  • SUMMARY: Moving /usr From Under Root "/" To Its Own Partition
    ... One of the reasons for doing this is to end up with a smaller root ... Install the boot block and boot off the new drive. ... " In order for the root partition to be fscked and remounted ... D> temporarily on the existing disk. ...
    (SunManagers)
  • Summary: Restoring root fileset on 4.0d
    ... There is a renamefset command that was suggested, but since the system was running (only the clone backups were failing because the root fileset was mistakenly named "roottmp") I did not want to risk renaming the root filesystem in multiuser mode. ... I used the vdump/vrestore process to copy the original data for root, usr, and var to another disk and then I had a tech onsite move the new disk into the scsi position of the original disk. ... I want to restore the root advfs filesystem on a 4.0d system. ...
    (Tru64-UNIX-Managers)
  • Re: what to do about "cannot dump to dumpdev hd(1/41): space for
    ... smoke out anything that would point to root being there. ... whole disk division and maybe boot but nothing else. ... I've see that before when a client used Microlite Backup ... alter the file system and log its results to /tmp/logfsck. ...
    (comp.unix.sco.misc)
  • Re: Best Practices Survey: Disk Partitioning
    ... minimise root fs; ... => minimise size of actively changed filesystems to speed ... (again to restrict most disk activity to a more limited partition, ...
    (comp.os.linux.security)
  • Re: Does Scandisk MSG indicate Hardware, Application, or OS Issue? - R
    ... Windows 2000 SP4, ... I had a problem that I am trying to determine the root cause of a problem. ... A disk check has been scheduled. ... After this restore it complained ...
    (microsoft.public.windows.file_system)