LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-06-2003, 05:17 PM   #1
jkcunningham
Member
 
Registered: May 2002
Location: Seattle, WA, USA
Distribution: Gentoo
Posts: 136

Rep: Reputation: 15
Help! Bizarre behavior on smbfs mounted NTFS drive


I just ran into some very bizarre behavior trying to read an smbfs mounted NTFS directory. A number of files were "invisible" to ls, but were actually there. Others were unaffected. It is not a permissions issue, nor are these hidden files. They are outwardly no different than the ones that can be seen. The file names are not too long (shorter in fact than some of those that can be seen). They are text files.

There are about 300-400 files in this directory on a publically shared network server (NTFS) - all text files of a few hundred Kb each. On a windows machine I can see them all, open them, etc. There are no special attributes set on these files. I created them from my Gentoo box and moved them to this location using the smbfs mount. I've had this directory mounted for months and never had any problem before this.

Today I went looking for a set of files and they weren't there - as far as the Gentoo smbfs mount is concerned. But they are still there on the windows side.

To try to debug this, I created a new directory on the network drive and copied the contents of the borked one into it - Icould see all the files at that point from the Gentoo box. But when I deleted the old directory and renamed the new one back to the old one, suddenly the same subset of files were invisible again. I even checked with ls -a, but its just like they don't exist.

I also tried regenerating the files. Same result.

I have no control over the directory name - it has to be named what it is for compatibility with program software maintained by others. - otherwise I'd just work out of a different one.

Oh - and a Redhat 9.0 system mounting this drive the same way can see all the files just fine. Here is the /etc/fstab mount line I use:

//136.200.0.183/groups /home/groups smbfs \
credentials=/.smbfscred,uid=1002,gid=100 0 0

This is totally bizarre. Does anyone have any idea what's going on?

Thanks.
-Jeff
 
  


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
Rsync mounted NTFS drive phatboyz Linux - Networking 0 11-22-2004 02:31 PM
Can't access mounted NTFS drive Nychold Linux - Hardware 1 06-12-2004 02:45 AM
How to mount (and keep mounted) a NTFS secondary drive? lionofdharma Linux - Hardware 8 04-25-2004 02:05 PM
bizarre python behavior - simple cgi variables SerfurJ Programming 2 04-14-2004 02:58 PM
Bizarre KDE behavior as root lava135 Linux - Newbie 4 09-04-2003 03:18 PM


All times are GMT -5. The time now is 10:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration