Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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

 
discard

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.