[Samba] Questions about file system support in Samba

Hibbard Smith smitty at essnjay.com
Sun Feb 5 17:27:03 GMT 2006


Here it is.  As I said, I'm new at Samba. 

This is really borrowed from the sample provided with FC4. I've edited out
everything that I had commented out and the commentary in the interest of
size.

Thank you all for all the help.

[global]
	netbios name = Shadow1
	workgroup = LANGROUP
	log level = 2

	server string = Samba Server

	printcap name = /etc/printcap
	load printers = yes

	log file = /var/log/samba/%m.log
	max log size = 50
	security = user
  	password level = 8
 	 username level = 8

 	 encrypt passwords = yes
	  smb passwd file = /etc/samba/smbpasswd

	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

	dns proxy = no

#============= Share Definitions =====================
	idmap uid = 16777216-33554431
	idmap gid = 16777216-33554431
	template shell = /bin/false
	winbind use default domain = no
	username map = /etc/samba/smbusers
	security = user
;	encrypt passwords = yes
;	guest ok = no
;	guest account = nobody

[homes]
	comment = Home Directories
	browseable = no
	writeable = yes
	printable = no

[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
;   public = yes

[public]
	path = /TheArray
	writeable = yes
	browseable = yes
;	guest ok = yes
;	public = yes
	valid users = judith smitty
	printable = no

Hopefully, this isn't too screwed up!

Thanks again,

Smitty
Hibbard T. Smith, JR
smitty at essnjay.com
 

> -----Original Message-----
> From: samba-bounces+smitty=essnjay.com at lists.samba.org [mailto:samba-
> bounces+smitty=essnjay.com at lists.samba.org] On Behalf Of Stéphane Purnelle
> Sent: Sunday, February 05, 2006 11:55 AM
> To: samba at lists.samba.org
> Subject: Re: [Samba] Questions about file system support in Samba
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hibbard Smith a écrit :
> > I tried to access these shares from Windows XP Pro SP2 and got identical
> > results.  Ext3 filesystems smaller than 2 GB work fine.  Anything bigger
> > than 2 GB and xfs filesystems of any size fails.
> >
> > I guess I'm going to have to resort to reading code, posting on bugzilla
> as
> > a bug and maybe switching to a Windows based server.  I really need to
> get
> > this system up and doing its intended job.
> >
> > I'd really like to hear from someone that they are actually exporting
> ext3
> > filesystems larger than 2 GB and xfs filesystems and it's working.  If
> > they're doing so with the Fedora core 4 release, that would definitely
> point
> > to something strange here.
> >
> > Smitty
> > Hibbard T. Smith, JR
> > smitty at essnjay.com
> >
> >
> >> -----Original Message-----
> >> From: samba-bounces+smitty=essnjay.com at lists.samba.org [mailto:samba-
> >> bounces+smitty=essnjay.com at lists.samba.org] On Behalf Of Craig White
> >> Sent: Saturday, February 04, 2006 12:29 PM
> >> To: samba at lists.samba.org
> >> Subject: Re: [Samba] Questions about file system support in Samba
> >>
> >> On Sat, 2006-02-04 at 12:00 -0500, Hibbard Smith wrote:
> >>> I'm a relative newcomer to Samba, but very experienced with computers
> >> and
> >>> linux.  I'm attempting to build a file/backup server for a small shop.
> >> I'm
> >>> using Fedora core 4 and samba on a system with a 2.1 TB RAID 50 array
> >>> formatted as 1 very large xfs partition.  I want to share directories
> >>> (folders) within the partition with a few Windows XP-Pro SP2 systems
> >> which
> >>> are our primary work-stations.  Currently I'm running samba-3.0.21b.
> I
> >>> started with the 3.0.14 that was released with FC4, but upgraded to
> the
> >>> "latest and greatest" when I couldn't make the original work
> correctly.
> >> The
> >>> kernel has also been upgraded to the Fedora released 2.6.14.1-1656-
> FC4-
> >> SMP.
> >>>
> >>>
> >>> Our business is primarily imaging and video.  A large percentage of
> our
> >>> files are over 2 GB with some way over that.  Therefore, the only way
> >> this
> >>> could be useful is with very large shared file systems.
> >>>
> >>>
> >>>
> >>> Here are the issues and my questions:
> >>>
> >>>
> >>>
> >>> When I try to share this large partition (2.1 TB xfs) and use
> smbclient
> >> to
> >>> access it, the log records an error which states that "the share
> doesn't
> >>> exist or can't be accessed The error was access denied". I've made the
> >> share
> >>> mode 0777 just to make sure permissions wouldn't get in the way.  If I
> >> move
> >>> the share to an ext3 file system that's smaller than 2 GB it works
> >>> correctly.  Any file system over 2 GB or any size xfs file system
> >> produces
> >>> the error.  I haven't even tried to access the shares from a Windows
> >> system
> >>> yet, I'm just using smbclient on the Fedora system.  I'm pretty sure
> >> I've
> >>> got the config and permissions right because just changing the share
> to
> >> an
> >>> ext3 file system under 2 GB works fine.
> >>>
> >>>
> >>>
> >>> So, here's my question(s):
> >>>
> >>>
> >>>
> >>> 1)       Does samba work with xfs file systems?
> >>>
> >>>
> >>>
> >>> 2)       Does samba work with large file systems (2 GB +)?
> >>>
> >>>
> >>>
> >>> 3)       If the answer to the above is yes, what might I be doing
> wrong?
> >>>
> >>>
> >>>
> >>> I haven't been able to find limits documented anywhere.  However, I
> see
> >> a
> >>> great deal of discussion on the web about files over 2 GB along with
> >>> suggestions that they work fine.  This would imply that file systems
> of
> >> over
> >>> 2 GB must work okay.  I've also seen much discussion which would
> suggest
> >>> that xfs works fine also.  All this discussion seems to indicate that
> >> I've
> >>> got something wrong.  I'm just not sure what it is or how to proceed.
> I
> >>> have turned samba debugging up and the logs show that the correct
> >> user/group
> >>> is being used and that case is working okay. So, I'm really confused
> and
> >> I
> >>> sure would appreciate any help.  I really need to get this done and I
> >> don't
> >>> like the alternative (Windows Server 2003).
> >>>
> >> ----
> >> I don't use smbclient much at all but am of the belief that smbclient
> >> application would use an smbfs type mount and my understanding is that
> >> an smbfs mount would error on files > 2Gb whereas the cifs mount would
> >> not.
> >>
> >> samba should have no problems with filesystem of that size.
> >>
> >> Craig
> >>
> >> --
> >> To unsubscribe from this list go to the following URL and read the
> >> instructions:  https://lists.samba.org/mailman/listinfo/samba
> What exactly is the error in samba log ?
> Can you verify the mount point description and the right of directory
> that you want to share.
> Could you send your smb.conf ?
> 
> 
> - --
> Stéphane Purnelle <stephane.purnelle at tiscali.be>
> Site Web : http://www.linuxplusvalue.be
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFD5i3x8tswkE3d0ecRAjW6AKCECSCwE8EBt1XY8F0lY1cgBkco8wCfU4kD
> oQJ7MUPDsGpQuLvAkd08IUQ=
> =unoZ
> -----END PGP SIGNATURE-----
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list