0

we have a freenas as a file server. how can i share a single folder with both windows and linux clients.?

stackedup
  • 11
  • 1
  • 5

2 Answers2

1

Share the folder as SMB. Your windows clients can mount this natively. You can then use cifs on your linux clients to mount the smb shares e.g.

mkdir /path_to/mount
mount -t cifs -o guest //server/share /path_to/mount

Have a look at the mount and mount.cifs man pages for the details

user9517
  • 115,471
  • 20
  • 215
  • 297
  • i have read that accessing files this way causes causes file corruption.and will this cause access right issues? – stackedup Dec 04 '10 at 10:36
0

I would simply activate both NFS (for Linux) and Samba (for Windows) services. Then point both to the same directory. For me that has worked quite well, but I am not constantly accessing with a lot of clients, leave alone have concurrent write transactions. I am not sure if FreeNAS would handle those well with both services on the same folder.

Stephan
  • 417
  • 1
  • 5
  • 13