Koozali.org: home of the SME Server

SMBMOUNT

Dean Mumby

SMBMOUNT
« on: August 28, 2002, 12:01:33 PM »
Hi
I have a question regarding mounting a samba share.
I have mounted a share using
mount  -t smbfs -o username=xxx,password=xxx //server/share /opt/directory
this works fine and I am able to read the data and back it up using rsync.
The problem is I have a 8.2 gig exchange backup file which is 5.3 gigs on the disk and I am seeing it as a 500 meg file. I am aware that I cant copy the file to my linux server so I sync it a windows box at a different location but I am concerned why it is seeing the file as 500 meg. Is there a limitation with samba , this is a stock sme 5.1.2 box. or is this related to the limitation of ext2 ?

Greg Zartman

Re: SMBMOUNT
« Reply #1 on: August 28, 2002, 07:48:44 PM »
Yes, there is a ext2 limitation with respect to samba.  I believe ext2 can't handle files over 2gb in size.  

In past versions of Samba, I've noticed that samba didn't do a good job or reporting file sizes on windows shares but never as bad as what you're seeing.   I'm fairly confident that there's nothing with SME that's causing this.

I'd suggest posting to the samba mailing list.  If you don't want to subscribe, I can post a question for you.  Let me know.

Greg

Dean Mumby

Re: SMBMOUNT
« Reply #2 on: August 28, 2002, 08:42:50 PM »
Greg
I would appreciate it if you would post this on the samba list. Do you think I should upgrade to the latest version of samba ?

Regards
Dean

Greg Zartman

Re: SMBMOUNT
« Reply #3 on: August 28, 2002, 09:03:43 PM »
Dean Mumby wrote:
> list. Do you think I should upgrade to the latest version of
> samba ?

I always like to run the most recent version of Samba as they are continually enhancing integration with windows networking and fixing issues.  If you do upgrade, follow this howto:

http://myezserver.com/downloads/mitel/howto/samba-howto.html

Make sure that you follow the steps here precisely as SME has several "hooks" into samba that are easily broken.  

I'll let you know what comes from posting your question on the Samba list.

Greg




>
> Regards
> Dean

Greg Zartman

Re: SMBMOUNT
« Reply #4 on: August 30, 2002, 02:35:06 AM »
Dean,

I just wanted to get back with you on this.  I posted your question on the Samba mailing list, but haven't had a response as yet.

Greg

Dean Mumby

Re: SMBMOUNT
« Reply #5 on: August 30, 2002, 10:19:01 AM »
Thanks Greg,
I await theor response with much anticipation. I have since redone the exchange backup anf the same problem still exists. I have not yet upgraded samba will do today. 8 gig file, compressed to 5.6 gigi on disk, sambsa sees it as 500 meg.

Regards
Dean