Author Topic: [solved] Samba, NFS or NFSv4  (Read 1502 times)

0 Members and 1 Guest are viewing this topic.

Offline shrek8421

  • Neuling
  • *
  • Posts: 27
[solved] Samba, NFS or NFSv4
« on: 26. August 2012, 15:50:33 »
Hi ,
I need to share files from my linux(server) to windows(client).

After systemd which would be the best way to do it?

Is there something else?
Any help will be much appreciated.
« Last Edit: 02. September 2012, 15:51:00 by philm »

Offline snek

  • Neuling
  • *
  • Posts: 22
  • Branch: stable
  • Desktop: XFCE
  • GPU Card: nVidia 6600GT
  • GPU driver: non-free
  • Kernel: linux39-x64
Re: Samba, NFS or NFSv4
« Reply #1 on: 27. August 2012, 22:37:39 »
For sharing to windows you're probably best off using Samba.
I've been using that for about 6 years now and it works just fine.
Speeds are very acceptable these days, I easily get 75MB/s up to 120MB/s but my mobo has a pci-e gbit lan and the drives are pretty new so good performance is to be expected.

For a simple unsecure share I just used:
Code: [Select]
        path = /media/2tb
        read only = No
        guest ok = Yes

This allows everyone read & write access to that mount point.
You'll probably want to work on some security but if you are the only user you could just opt to skip that I guess..

NFS is probably better for Linux<->Linux shares though since it holds permissions.

You could try out samba4 but I have no idea how stable that is, have not yet had time to experiment through a VM.
« Last Edit: 27. August 2012, 22:40:57 by snek »

Offline shrek8421

  • Neuling
  • *
  • Posts: 27
Re: Samba, NFS or NFSv4
« Reply #2 on: 28. August 2012, 05:19:34 »
Thanks mate.
I am now using samba. I wanted to know if it better to use something else.
Thanks for the answer.