Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Terminology
NAS Quickstart
NAS CIFS NFS NetApp Filer ONTAP (Data ONTAP) Aggregate WAFL Volume (flexible volume, flexvol) Qtree, security style
Table of Contents
NAS Quickstart
Scenario 1: Create storage space (volume) and share it to MS Windows clients Scenario 2: Share storage space via MMC console Scenario 3: Expand/shrink a volume while clients are connected Scenario 4: Snapshots: creating, scheduling, restoring from snapshots Scenario 5: Working with quotas on the filer
Table of Contents
NAS Quickstart
Scenario 1: Create storage space (volume) and share it to MS Windows clients Scenario 2: Share storage space via MMC console Scenario 3: Expand/shrink a volume while clients are connected
NAS Scenario 1
NAS Quickstart
NAS Quickstart
NAS Quickstart
NAS Quickstart
NAS Quickstart
NAS Quickstart
NAS Quickstart
Now click on Qtrees and then on Manage Make sure the security style of the volume is set to NTFS If not, select the volume and change the security style
NAS Quickstart
The second big step is to share the volume we have just created Click on CIFS, then Shares, then Manage Click on Add Share Create the share testshare The path to the volume is /vol/testvolume
NAS Quickstart
Lastly, we can browse to the filer's IP address or name using explorer and a UNC-style path: \\filer-IP-address\ The newly created share should be visible and accessible Map a network drive to the share
Table of Contents
NAS Quickstart
Scenario 1: Create storage space (volume) and share it to MS Windows clients Scenario 2: Share storage space via MMC console Scenario 3: Expand/shrink a volume while clients are connected
NAS Quickstart
NAS Scenario 2
CIFS Share Storage via the MMC
Use the Microsoft Management Console (MMC) and connect to the IP address or name of the filer Note that you can look at the users/groups on the filer Note that you can see the open files on the filer
NAS Quickstart
Go to System Tools, Shared Folders, Shares, rightclick and select New Share... Complete the wizard The path to the volume is C:\vol\testvolume
NAS Quickstart
Table of Contents
NAS Quickstart
Scenario 1: Create storage space (volume) and share it to MS Windows clients Scenario 2: Share storage space via MMC console Scenario 3: Expand/shrink a volume while clients are connected
NAS Quickstart
NAS Scenario 3
CIFS Shrink/Expand volume while clients are connected
Go to the filer's web interface, FilerView, and Click on Volumes, Manage Next, click on the testvolume volume
NAS Quickstart
NAS Quickstart
After the resize operation, check the free disk space on the mapped drive (refresh with F5 if needed)
Table of Contents
NAS Quickstart
Scenario 1: Create storage space (volume) and share it to MS Windows clients Scenario 2: Share storage space via MMC console Scenario 3: Expand/shrink a volume while clients are connected
NAS Quickstart
NAS Scenario 4
Snapshots What ?
NAS Quickstart
(a ) Before Snapsh ot
Active File Sys
(b ) After Snapsh ot
Snapshot
Active File Sys
C
New Bloc k
Disk Blocks
NAS Quickstart
NAS Scenario 4
Snapshots As seen from a client
NAS Quickstart
NAS Scenario 4
Snapshots As seen from a client (cont.)
Users can browse the ~snapshot directory to see the snapshots and previous version of their files
NAS Quickstart
NAS Scenario 4
Snapshots As seen from a client (cont.)
Windows XP and 2003 machines will also show previous versions for documents:
http://technet2.microsoft.com/windowsserver/en/library/cfd daf10-24fa-4d6d-a34d-cfb84c5223781033.mspx?mfr=true
NAS Quickstart
NAS Scenario 4
Snapshots As seen from a client (cont.)
The snapshots are read-only: you get an error if you try to delete them!
NAS Quickstart
It is possible to create/delete a snapshot via the FilerView web interface Click on Volumes, then on Snapshots Next, click on Manage
NAS Quickstart
It is possible to select the volume testvolume and then click on View to show only those snapshots of the testvolume volume You can delete a snapshot by selecting it and clicking on Delete
NAS Quickstart
NAS Quickstart
Generally, you will want the filer to take snapshots at regular intervals automatically. This is achieved by setting a snapshot schedule Click on Volumes, then Snapshots, then Configure Select the volume you want to configure
NAS Quickstart
Make sure that Scheduled Snapshots is enabled Select the number of snapshots to keep:
The weekly snapshots are taken on the night from saturday to sunday at midnight
NAS Quickstart
Option 1 of 3: Copy/paste the file from somewhere under the the ~snapshot directory (may take a long time over a slow network)
NAS Quickstart
Option 2 of 3: Use Windows XP or Windows 2003 to access/restore the previous version of a document
Notes:
options cifs.ms_snapshot_mode W2K: install shadow copy client W2K3/XP: regsvr32 twext.dll if not visible
NAS Quickstart
Option 3 of 3: use the command-line on the filer to restore a file, directory, or volume Fastest Only a filer administrator can do this
NAS Quickstart
If you cannot see the ~snapshot directory, two options must be enabled:
Under CIFS, Configure, Options, make sure Show Snapshot is enabled as a general CIFS option
For a specific volume, on the snapshot configuration screen, make sure Snapshot Directory Visible is enabled
NAS Quickstart
If you want to set the previous versions tab settings, you can configure this via an option:
cifs.ms_snapshot_mode
off: empty previous versions tab xp: Windows XP, Windows 2003, Windows Vista, Windows 2008 Server users will see the previous versions of a document pre-xp: Windows 2000, XP, 2003, Vista, 2008 users with the Shadow Copy Client installed will be able to see the previous versions
You must also enable snapshot directory visibility at the volume level for all this to work
If you want to see previous versions, but NOT the ~snapshot directory, your only option is to disable the ~snapshot directory globally from CIFS Options
NAS Quickstart
A snapshot only takes up place if the original files change or are deleted
Generally, the older a snapshot, the bigger it gets Some estimates about snapshot growth:
1% growth per day (blocks changed) 10-20% growth per day (blocks changed)
To this extend, by default the filer will reserve some volume space for snapshots
NAS Quickstart
Volume: 40Mb capacity = 32Mb usable: Create a file with a size less than 8Mb:
Delete the file, snapshot size has grown, free space back to normal
NAS Quickstart
Volume: 40Mb capacity = 32Mb usable: Create a file with a size over 8Mb:
Delete the file, snapshot size has grown, but the snapshot size has eaten into the free disk space of the active filesystem
Table of Contents
NAS Quickstart
Scenario 1: Create storage space (volume) and share it to MS Windows clients Scenario 2: Share storage space via MMC console Scenario 3: Expand/shrink a volume while clients are connected
NAS Quickstart
NAS Scenario 5
Working with quotas on the filer
Quotas:
Limit amount of disk space or number of files that can be used by a quota target Track amount of disk space Warn users when disk space or file usage is high
Targets:
Unix User or Windows User (user quota) Unix group (group quota) Qtree (qtree quota)
NAS Quickstart
Navigate to Volume, then Quotas, then Manage Quotas must be turned on for a particular volume
NAS Quickstart
Let's add a qtree quota for a volume Click on Edit Rules under Quotas Click on Add Quota Rule. A wizard will appear
NAS Quickstart
Once the wizard has complete, you can list the quota rule, and even modify it afterwards After quota rule modification on a volume, you must perform a quota resize operation on that volume for changes to take effect
NAS Quickstart
There are:
Default quotas (by using an asterisk *) Explicit quotas Explicit quotas override default quotas
More restrictive rules apply the limit that is reached first is the one applied The user administrator is not subject to USER quotas on the filer
Types:
hard quotas = cannot be exceeded soft quotas = can be exceeded, trap sent when exceeded or ok again thresholds = can be exceeded, only triggers trap if exceeded
NAS Quickstart
See article 3425 - Quota Use Guide For NetApp Storage Systems
Create default user, group and tree quotas for tracking purposes only