LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Problem using Windows to SMB mount an NFS-mounted disk (http://www.linuxquestions.org/questions/linux-networking-3/problem-using-windows-to-smb-mount-an-nfs-mounted-disk-945557/)

Sroys 05-17-2012 12:34 PM

Problem using Windows to SMB mount an NFS-mounted disk
 
Hi,
I have an IOMEGA NAS that is mounted to a Linux server using NFS (mount point = /media/nas). I want to then export that directory, /media/nas, from the server as an SMB share so I can access it from Windows computers. That way, I can simply use the Linux libpam-smbpass authentication to keep track of the user's UIDs, GIDs, and passwords rather than having to make sure the NAS has all the current Linux information to allow Windows users to SMB mount the data properly, particularly since the NAS is being used primarily with Linux systems and ownership and permissions matter.

This *almost* works, but when I try to copy a file from Windows onto the NAS by dragging it or using "copy" and "paste" from the windows explorer, it fails with "Cannot Copy: The process cannot access the file because another process has locked a portion of the file". However, I can create files on the NAS from Windows, so it's not just a simple permissions setting - if I use Word (or whatever), I can "Save as" onto the NAS with no problem. It's just the Windows Explorer-based copy that fails, which makes it impossible for me to reach my ultimate goal of being able to drag data from my Windows system and drop it onto the NAS.

Help!

Sroys 05-21-2012 01:49 PM

NFS to SMB problem
 
Quote:

Originally Posted by Sroys (Post 4681045)
Hi,
I have an IOMEGA NAS that is mounted to a Linux server using NFS (mount point = /media/nas). I want to then export that directory, /media/nas, from the server as an SMB share so I can access it from Windows computers. That way, I can simply use the Linux libpam-smbpass authentication to keep track of the user's UIDs, GIDs, and passwords rather than having to make sure the NAS has all the current Linux information to allow Windows users to SMB mount the data properly, particularly since the NAS is being used primarily with Linux systems and ownership and permissions matter.

This *almost* works, but when I try to copy a file from Windows onto the NAS by dragging it or using "copy" and "paste" from the windows explorer, it fails with "Cannot Copy: The process cannot access the file because another process has locked a portion of the file". However, I can create files on the NAS from Windows, so it's not just a simple permissions setting - if I use Word (or whatever), I can "Save as" onto the NAS with no problem. It's just the Windows Explorer-based copy that fails, which makes it impossible for me to reach my ultimate goal of being able to drag data from my Windows system and drop it onto the NAS.

Help!

No thoughts?


All times are GMT -5. The time now is 01:47 PM.