While the solution below probably works, I think the explanation of the problem 
is bogus.  SMB and CIFS are two names for the same protocol.  The fact that 
smbfs and cifs use the same port tells me that they are talking to the same 
server process.

Sounds to me like there is a Linux bug, probably in smbfs.  Is this a zSeries 
Linux only problem, or does it occur on Intel Linux?

It would be interesting to know if it fails on Power Linux, or some other 
big-endian Linux system, so we can tell if this is an endian bug or some other 
problem.

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Romanowski, John (OFT)
Sent: Wednesday, December 08, 2004 5:36 AM
To: [EMAIL PROTECTED]
Subject: Re: smbmount question


I had a problem with smbmount of Win shares that had more than 400-500
files: ls and mc listed only the first 400-500 file names as if the
others didn't exist. My IBM Suse SLES8 support said its due to a known
bug in SMB on the Win-side, not a Linux bug. Suggested I use cifs
(common internet file system) which is replacing smb.  Cifs is already
built into winxp and uses same ports as smb.   Cifs solved my problem,
might solve yours.

Instead of smbmount's I do mount.cifs 

mount.cifs command is the samba mount utility for the cifs filesystem,
the replacement for smbfs. SLES8 kernel supports cifs but doesn't have
the mount.cifs command yet. You don't need to run samba to use
mount.cifs.
On my SLES8, doing lsmod listed cifs as a loaded kernel module.

If you're interested in trying it:
Download the c source program file, mount.cifs.c, from 
url http://us1.samba.org/samba/Linux_CIFS_client.html   the link called:
"Source for cifs mount utility on sambaweb"

Download the man page file, mount.cifs.8, from same url, the link
called:
"man page for mount utility"
Compile the c program with command: make mount.cifs
creating executable binary: mount.cifs

Copy executable mount.cifs to /usr/local/sbin/
And copy man page to /usr/local/man/man8/

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Istvan Nemeth
Sent: Wednesday, December 08, 2004 2:35 AM
To: [EMAIL PROTECTED]
Subject: smbmount question

Hi!

smbmount works strange for me: when I mount a winxp share and walk into
a
"folder" wich contains 484 files, and I re-read it in mc some files
disappear.

Noone is writing in this folder.

I want to "tar" some files, but:
"tar: /mnt/xx/data1.txt: file changed as we read it"
...and when I repeat the tar command I get this message for the same or
another files... the created .tar file is always different from the
previous ones: contains different number of files.

??

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to