PDF2
PDF2
6 - 36 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Workgroups
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
6 - 37 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Workgroups
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MODULE SUMMARY
6 - 38 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Workgroups
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MODULE SUMMARY
6 - 39 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Workgroups
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
EXERCISE
Please refer to your Exercise Guide for more instruction.
6 - 40 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Workgroups
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
6 - 41 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Workgroups
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
7-1 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MODULE OBJECTIVES
7-2 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
SHARE ADMINISTRATION
7-3 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
DISPLAYING SHARES
7-4 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
C$ / Remote Administration
BUILTIN\Administrators / Full Control
7-5 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Shares
Default Shares
Exports
7-6 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
NOTE: You must log in with a user account that is defined in the
BUILTIN\Administrators group
© 2010 NetApp, Inc. All rights reserved.
7-7 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
ACCESSING SHARES
7-8 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
ACCESSING A SHARE
7-9 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
RUN DIALOG
On a Windows workstation using the Windows “run line,” access the C$ share on the storage system
“system” by performing the following steps:
On the Windows desktop, click the Start menu and choose Run. The Run window appears.
In the Open text box, type \\storage_system_name\C$ (\\system\C$). Note: The storage system name can
be the name or IP address. Click the OK button, and then the Connect To window appears.
In the Connect To window, type the user name administrator and the password, and then click the OK
button. The \\system\C$ window appears with the share access to C$ that displays the “etc” and “home”
folders.
7 - 10 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
\\10.254.134.35\C$...
7 - 11 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
7 - 12 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
ENCODING
The CIFS protocol requires the Unicode encoding method. Unicode is an industry standard allowing
computers to consistently represent text in most of the world’s writing systems. Unicode provides a unique
number for every character regardless of the language. See www.unicode.org for more information.
If a volume is exclusively being accessed by CIFS or NFS v4 or later, then consider setting the
create_ucode and convert_ucode volume options. The Create_ucode option forces newly created
directories to be Unicode directories for both NFS and CIFS. By default it is set to off, in which case all
directories are created in a non-Unicode format and the first CIFS access will convert it to the Unicode
format. The convert_ucode on option forces all directories to be converted to the Unicode format when
accessed from both NFS and CIFS. By default, this option is set to off.
Unicode is not defaulted on a storage system because Unicode directories take up more space and are slower
on some workloads.
7 - 13 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
SESSIONS
7 - 14 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
CIFS SESSIONS
A client user establishes a session with a storage system upon the first share access. Access is based on user
authentication and share access rules. The authentication method is defined by the environment into which the
storage system is added.
You can display a CIFS session status by using these methods:
CLI cifs sessions command
NetApp System Manager
Windows Computer Management GUI ->SystemTools -> SharedFolders -> Sessions
7 - 15 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
7 - 16 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
7 - 17 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
7 - 18 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
NT membership
system\administrator
BUILTIN\Administrators
User is also a member of Everyone, Network Users,
Authenticated Users
***************
7 - 19 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Current Sessions
Highlighted session’s
access volume
7 - 20 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
7 - 21 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
BROADCASTING A MESSAGE
To display a message on Windows users’ workstations, use the following command:
cifs broadcast {workstation | -v volname} “message”
You can inform users about pending terminations or other important events.
The Messenger service on the Windows workstation must be enabled. NOTE: It is disabled by default for
security reasons.
To enable the Messenger service on your Windows workstation:
Go to Start->Programs->Administrative Tools->Services->Messenger.
If the Messenger service is disabled, start the service. (The default is disabled.)
7 - 22 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
7 - 23 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Host1
cifs terminate [-t time] [host]
Host2
cifs terminate
Host3
Host4
TERMINATING SESSIONS
The cifs terminate command stops the CIFS service. If a single host is named, all CIFS sessions opened
by that host are terminated. If a host is not specified, all CIFS sessions are terminated and the CIFS service is
shut down.
If you run the cifs terminate command without specifying a time until shutdown and there are users with
open files, you are prompted to enter the number of minutes to delay before terminating. If the CIFS service is
terminated immediately on a host that has one or more files open, users will not be able to save changes. You
can use the -t option to warn users of an impending service shutdown. If you execute cifs terminate
from rsh, you must supply the -t option.
EXAMPLE RESULT
cifs terminate -t 0 Terminates all CIFS sessions immediately for all clients.
cifs restart Reconnects the storage appliance to the domain controller and
restarts CIFS service.
7 - 24 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
7 - 25 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
DEFAULT SHARES
7 - 26 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
CREATING A SHARE
When you create a share, you must provide these items:
The complete path name of an existing volume or directory to be shared
The name of the share entered by users when they connect to the share
Optionally, a description of the share
When creating a share from the Data ONTAP command-line interface, you can specify a variety of share
properties, including group membership for files in the share, support for wide symbolic links, and disabling
of virus scanning when files in the share are first opened. Virus scanning occurs when files are opened,
renamed, and closed after being modified.
Microsoft interfaces additionally allow the administrator to set permissions as the share is created.
7 - 27 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
7 - 28 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
7 - 29 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
7 - 30 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Select Shares/Exports
Follow the
wizard…
7 - 31 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Right-click Shares
Path always
begins
with
C:\vol\
7 - 32 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
7 - 33 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
7 - 34 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
7 - 35 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
7 - 36 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
7 - 37 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MODULE SUMMARY
7 - 38 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MODULE SUMMARY
7 - 39 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
EXERCISE
Please refer to your Exercise Guide for more instruction.
7 - 40 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
7 - 41 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
8-1 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MODULE OBJECTIVES
8-2 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
LOCAL USERS
8-3 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
LOCAL USERS
On the storage system, the domain administrators group and the local administrator account are part of the
BUILTIN\Administrators group. They can do the following:
Provide a text editor to edit configuration files. Data ONTAP® does not include an editor.
Provide the ability to administer a storage system and hence have access to the root file system (C$ and
ETC$).
Modify the share access for C$ and ETC$ to grant additional users access.
The local administrator can set up local users on the storage system with the useradmin user add
command.
8-4 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
8-5 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
8-6 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
8-7 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
LOCAL ADMINISTRATOR
8-8 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Name: administrator
Info: Built-in account for administering the filer
Rid: 500
Groups: Administrators
8-9 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Local users
– Must provide a unique name
– Associate user to a group
– Created only by way of the command-line
interface’s useradmincommand when the
storage system is set to CIFS workgroup
authentication
8 - 10 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
8 - 11 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
8 - 12 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
8 - 13 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
LOCAL GROUPS
8 - 14 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Local groups
– Contain local and domain users
– Created only by way of the command-line
interface’s useradmin command when the
storage system is set to CIFS workgroup
authentication
LOCAL GROUPS
MMC tools have some capabilities that are discussed in the next module because they only are available when
the storage system is using CIFS domain authentication.
8 - 15 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
8 - 16 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
8 - 17 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
SHARE PERMISSIONS
8 - 18 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
PERMISSIONS
8 - 19 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
SHARE PERMISSIONS
8 - 20 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
8 - 21 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
8 - 22 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
8 - 23 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Select everyone
8 - 24 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Choose Properties
8 - 25 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Type Friends
8 - 26 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Select Everyone
Full control, defaults
to Read only
8 - 27 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
FILE PERMISSIONS
8 - 28 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
8 - 29 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
8 - 30 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
SECURITY TAB
In the file Properties window, click the Security tab.
NOTE the group and user names and the permissions for the group or user.
Click the OK button.
In this example, the Everyone system group has full control for permissions including Modify, Read &
Execute, Read, Write, and Special Permissions.
8 - 31 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
ACCESS-BASED ENUMERATION
8 - 32 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
ACCESS-BASED ENUMERATION
Conventional share properties allow you to specify which users (individually or in groups) have permission to
view or modify shared resources. However, they do not allow you to control whether shared folders or files
are visible to users who do not have permission to access them. This could pose problems, if the names of
shared folders or files describe sensitive information, such as the names of customers or new products under
development.
Access-Based Enumeration (ABE) extends share properties to include the enumeration of shared resources.
When ABE is enabled on a CIFS share, users who do not have permission to access a shared folder or file
underneath it (whether through individual or group permission restrictions) do not see that shared resource
displayed in their environment. ABE therefore enables you to filter the display of shared resources based on
user access rights.
ABE for a CIFS share on a NetApp storage system can be managed by the CIFS shares option [–
accessbasedenum | -noaccessbasedenum].
8 - 33 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Without ABE
With ABE
8 - 34 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MODULE SUMMARY
8 - 35 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MODULE SUMMARY
8 - 36 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
EXERCISE
Please refer to your Exercise Guide for more instruction.
8 - 37 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
8 - 38 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
CIFS DOMAINS
9-1 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MODULE OBJECTIVES
9-2 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9-3 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
RECONFIGURING CIFS
To reconfigure CIFS on a storage system:
Disconnect users and stop CIFS service:
– cifs terminate
Reconfigure CIFS service:
– cifs setup
The storage system automatically attempts to restart the CIFS service with the new CIFS configuration.
9-4 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9-5 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9-6 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9-7 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
[This Windows user is the domain administrator or any other account with privileges to
add computer accounts to the domain.]
9-8 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9-9 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9 - 10 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9 - 11 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9 - 12 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Prior to setting
up CIFS, verify
DNS
9 - 13 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
To configure
CIFS
9 - 14 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9 - 15 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9 - 16 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9 - 17 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
CIFS services
configuration
9 - 18 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
RESULTS
9 - 19 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
NOTE: These files are not readable; do not edit the files
RESULTS
The /etc/filersid.cfg file is created in a domain environment and contains the storage system security ID
(SID).
The /etc/cifssec.cfg file contains the Windows domain controller account information.
NOTE: These files are not readable; do not edit the files.
9 - 20 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
LCLGROUPS.CFG CHANGES
9 - 21 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
DOMAIN-SPECIFIC COMMANDS
9 - 22 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9 - 23 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9 - 24 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9 - 25 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9 - 26 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
PREFERRED DCS
9 - 27 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
PREFERRED DCS
Site awareness, also called site discovery, is the process of automatically discovering the preferred domain
controller. By default, a storage system is configured with cifs.site_awareness.enable turned on. A
storage administrator can override this default mechanism by turning the cifs.site_awareness.enable
option to off and setting preferred domain controllers using the cifs prefdc command.
9 - 28 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9 - 29 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Best!
Specified
Preferred by the Admin
Determined
Favored by DC Ping
Ordering
Other
Worst!
DC PING ORDERING
Most Windows server environments have multiple domain controllers. A NetApp® storage system contacts a
domain controller in the following order:
Preferred: Any domain controller(s) configured as preferred with the cifs prefdc command
Favored: Any domain controller(s) that is determined by site awareness rules to be readily accessible
Other: Any other domain controller(s) that is reachable
NOTE: DC ping occurs every time the CIFS service starts, every time cifs prefdc is executed, and every
four hours.
9 - 30 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
DOMAINS USERS
9 - 31 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
DOMAIN USER
A domain user is a non-local user who belongs to a Windows domain and is authenticated by the domain.
This type of user also can be placed into storage system groups to grant them capabilities on the storage
system. On the Windows workstation, you can create a domain user with the Active Directory Users and
Computers tool. The Windows Active Directory Users and Computers tool allows management of users,
groups, organizational units, and all other Active Directory objects. You can administer and publish
information in the directory.
9 - 32 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
NOTE:
Reboot required
9 - 33 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Right-click the
Users folder and
select New
9 - 34 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9 - 35 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9 - 36 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MMC: GROUPS
As an example with the Windows Computer Management GUI, in the Groups folder, add a new group
Helpers2 and add local user Jane to the group by performing the following steps:
1. Go to System Tools > Local Users and Groups > Groups.
2. Right-click the Groups folder and choose New Group.
3. In the New Groups window, in the Group name text box, type the group name Helpers2.
4. Click the Add button to add members to the new group.
9 - 37 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9 - 38 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9 - 39 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MODULE SUMMARY
9 - 40 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MODULE SUMMARY
9 - 41 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
EXERCISE
Please refer to your Exercise Guide for more instruction.
9 - 42 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
9 - 43 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
NAS MULTIPROTOCOL
10 - 1 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MODULE OBJECTIVES
10 - 2 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
NAS MULTIPROTOCOL
10 - 3 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MULTIPROTOCOL
The following describes the three qtree security styles:
NTFS
– For CIFS clients, security is handled using Windows NTFS ACLs.
– For NFS clients, the NFS username is mapped to a Windows username which is then associated with a
Windows security identifier (SID) and its groups. These mapped credentials are used to determine file access
based on the NFTS ACL.
UNIX
– Just like UNIX, files and directories have UNIX permissions.
– For CIFS client, the Windows username is mapped to a UNIX username. This mapped account is then used to
determine file access based on the UNIX security.
Mixed
– Both NTFS and UNIX security is allowed. A file or directory can have either NTFS ACLs or UNIX
permissions.
– For NTFS ACLs and NFS clients, the NFS username is mapped to a Windows username and its associated
groups. These mapped credentials are used to determine file access based on the NFTS ACL.
– For UNIX permissions and CIFS clients, the Windows username is mapped to a NFS userThese mapped
credentials are used to determine file access based on the UNIX security.
– The default file security style is the style most recently used to set permissions on that file.
10 - 4 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
qtree
– Windows user must
NTFS UNIX
be mapped to a UNIX
user (and associated
UNIX group)
10 - 5 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Windows
authenticated
Domain
authenticated
Unauthenticated
Windows
Domain
Controller
Windows
Authentication authenticated
Authenticate by
/etc/regist
ry Unauthenticated
Storage System
10 - 6 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
If mapped to ‘ ‘
VERIFICATION
The storage system will attempt to verify a UNIX user by employing the mechanism as stated in the
/etc/nsswitch.conf file. These mechanisms are using /etc/passwd, NIS, and/or LDAP. If verification is
unsuccessful, then the option wafl.default_unix_user is tried as a generic user account. A typical
default UNIX user is “pcuser” with UID =65534 and GID=65534, which is stored in /etc/passwd file by
default. If verification is successful, the CIFS user is properly associated with a UNIX account. If verification
is unsuccessful, the CIFS user is invalid.
WINDOWS ADMINISTRATOR
The Windows Administrator user is a special case. The administrator is mapped to the UNIX user name
“root” with UID=0 and GID= if the wafl.nt_admin_priv_map_to_root option is set “on.”
10 - 7 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Unauthenticated
or invalid user
No
Unauthenticated
Guest user
or Invalid user
rejected
rejected
10 - 8 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
10 - 9 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
UID
and GID Resolves UID to
# cd /mnt/home UNIX user name by
# ls /etc/passwd,
NIS, or LDAP
Storage System
10 - 10 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
If mapped to ‘ ‘
VERIFICATION
The storage system will attempt to verify a Windows user by using the mechanism as configured by the CIFS
server. These mechanisms are either using the local accounts defined in the /etc/registry or passing
verification to a domain controller. If verification is unsuccessful, then the option wafl.default_nt_user
is tried as a generic user account. There is no default setting for this value, so it must be configured. If
verification is successful, the NFS user is properly associated with a Windows account. If verification is
unsuccessful, the NFS user is invalid.
10 - 11 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
UID to UNIX
Invalid
user name
user
unauthenticated
rejected
or Invalid user
10 - 12 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Security Styles
Hosts that can CIFS Client NFS Client
Security Style change Security/ Access Access
Permissions Determined by Determined by
UNIX
permissions
UNIX
unix NFS clients (Windows user permissions
names mapped
to UNIX account)
NFS and CIFS Depends on the last client to set
mixed
clients security settings (permissions)
Windows NTFS
ACLs
Windows NTFS (UNIX user
ntfs CIFS clients
ACLs names mapped
to Windows
account)
© 2010 NetApp, Inc. All rights reserved.
SECURITY STYLES
NOTE: A CIFS user can access the file without disrupting UNIX permissions by using one of the following
techniques:
Prior to Data ONTAP® 7.2, the CIFS user must have a Windows add-on from the NOW™ site called the
SecureShare®.
With Data ONTAP 7.2 and later, the CIFS user can manage security directly with
cifs.preserve_unix_security.
For more information, please see the CIFS Administration on Data ONTAP courses.
10 - 13 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
10 - 14 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
VERIFY MAPPINGS
10 - 15 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MULTIPROTOCOL OPTIONS
10 - 16 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
The cifs.preserve_unix_security
option preserves UNIX permissions as files
are edited and saved by Windows
applications that perform the following steps:
1. Read the security properties of the file.
2. Create a new temporary file.
3. Apply those properties to the temporary file.
4. Rename temporary file with original file name.
Windows clients that perform a security query
receive a constructed ACL that exactly
represents the UNIX permissions
10 - 17 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Thecifs.preserve_unix_securityoption
allows manipulation of UNIX permissions by
using the Security tab on a Windows client
– When enabled, UNIX qtrees appear as NTFS
volumes
– The default for this option is “off”
NOTE: You cannot change the owner and group from the Windows
Security tab
10 - 18 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
10 - 19 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
10 - 20 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
10 - 21 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
NT membership
system\administrator
BUILTIN\Administrators
User is also a member of Everyone,
Network Users, Authenticated Users
***************
10 - 22 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
NT membership
DEVSLU10-F1\administrator
BUILTIN\Administrators
User is also a member of Everyone,
Network Users,
Authenticated Users
***************
10 - 23 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
10 - 24 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MODULE SUMMARY
10 - 25 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MODULE SUMMARY
10 - 26 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
10 - 27 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
10 - 28 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotocol
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
NAS TROUBLESHOOTING
11 - 1 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MODULE OBJECTIVES
11 - 2 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Initial Configuration
License Configure Export or Mount or
NFS or NFS or Share Map
CIFS CIFS Resources Resources
TROUBLESHOOTING OVERVIEW
11 - 3 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
11 - 4 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
11 - 5 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
11 - 6 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
11 - 7 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
11 - 8 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MOUNT PROCESS
The mount command verifies that the mountpoint is a full pathname and then passes arguments and options to
/usr/lib/fs/nfs/mount, which takes control of the process as follows:
mount opens /etc/mnttab and verifies that the file system was not already mounted.
mount parses the argument storage system:/vol/volname/path into host storage system and remote
directory /vol/volname/path.
mount calls the storage system rpcbind to get the port number of the storage system’s mountd.
mount calls the storage system mountd daemon and passes it to /vol/volname/path, requesting it to send a
file handle for that path.
The storage system’s mountd daemon handles the client's mount requests. If the directory
/vol/volname/path is available to the client, the mountd daemon does a NFS_GETFH system call on
/vol/volname/path to get the file handle, and then it sends it to the client's mount process.
/usr/lib/fs/nfs/mount does a regular mount system call with the file handle and the mountpoint directory.
The client kernel looks up the given mountpoint directory. If OK, it binds the file handle to the hierarchy
in a mount record.
The client kernel looks up the directory /vol/volname/path on the storage system.
The client kernel does a statvfs call to the storage system NFS server nfsd.
The mount system call.
Mount opens /etc/mnttab and adds an appropriate entry to the end with the mounted file system and
mountpoint directory information.
11 - 9 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MOUNTING OPTIONS
The following options are used for NFS mounts:
Hard or soft: specifies whether the program using a file by way of an NFS connection should stop and
wait for the server to come back online if the host serving the exported file system is unavailable (hard),
or if it should report an error (soft).
If hard is specified, the user cannot terminate the process waiting for the NFS communication to resume
unless the intr option is also specified. If they have mounted file systems with the hard option, they continue
to send out mount requests indefinitely until the server responds. If soft is specified, the user can set an
additional timeo=<value> option, where <value> specifies the number of seconds to pass before the error
is reported.
Mount Option Examples
On older Linux® systems, if you do not specify any mount options, the Linux mount command (or the
Automounter) automatically chooses these defaults:
mount –o rw,fg,vers=2,udp,rsize=4096,wsize=4096,hard,intr, timeo=7,retrans=5
These default settings are designed to make NFS work right out of the box in most environments. Almost
every NFS server supports NFS v2 over UDP. Rsize and wsize are relatively small because some network
environments fragment large UDP packets, which can hurt performance if there is a chance that fragments can
be lost. The remote procedure call retransmit timeout is set to 0.7 seconds by default to accommodate slow
servers and networks. The example on the slide is reasonable mount options. Bg option causes the mount
attempts to be run in the background. In fact, on many newer Linux distributions, these are the default mount
options.
11 - 10 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
11 - 11 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
11 - 12 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
11 - 13 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
11 - 14 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
PROBLEM: DC CONNECTIVITY
Potential Issue: “Communication from storage system to domain controller fails or trust across multiple
domains fails.”
Perform the following steps:
a) system> cifs domaininfo
This provides information about domain and known domain controllers.
If you receive an error and want a more verbose output, then go to Step b).
11 - 15 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
11 - 16 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
11 - 17 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
CLIENT TROUBLESHOOTING
Windows user/kernel debuggers (windbg) is the most common debugger in use for customer issues.
Time traveling tracing can identify hard to find issues. Time traveling tracing traces a program’s flow and
then is analyzed internal at Microsoft®. This tool is currently available only through Microsoft’s support.
Event Tracing for Windows (ETW) provides a mechanism to monitor, log, and troubleshoot SMB.
Sysinternals and Windows Resource Kit are available at http://technet.microsoft.com.
There is an excellent presentation by Hongwei Sun, a Microsoft Escalation Engineer, which was given at the
2009 File Sharing Windows Protocols Plug-fest. The presentation can be found at:
http://channel9.msdn.com/posts/Darryl/Troubleshooting-Windows-SMBSMB2-Issues/.
11 - 18 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
11 - 19 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
11 - 20 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
11 - 21 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
NETWORK
Data ONTAP® 7.2.1 and later introduced a new multi-threaded mount process. Clients that are still mounting
the file systems from the storage system using UDP cannot benefit from the new multi-threaded mount
processing. UDP requests still use single-threaded operations. Clients mounting with TCP benefit greatly
from this enhancement.
11 - 22 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
PACKET TRACES
PKTT DUMP
The dump subcommand causes the contents of the packet trace buffer to be written to a file. If the “-d [dir]”
option is used, the file will be written to that directory, otherwise it will be written to the root directory of the
root volume. The name of the file is always .trc and the contents are in “tcpdump” format. If a file by that
name already exists it will be overwritten.
PKTT STOP
This causes all tracing to stop on the named interface or all interfaces. If any unwritten data is in the trace
buffer it will be flushed to disk. If you have not dumped the trace data, and you were not tracing to a disk file,
the trace data will be lost. This action is not confirmed, so be careful when using this command.
PKTT STATUS
This can be used to display the buffer and file status of an existing trace. Using pktt status -v will give
you full tracing status for all interfaces. This can be used to display the buffer and file status of an existing
trace. Using pktt status -v will give you full tracing status for all interfaces.
11 - 23 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
11 - 24 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
11 - 25 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
11 - 26 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MODULE SUMMARY
11 - 27 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MODULE SUMMARY
11 - 28 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
EXERCISE
Please refer to your Exercise Guide for more instruction.
11 - 29 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
11 - 30 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
SAN OVERVIEW
12 - 1 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: SAN Overview
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
MODULE OBJECTIVES
12 - 2 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: SAN Overview
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
SAN INTRODUCTION
12 - 3 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: SAN Overview
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
NFS iSCSI
Corporate CIFS
LAN
FCoE
FC
NAS SAN
NetApp®
FAS
© 2010 NetApp, Inc. All rights reserved.
12 - 4 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: SAN Overview
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
SCSI
Small Computer System Interface (SCSI) is a set of standards that define commands, protocols, and interfaces
used to transmit data. SCSI allows low-level “block” access to data in units of 512-byte blocks. This is highly
efficient and has low overhead compared to NAS or “file” level access. SCSI has a high level of resiliency
that makes it perfect for an enterprise-level protocol.
12 - 5 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: SAN Overview
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
SCSI Adapter
Direct-Attached Devices
Fibre Channel
SAN Services
WAFL®
Controller
Direct-Attached Storage
© 2010 NetApp, Inc. All rights reserved.
12 - 6 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: SAN Overview
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Controller
The virtual disk
LUN is a single file on
the server
© 2010 NetApp, Inc. All rights reserved.
LOGICAL UNIT
12 - 7 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: SAN Overview
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
TERMS
12 - 8 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: SAN Overview
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Initiator
Target
SAN Services
WAFL
Controller
LUN
12 - 9 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: SAN Overview
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
SAN TYPES
LUNs on a NetApp storage system can be accessed through either a Fibre Channel (FC SAN) fabric using
Fibre Channel Protocol or an Ethernet network using the Fibre Channel over Ethernet (FCoE) or Internet
SCSI (iSCSI) protocols. In all cases, the transport portals (FC, FCoE or iSCSI) carry encapsulated SCSI
commands as the data transport mechanism.
iSCSI is an IETF standard found here: www.ietf.org/rfc/rfc3720.txt?number=3720.
12 - 10 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: SAN Overview
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Application
Initiator File System
TCP/IP Driver iSCSI Driver SCSI Driver FC Driver
SAN Services
Target TCP/IP Driver iSCSI Driver FC Driver
WAFL
IP LUN FC
SAN SAN
© 2010 NetApp, Inc. All rights reserved.
PORTS
Data is communicated over ports. In an IP SAN, the data is communicated by way of Ethernet ports. In an FC
SAN, the data is communicated over Fibre Channel ports.
12 - 11 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: SAN Overview
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Application
Initiator File System
SCSI Driver
20:00:00:2b:34:26:a6:56 21:00:00:2b:34:26:a6:56
50:0a:09:80:86:f7:c7:86 50:0a:09:81:86:f7:c7:86
SAN Services
Target WAFL
IP LUN FC
SAN SAN
© 2010 NetApp, Inc. All rights reserved.
12 - 12 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: SAN Overview
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Application
Initiator File System
SCSI Driver
SAN Services
Target WAFL
IP LUN FC
SAN SAN
© 2010 NetApp, Inc. All rights reserved.
IQN-TYPE DESIGNATOR
ISCSI Qualified Name or IQN node name is conventionally “iqn.yyyy-mm.backward_naming_authority:
unique_device_name.” This is the most popular node name format and is the default used by a NetApp
storage system. The components of the logical name are the following:
Type designator, IQN, followed by a period (.)
The date when the naming authority acquired the domain name, followed by a period
The name of the naming authority, optionally followed by a colon (:)
A unique device name
EUI-TYPE DESIGNATOR
The Extended Unique Identifier or EUI node name is “eui.nnnnnnnnnnnnnnnn.” The components of the
logical name are the following:
The type designator itself, “eui,” followed by a period (.)
Sixteen hexadecimal digits
Example: “eui.123456789ABCDEF0”
12 - 13 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: SAN Overview
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.
Application
Initiator File System
SCSI Driver
Directly connected
Connected through
a switch
SAN Services
Target WAFL
IP LUN FC
SAN SAN
© 2010 NetApp, Inc. All rights reserved.
12 - 14 Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: SAN Overview
© 2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purpose.