Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

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

share|improve this answer
i have read that accessing files this way causes causes file corruption.and will this cause access right issues? – stackedup Dec 4 '10 at 10:36

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.