Hi again,
I was wondering if it's possible to share the same volume with CIFS and NFS and/or AFP? The FreeNAS documentation says, that it's possible although not recommended (http://doc.freenas.org/index.php/Sharing_Configuration): Here the doc ist referring to NFS and FTP (and CIFS and AFP).
Is there also a problem (concerning data corruption) if I'm sharing the same volume with CIFS and NFS? Is there still a problem when sharing the same volume with CIFS and AFP (if so, is there only a problem if Windows users start deleting the Mac files or are there other inherent problems?)?
Why am I asking this?
Well until now I was sharing a volume with CIFS to Windows and Ubuntu users. Although the performance was fairly low for the Linux users compared to the Windows users (100-60 MB/s vs. 20 MB/s), I was happy with it (at least it worked).
Recently one of the users bought an iMac with Mac OS X 10.7.3. After having had some hard time configuring the CIFS access on the Mac I finally managed it to get working. But here starts the problem. The Mac user is able to see the CIFS share and can copy from the share and copy to the share. The problem is that copyying files not always works as it should, for example: Sometimes you can copy 50 pictures to the CIFS share without having problems. Another time, when trying to copy the same (!) 50 pictures, the copy process ends suddenly saying "The operation can’t be completed because the item … is in use". So, only the pictures copied before the message arrives, are stored on the CFIS share. Of course there is no application accessing the pictures while I'm copying them to the share. I'm not sure, if that's a similar problem this guy is having: http://forums.freenas.org/showthrea...CIFS-file-mask-access-errors-on-Mac-10-6-10-7
After having done some search via Google I'm not sure if this is a FreeNAS- or Mac-related problem, although I'm tending towards Apple causing the problem as there was already a similar problem with Mac OS X 10.6.3 (http://osxdaily.com/2010/05/02/simple-fix-for-mac-os-x-10-6-3-samba-write-access-problem/) + Windows and Ubuntu users don't have this problems. As far as I can see this is a permission problem (correct me please, if I'm wrong - sorry, I'm no expert).
I shared another volume via NFS to the Mac. There were no problems with it at all.
So here my question: Is it possible to share the same volume with CIFS and NFS (or AFP)? Are there any problems to be expected? If so, which one?
Systems involved:
FreeNAS 8.0.2 Release amd64 (I had problems with 8.0.3 Release p1 x64 so I'm still using 8.0.2)
Windows 7 Premium 64bit (all servicepacks and patches installed)
Ubuntu 11.10 64bit
Mac OS X 10.7.3 Lion
CIFS share is configured with anonymous "guest" access (no password needed).
NFS share is configured with "nobody" access (no password needed).
Pktua
I was wondering if it's possible to share the same volume with CIFS and NFS and/or AFP? The FreeNAS documentation says, that it's possible although not recommended (http://doc.freenas.org/index.php/Sharing_Configuration): Here the doc ist referring to NFS and FTP (and CIFS and AFP).
Is there also a problem (concerning data corruption) if I'm sharing the same volume with CIFS and NFS? Is there still a problem when sharing the same volume with CIFS and AFP (if so, is there only a problem if Windows users start deleting the Mac files or are there other inherent problems?)?
Why am I asking this?
Well until now I was sharing a volume with CIFS to Windows and Ubuntu users. Although the performance was fairly low for the Linux users compared to the Windows users (100-60 MB/s vs. 20 MB/s), I was happy with it (at least it worked).
Recently one of the users bought an iMac with Mac OS X 10.7.3. After having had some hard time configuring the CIFS access on the Mac I finally managed it to get working. But here starts the problem. The Mac user is able to see the CIFS share and can copy from the share and copy to the share. The problem is that copyying files not always works as it should, for example: Sometimes you can copy 50 pictures to the CIFS share without having problems. Another time, when trying to copy the same (!) 50 pictures, the copy process ends suddenly saying "The operation can’t be completed because the item … is in use". So, only the pictures copied before the message arrives, are stored on the CFIS share. Of course there is no application accessing the pictures while I'm copying them to the share. I'm not sure, if that's a similar problem this guy is having: http://forums.freenas.org/showthrea...CIFS-file-mask-access-errors-on-Mac-10-6-10-7
After having done some search via Google I'm not sure if this is a FreeNAS- or Mac-related problem, although I'm tending towards Apple causing the problem as there was already a similar problem with Mac OS X 10.6.3 (http://osxdaily.com/2010/05/02/simple-fix-for-mac-os-x-10-6-3-samba-write-access-problem/) + Windows and Ubuntu users don't have this problems. As far as I can see this is a permission problem (correct me please, if I'm wrong - sorry, I'm no expert).
I shared another volume via NFS to the Mac. There were no problems with it at all.
So here my question: Is it possible to share the same volume with CIFS and NFS (or AFP)? Are there any problems to be expected? If so, which one?
Systems involved:
FreeNAS 8.0.2 Release amd64 (I had problems with 8.0.3 Release p1 x64 so I'm still using 8.0.2)
Windows 7 Premium 64bit (all servicepacks and patches installed)
Ubuntu 11.10 64bit
Mac OS X 10.7.3 Lion
CIFS share is configured with anonymous "guest" access (no password needed).
NFS share is configured with "nobody" access (no password needed).
Pktua