View previous topic :: View next topic |
Author |
Message |
erebus n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 May 2002 Posts: 49 Location: United Kingdom
|
Posted: Fri May 23, 2003 4:00 pm Post subject: Network filesystem choices. |
|
|
Hi ya,
I'm about to redo the gentoo file/web/email etc server in my house and I'm wonder if there are any other ways of sharing files I should be considering.
At the moment we just use samba which works fine for the mix of Windows and Linux machines that we have lying around, but now there are going to be a couple of Mac OSX machines to contend with.
So basically what are my options here for sharing files across all 3 different platforms? Samba? NFS? anything else? Oh and preferably it will have to nativally supported by the client OS or available as a free add on.
From what I read it seems like I'm going to have to stick with Samba as Windows doesn't seem to support anything else, but I have noticed the Windows->Linux sharing is noticably slow than Linux->Linux sharing.
Would there be any advantage of having a mixed NFS/Samba share system? Keeping samba for Windows and have NFS for OSX and Linux.
Anyway hopefully someone here can offer some advice before I go ahead.
Thanks, |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
petu Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/153234079543abcf90833b8.jpg)
Joined: 01 Sep 2002 Posts: 269 Location: Turku, Finland
|
Posted: Fri May 23, 2003 4:18 pm Post subject: Re: Network filesystem choices. |
|
|
erebus wrote: |
Would there be any advantage of having a mixed NFS/Samba share system?
|
samba doesn't handle unix permissions correctly but nfs does. _________________ Never be afraid to try something new. Remember, amateurs built the
ark; professionals built the Titanic. -- Anonymous |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RedBeard0531 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Homer.jpg)
Joined: 21 Sep 2002 Posts: 415 Location: maryland
|
Posted: Sat May 31, 2003 12:40 am Post subject: |
|
|
NFS is designed with a trusting security model. It gives full acces (ro or rw) to the client computer, and assumes that all users have the same UID every machine. Therefore it should only be used for machines you trust. Samba exports based on a user name/password combination, so you can use it more liberaly.
Remember:
With NFS you can export to a machine
With SMB you can export to a user.
If you wana know more, I suggest buying a book. I reccomend the $20/1000 page "Linux Complete". It is where I leared that stuff. _________________ OH MY GOD! Kenny just killed Kenny!
That Basterd! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ctford0 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Marvel/movie_x-men_wolverine_2.gif)
Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Sat May 31, 2003 4:55 am Post subject: |
|
|
Quote: |
NFS is designed with a trusting security model. It gives full acces (ro or rw) to the client computer, and assumes that all users have the same UID every machine. Therefore it should only be used for machines you trust. Samba exports based on a user name/password combination, so you can use it more liberaly.
|
NFS doesn't assume that uses on both machine have the same UID, you the admin has to make a deliberate effort to make it that way. If the user on one machine doesnt have the same UID as the user on the other then they WILL NOT be able to access their files. I really dont consider that very trusting.
From my experiences if you plan on sharing your system with a windows based computer, then samba is the one to pick. However, using nfs you can have one machine will all the data and share it will other systems. You also have control over the systems that you share nfs with. NFS is very good for sharing things such as the entire /home dir so that no matter which machine someone logs in on your network they have all their files there in their /home dir. However this would mean that everyone would have to have an account on every machine.
Hope this helps.....
Chris |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Woland Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Southpark/avatar23.gif)
Joined: 02 Aug 2002 Posts: 248 Location: Russian Jack, Alaska
|
Posted: Sat May 31, 2003 5:36 am Post subject: |
|
|
ctford0 wrote: | However this would mean that everyone would have to have an account on every machine.
|
There are ways around this too, cluncky old NIS, the more svelt but to me confusling LDAP, and even good old rsync+ssh can be used to keep same user settings across multiple machenes. Which is the best, now that, from all I hear NIS is nearly dead and gone, might be a good subject for another thread, like this one.
As for combining NFS and SAMBA---why not? Have one machene be your NFS server, and make a nice UNIX network. Have another machene export what ever pieces of that network they need to their Windoze brethern. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|