LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-11-2008, 11:38 PM   #1
fofire
LQ Newbie
 
Registered: Aug 2006
Posts: 23

Rep: Reputation: 15
External Hard drive


Hi guys,

Thanks for your answers in advance.

I just got a new WD Passport (250 GB) and I was transfered my data over (in Windows). Then later on I decided to transfer some mp3's over on to the external hard drive. When I did that for some reason it copied the files into the main directory and it seems as if all the data I had originally transfered over had disappeared.

However in both windows and Linux it accounts for the space of the transfered files although it doesnt show the data . . . anybody have a clue what might be going on . . . I didnt by accident hide those files and click on the do not show hidden files button.

Any clue what I should do . . . like I said this is brand new.

Fofire
 
Old 01-11-2008, 11:43 PM   #2
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by fofire View Post
When I did that for some reason it copied the files into the main directory and it seems as if all the data I had originally transfered over had disappeared.
Fofire
How does this matter? Where us the main directory? Please ensure clarity. ALso, put in more details like the file system etc.
 
Old 01-11-2008, 11:43 PM   #3
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by fofire View Post
When I did that for some reason it copied the files into the main directory and it seems as if all the data I had originally transfered over had disappeared.
Fofire
How does this matter? Where is the main directory? Please ensure clarity. Also, put in more details like the file system etc.

Last edited by deepumnit; 01-11-2008 at 11:46 PM.
 
Old 01-11-2008, 11:51 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680
How did you copy the files? Did you maybe copy multiple files to a single file using the dos copy command?

what command did you use to copy the files to the disk? Look at the long listing and see if there is a large file present. Could you maybe have copied them to a subdirectory by mistake?

You could use the "find" command to locate files above a certain size.
find /media/externaldrive/ -type f -size +6M

To the kernel, a directory is a text file. Its size increases with the number of files copied there, so you could try to locate a subdirectory with a large number of files based on the directories size:

find /media/externaldrive/ -type d -size +30K

The sizes I chose are just examples. I also made up the name of the mount point since you didn't indicate that info.
 
Old 01-12-2008, 11:42 PM   #5
fofire
LQ Newbie
 
Registered: Aug 2006
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal View Post
How did you copy the files? Did you maybe copy multiple files to a single file using the dos copy command?

what command did you use to copy the files to the disk? Look at the long listing and see if there is a large file present. Could you maybe have copied them to a subdirectory by mistake?

You could use the "find" command to locate files above a certain size.
find /media/externaldrive/ -type f -size +6M

To the kernel, a directory is a text file. Its size increases with the number of files copied there, so you could try to locate a subdirectory with a large number of files based on the directories size:

find /media/externaldrive/ -type d -size +30K

The sizes I chose are just examples. I also made up the name of the mount point since you didn't indicate that info.
I did a simple copy paste within windows.

As for the file system type its fat 32.

thanks for the help
 
Old 01-13-2008, 04:38 AM   #6
deepumnit
Member
 
Registered: Dec 2006
Location: NOIDA, India
Distribution: Debian, SUSE, Fedora
Posts: 334
Blog Entries: 1

Rep: Reputation: 31
You yourself must be able to deliver the solution. Just check if the files are hidden Thats all I can say! Also, just make sure that you safely unmount the drive before removing it. If you remove it without unmounting it, the data may not be written at all!

Last edited by deepumnit; 01-13-2008 at 04:40 AM.
 
Old 01-13-2008, 05:38 PM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680
Look at the results of:
find /media/<mount-point>/ -type f -name "*.mp3"

It sounds like the files that you can't find are all mp3's and you hadn't copied mp3's previously.
 
  


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
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-04-2007 11:28 PM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 09:03 AM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
External Hard Drive sloik2000 Linux - Hardware 4 08-17-2004 02:40 PM
XS Drive II external USB hard drive/card reader max74 Linux - Hardware 7 10-21-2003 10:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:01 AM.

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