This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Author Message
Joined: Jun 10, 2008
Posts: 1
Other Topics
Posted Jun 10, 2008 at 9:26:19 PM
Subject: Volume Problem uBuntu
As you might notice this thread is a about my problem with my volume :P Any ways, the whole started with that I couldn't mount my external hard driver with NTFS, so I tried some tweaks, first of all I ask'd a dude at work who's a Unix technician and he said that i should type in the "terminal" (Donno if it's named terminal in the un-swedish version :P ) He told me to type "mount -t NTFS /dev/sdb1 /media/externalusb" So that is what I did. dumb as I was. but I made that dir first since there didn't exist any there before :P The thing was that sdb1 was another volume with NTFS about 150 GB worth of data. As you might see I only changed the volume path to /media/externalusb. At that point I didn't realize that I had changed the path or moved the whole volume or changed the volume name or whatever. So I DELETED all files/data in that folder which was named externalusb. Then later I looked in "Hard drive 1" which was the original name of that NTFS volume and saw that all data/files was gone, at that point I realized that I just had deleted 150 GB data. So I've been lookin' for a program to recover data of a volume and discovered "PhoteRec" which was kinda good but not the thing I was looking for, Since it requires that you have that amount of free space of the data that you want to recover (which in my case was 150 GB), on another partition. I don't have another partition with so much free space. [color=red][size=18]So the question is now, how can I recover my deleted data/files on my "hard drive 1" volume, without being in need to recover all data to another partition?[/size][/color] As I would have with PhotoRec. Just a pointer: :) I later realized how to mount my external NTFS hard drive :P just wrote "mount -t ntfs /dev/sdg1 /media/real\ thing force -0" in the "terminal" and all work as intended. (had to force the mount since it didn't allow me to mount it in another way). another pointer: I use NTFS cos I got a school laptop with Windows as OS and I'm not allowed to change the OS. So I use NTFS so I can use the hard drive with both my windows based computer and this Unix based computer.
Back to top Profile Email Website
Penguin
Joined Mar 28, 2008
Posts: 88

Other Topics
Posted: Jun 17, 2008 10:46:23 AM
Subject: Volume Problem uBuntu
I'm afraid I don't have a solution, just an explanation... The reason why it wants you to rescue the data to another drive is that when data is written to a drive, it's not written all in one block - adding to it as you need to, the data is actually spread out all over the disk (remember the disk Defrag you used to have to do in Windows ? It moved the data so it was closer together). So, since the data is spread out across the drive, if you were to write to the drive you would, in all probability, overwrite some of the data you're trying to recover. I hope that clarifies the why, but I'm afraid I don't know of any software to do what you want. Penguin
Back to top Profile Email Website
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya