LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 07-22-2007, 06:05 AM   #1
AppleNinja
LQ Newbie
 
Registered: Jul 2007
Posts: 2

Rep: Reputation: 0
Recovery of data due to incorrect use of 'mv'


Hi all,
I am fairly new to Linux, and even more so to Ubuntu. Recently whilst playing around with my Samba settings, and shared directories, I somehow managed to incorrectly use the 'mv' command resulting in the data within a directory completly dissapearing.

Initially the problem was the read\write settings for the directory:
/data/Lauren/
This directory wasn't accessible from the various windows machines on my LAN, so after chmoding, etc and using the mv command, to move /data/Lauren to /TheLauren, I somehow managed to come out the other side with no "/data/Lauren" and two new empty directories "/The" and "/Lauren"

Bassicly my question is, will I be able to use data recovery software to track down the original data and its directory structure? or has my data gone elsewhere?

I'm worried that if I attempt to do anything without advise I may run the risk of making matters worse.

Any help would be greatly appreciated.
Thanks,
AppleNinja.
 
Old 07-22-2007, 06:18 AM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Since you used mv, there's a chance that data is still there, just not exactly where you think.
Do you know the name of one file that was in /data/Lauren? If so, as root, do a "find / -name <filename>" to see where it has gone.
 
Old 07-22-2007, 06:38 AM   #3
AppleNinja
LQ Newbie
 
Registered: Jul 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the quick reply.
None of the files I searched for appear to be on the system anymore. What are the odds that an ext data recovery tool would help??
 
Old 07-22-2007, 06:41 AM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Depends on the file system. What do you use? What distribution?
 
  


Reply



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
cannot boot due to incorrect entry in fstab metcub Linux - General 3 11-27-2012 03:52 AM
LXer: Linux Data Recovery on Windows - Is possible through Disk Doctors Linux Recovery Software LXer Syndicated Linux News 0 10-22-2006 12:21 PM
kernel panic due to incorrect root partition neelay1 Linux - General 7 05-02-2006 03:14 PM
'Last Post' Column showing incorrect data Shade LQ Suggestions & Feedback 1 04-20-2005 01:31 AM
Data Recover Help -> Incorrect Partition Table PhuckFonix Linux - General 8 05-30-2004 10:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration