Hi everyone,
(cc Philippine Linux Users' Group)

First off I'm not a member of the mailing list so it would be really great
if I could be cc'd all replies. TIA. :)

I am experiencing a problem with Samba/Linux to Samba/Linux smbfs mounts.
I am using Samba 2.2.2 on both client and server. The server's filesystem
is XFS, kernel is 2.4.16-xfs.

I have a 3.2GB (3340095767 bytes as reported by stat and ls) tar.bz2 file
in a share. Using smbclient the file is indeed 3340095767 bytes large.
>From a Windows workstation (Windows 95/98/NT), it is reported to be 3.2GB,
too.

However, when I mount the share via smbfs (on a Linux box, of course), the
same file is 2.0T as reported by du (ie: du -csh), 18446744072754680087
bytes as reported by ls, but is only 3340095767 bytes as reported by stat.

Further comparison of stat results of the same file via smbfs and directly
are intriguing.

directly (ie: on the server):

Size: 3340095767        Blocks: 6523640         IO Block: 4096  Regular File
Device: 80ah/2058d      Inode: 197708955        Links: 1

via smbfs:

Size: 3340095767        Blocks: 4293102313      IO Block: 4096  Regular File
Device: 8h/8d           Inode: 1775             Links: 1

I will find time when the system is not too loaded to compare the two
files (cmp and diff bail out because of the filesizes), probably using
md5sum. I can't do this right now because it's hogging the system and
taking forever.

The smaller files seem to be okay. I tested an arbitrary file using md5sum
and the "view" of smbfs and the fielsystem are the same.

Any thoughts? Thanks in advance! :)

 --> Jijo

--
Federico Sevilla III  :: [EMAIL PROTECTED]
Network Administrator :: The Leather Collection, Inc.
GnuPG Key: <http://jijo.leathercollection.ph/jijo.gpg>

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to