LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-26-2008, 03:03 AM   #1
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Ubuntu, Mint, Debian, Suse
Posts: 307

Rep: Reputation: 32
Correct filesystem for use with Samba?


I have a (what I think is dumb) question...

Samba 3.0 uses a default filesystem of NTFS for shares (from reading the man page smb.conf(5)). My question is this:
Does this mean that all shares must be NTFS if I do not specify otherwise?

In other words - If I have an ext3 filesystem and I create a share and do not put it on a NTFS partition will it still work?

I'm thinking this may be a possible cause for some of my weird issues I'm currently having with samba. It is consistently inconsistent.

Thank you in advance.
 
Old 02-26-2008, 03:27 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I don't quite follow what you are saying, but maybe this helps.

I have a number of shares on a Linux server that are seen from Windows machines. The linux server disks are formatted as ext3, even though though to Windows they look like normal network drives. No NTFS partition(s) on the server.

Does that help?

Last edited by billymayday; 02-26-2008 at 03:28 AM.
 
Old 02-26-2008, 03:29 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You can share files from any file system.
Quote:
If I have an ext3 filesystem and I create a share and do not put it on a NTFS partition will it still work?
You cannot put an ext3 file system on an ntfs partition (I defy you to try) because ntfs is not a partition type, it is a file system.
Quote:
I'm thinking this may be a possible cause for some of my weird issues I'm currently having with samba.
Why not just state the problem? This may be relevant.
 
Old 02-26-2008, 04:09 AM   #4
teek
Member
 
Registered: Jun 2004
Location: The Netherlands; Dordrecht
Distribution: Arch (at the moment)
Posts: 110

Rep: Reputation: 16
Samba does not care about the files system, when the Linux install can read the partition, so can Samba. Use whatever filesystem you like.
 
Old 02-26-2008, 08:47 AM   #5
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Ubuntu, Mint, Debian, Suse
Posts: 307

Original Poster
Rep: Reputation: 32
Thank you all for your help clearing that mudy subject up for me. I was a little confused why or for what purpose this parameter had:
Quote:
fstype (S)

This parameter allows the administrator to configure the string that specifies the type of filesystem a share is using that is reported by smbd(8) when a client queries the filesystem type for a share. The default type is NTFS for compatibility with Windows NT but this can be changed to other strings such as Samba or FAT if required.

Default: fstype = NTFS

Example: fstype = Samba
At anyrate - billymayday cleared it up rather simply.

I have posted before as to the problems I have been having. But I suppose no one has seen the problem before - or I just didn't describe it well. I got no advice in my previous posts.

Thank you guys.
 
Old 02-26-2008, 12:57 PM   #6
teek
Member
 
Registered: Jun 2004
Location: The Netherlands; Dordrecht
Distribution: Arch (at the moment)
Posts: 110

Rep: Reputation: 16
Indeed, the setting you are talking about is for how other computers will see your samba share, samba just pretends to be a windows machine with a windows filesystem. Whether it identifies as fat of ntfs has to do with the limitations of fat which for example can't store file permissions. This has nothing to do with your actual filesystem.
 
  


Reply

Tags
ext3, filesystem, ntfs, samba, share


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
Samba corrupts filesystem jammer69 Linux - Networking 1 10-30-2006 09:27 PM
Trying to get permissions correct with Samba and SSH Micro420 Linux - General 7 09-13-2006 10:49 PM
correct ports for samba? skippuff54 Linux - Networking 2 08-02-2004 08:07 AM
Samba issue. Sometimes cannot login by using correct user/password. olegarr Linux - Networking 3 10-30-2003 09:17 PM
What is the correct Samba permission to my webserver /www directory? how to piratebiter Linux - General 1 09-21-2003 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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