LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 05-17-2012, 12:34 PM   #1
Sroys
LQ Newbie
 
Registered: May 2004
Location: maryland, earth
Distribution: Ubuntu mainly
Posts: 4

Rep: Reputation: 0
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!

Last edited by Sroys; 05-17-2012 at 12:47 PM. Reason: clarification
 
Old 05-21-2012, 01:49 PM   #2
Sroys
LQ Newbie
 
Registered: May 2004
Location: maryland, earth
Distribution: Ubuntu mainly
Posts: 4

Original Poster
Rep: Reputation: 0
NFS to SMB problem

Quote:
Originally Posted by Sroys View Post
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?
 
  


Reply

Tags
nfs, smb, windows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to configure nfs mount disk to samba share for windows client harun7862003 Linux - Networking 2 11-09-2010 04:11 AM
[SOLVED] Problem writing to nfs mounted mount point blainemiller Linux - Newbie 4 10-26-2010 02:03 PM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 12:34 PM
How can I mount a NFS share that have a SMB share mounted? perezyanez Linux - Networking 2 09-26-2008 10:03 AM
A performance problem while writing to a shared folder (NFS/SMB) with Windows VM crisostomo_enrico Solaris / OpenSolaris 1 09-22-2008 06:27 AM


All times are GMT -5. The time now is 08:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration