LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 07: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, 07:18 AM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
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, 07: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, 07:41 AM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

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


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


All times are GMT -5. The time now is 12:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration