Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Netapp: toasters

trouble accessing nfs .snapshot dirs via cifs shares

 

 

Netapp toasters RSS feed   Index | Next | Previous | View Threaded


romeotheriault at gmail

Oct 22, 2009, 7:32 AM

Post #1 of 1 (255 views)
Permalink
trouble accessing nfs .snapshot dirs via cifs shares

Hello, We have a VMware environment with nfs as the transport protocol. What
I'm testing out is snapvaulting the vmware datastores to another filer and
then creating cifs shares on the snapvaulted volumes (qtrees), so the
windows client vm's can access their vmdk files to restore files. I should
state that I'm a newbie to cifs on the netapps as we are a unix shop. But, I
have the snapvault setup all working. Where I'm running into problems is
accessing the directories in the shares when I map a drive in windows to the
share.

I configured cifs to authenticate against:

(3) Windows Workgroup authentication using the filer's local user accounts

So I created a user 'vmrestore' though the useradmin tool and user vmrestore
is part of a group cifsonly which has role none assigned to it. I then added
an entry to /etc/passwd for the vmrestore user. At this point I can create a
share to the vmware .snapshot directory on the snapvault destination and
give the vmrestore user access to the share via:

filer> cifs access vmsnaps vmrestore rwx

I can now connect to the share fine but cannot access any of the shares
folders as I get a "Access is denied" error. I've been reading the netapp
docs and googling around for a while now but am having a difficult time
understanding how I need to configure the local user account so I can access
the folders/files on the unix security style volumes.

I've tried mapping the vmrestore user to the root user via the usermap.cfg
file. Thinking that since the vm files are owned by root maybe the vmrestore
user has to be mapped to a user with a uid of 0 to have access to them. I've
also tried the --forcegroup option on the share.

Basically, I'm not having any luck and wanted to see if anyone has run into
this (or just knows what I'm doing wrong).

Any help is very much appreciated.

Thanks,

--
Romeo Theriault
System Administrator
Information Technology Services

Netapp toasters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.