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 10-04-2010, 08:03 PM   #1
bighippo999
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Rep: Reputation: 0
Weird File Problem


I have 2 Mounts /mnt/Movies and /media/Movies, mnt goes to a network drive that is mounted via cifs and media is also a network drive mounted via NFS.

I normally keep drives in sync using rsync and have done so with these drives. But for some reason there's a bunch of files that on /media/Movies that just wont copy over to /mnt/Movies.

I've tried touching the files and then running rsync with the whole file option it picks up the files need to be sync'd but they don't appear.
I've tried using cp on the missing files but the files just never appear but it does take about the right time for the prompt to come back indicating it would be copying the data.

So my next idea was to use mc. I compared the 2 directories and it selects 83 files that are not in both folders, so then I tell it to copy them, and it comes back saying 'target already exists', if I overwrite or update they still dont appear.

I've unmounted the shares, reboot the server and both network drives and run the network drives disk check but nothings helping. I'm trying to avoid deleting the folder and just rsync'in everything again.

Any thoughts very much appreciated.
 
Old 10-04-2010, 08:09 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
What filesystems are your servers running on, especially the shared partitions? And what sizes have the files that won't copy?
 
Old 10-04-2010, 11:21 PM   #3
bighippo999
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Their both on NAS drives, but I believe the underlying file systems are ext3.
I can access the one NAS via ssh but the other doesn't have any other access other than web interface.

I've opened the share that's missing the files from another machine and can see all the missing files so it looks like it's just this server mounting it that's stopping me seeing them.

here's my line from fstab that's mounting the share missing files:-
//mss-031cbe/backup /media/backup cifs credentials=/etc/samba/mss-031cbe.smbpasswd,users,uid=root,gid=users,dir_mode=0775,file_mode=0664,noperm,nounix,noserverinfo 0 0

(gotta be honest didn't occur to check from another machine before posting so will be researching google too)
 
  


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
Bash file...weird problem vexx Linux - Newbie 15 10-06-2009 02:24 AM
weird audio file length problem ncsuapex Linux - Software 3 10-20-2007 08:28 AM
Weird File Problem sashhoney Linux - Software 1 05-26-2005 04:23 PM
weird MPlayer file problem GTBlackwell Linux - Software 1 02-16-2005 10:34 AM
A Really Weird File System Problem atheist Linux - Software 13 07-08-2004 03:36 AM

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

All times are GMT -5. The time now is 09:45 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