Network and Storage Protocols
Network and Storage Protocols
Hi folks -- this is very confusing, and hopefully someone can share some light....
I have a couple volumes on my NetApp that I export very simply:
vol/files -sec=sys,rw,root=10.10.0.0/16
vol/files1 -sec=sys,rw,root=10.10.0.0/16
etc
All these have the same default QTREE (unix) value. All can be mounted just fine on Linux systems.
However on a Windows 2008 server in my environment, I can only write to *one* of the volumes, even though they appear identical to me in every way on the Filer!
Here's my mount command on the Windows command line (10.10.20.170 is the ip of the filer)
C:> mount -o mtype=soft \\10.10.20.170\vol\files X: < ---- works just fine
C:> mount -o mtype=soft \\10.10.20.170\vol\files1 Y: <---- mounts, but cannot write!
So odd! Thanks
It sounds more like a permissions issue to me.
It's user name mapping most likely... make sure to check that box on install. Windows won't be able to mount until you map the windows user to root (default only allows root to mount).
vol/files1 -sec=sys,rw=root=10.10.0.0/16
You may need to fix the "rw=root=" portion. Maybe put rw=10.10.0.0/16,root=10.10.0.0/16
Just a guess though.
Sorry, wduval02 -- that's a typo (man I *hate* doing that, when I'm asking for technical help). Both volumes are exported in the same way:
-sec=sys,rw,root=10.10.0.0/16
So I looked at this a little more and now am even more confused. I mapped both volumes as drives "X:" and "Y:" If I right-click and look at 'properties' the volume I can write to has a UID of 2002 and a GID of 2001 (screen shot below). But the volume that I can't write to has a UID / GID of 0. If I try to change this value, when I hit 'apply' I get "Access Denied." This is very strange. What or who set the UID/GID of 2002 2001? Someone on a linux client?
The Identity Management for UNIX Active Directory schema extension includes UNIX user identifier (UID) and group identifier (GID) fields. This enables Server for NFS and Client for NFS to look up Windows-to-UNIX user account mappings directly from Active Directory Domain Services. Identity Management for UNIX simplifies Windows-to-UNIX user account mapping management in Active Directory Domain Services.
Mapping (through either Active Directory Lookup or User Name Mapping) the UNIX user root (UID 0) to the Windows user Administrator—and also, mapping the group to which the root belongs to the Windows group Administrators.
By default, Server for NFS does not allow anonymous users to access a shared directory. When you share a directory, you can allow anonymous access to the directory and you can change the default anonymous UID and GID values to the UID and GID of any valid UNIX user and group accounts. If you change the anonymous UID and anonymous GID for a shared resource, those values will be used when reporting the owner of a file owned by a Windows user which is not mapped to UNIX user, even if anonymous access is not allowed.
To allow anonymous access to an NFS share using the Windows interface
====================================================================================================================================
Users of client computers can use the chmod utility to set the setuid (set-user-identifier-on-execution), setgid (set-group-identifier-on-execution), and sticky file mode bits on files or directories that are stored on an NTFS file system partition and shared through Server for NFS. When the file or directory is subsequently accessed by a UNIX-based client, the standard semantics for these bits will apply.
Changing setuid and setgid behavior
Use the following procedure to change the behavior of the setuid and setgid bits:To change setuid and setgid behavior
HKEY_Local_Machine\System\CurrentControlSet\Services\NfsSvr\Parameters\SafeSetUidGidBits = (DWORD)
Thank you Ravi -- that's good information.
I tracked the problem down -- at one point the volume that I could write to had been mounted on a Linux system and someone had down a chown/chgrp to it, assigned the UID/GID of 2001/2003, etc., and 777 permissions, recursively.
Cool, way to go!
Hi All,
I have created one NFS export in CDOT Array. and exported to Client subnet. i am able to ping the ip from windows client mechins. when itry to mount the that nfs export in windows server 2008 r2. i am getting network-53 error. Can anyone suggest me. how can i proceed with this.
Thanks & Regards,
RaviTeja
C:\Users\Administrator>net use S: 192.168.11.211:\Default_Mount_CIFS
System error 67 has occurred.
The network name cannot be found.
Hi,
For network -53 error try the following:
Review the used ports by running the windows command rpcinfo – p
VSM has this option for NFS:
[-mount-rootonly {enabled|disabled}] - NFS Mount Root Only
This optional parameter specifies whether the Vserver allows MOUNT protocol calls only from privileged ports (port numbers less than 1024).
The default setting is enabled. Hence, the system allows MOUNT protocol calls only from privileged ports (port numbers less than 1024).
Windows Services for UNIX can use ports other than 2049.
Thans,
Renifa
No change i got same issue againg.
I tryed with below option by changing both enable and disable.
[-mount-rootonly {enabled|disabled}] - NFS Mount Root Only
PS C:\Users\Administrator> mount
cmdlet New-PSDrive at command pipeline position 1
Supply values for the following parameters:
Name: S
PSProvider: FileSystem
Root: \\192.168.11.211\Default_Mount_CIFS
New-PSDrive : Drive root "\\192.168.11.211\Default_Mount_CIFS" does not exist or it's not a folder.
At line:1 char:6
+ mount <<<<
+ CategoryInfo : ReadError: (S:PSDriveInfo) [New-PSDrive], IOException
+ FullyQualifiedErrorId : DriveRootError,Microsoft.PowerShell.Commands.NewPSDriveCommand
PS C:\Users\Administrator> rpcinfo -p
program version protocol port
--------------------------------------------------
100000 2 udp 111 portmapper
100000 3 udp 111 portmapper
100000 4 udp 111 portmapper
100000 2 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 4 tcp 111 portmapper
100005 1 tcp 1048 mountd
100005 2 tcp 1048 mountd
100005 3 tcp 1048 mountd
100005 1 udp 1048 mountd
100005 2 udp 1048 mountd
100005 3 udp 1048 mountd
100021 1 tcp 1047 nlockmgr
100021 2 tcp 1047 nlockmgr
100021 3 tcp 1047 nlockmgr
100021 4 tcp 1047 nlockmgr
100021 1 udp 1047 nlockmgr
100021 2 udp 1047 nlockmgr
100021 3 udp 1047 nlockmgr
100021 4 udp 1047 nlockmgr
100024 1 tcp 1039 status
100024 1 udp 1039 status
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs