- Creation:
vol create <name> <aggr> size
enter the volume path in /vol/rootvol/etc/exports file (normal nfs format)
exportfs -a - Resize Volume:
vol size <name> +/- size
- Creation:
qtree create <absolute-path-to-tree>
exports changes
exportfs -a
assign quota for qtree by changing /rootvol/etc/quotas file.
quota off <volume-name>
quota on <volume-name> - Checking Netapp usage for particular qtree (Performance):
qtree stats
- Creation:
mkdir folder in desired volume
assign quota for user by changing /rootvol/etc/quotas file.
quota off <volume-name>
quota on <volume-name> - Resize quota allocated:
change quotas file
quota resize <volume-name>
Note: quota off/on also works but not recommended as requires a lot more processing than resize. Off/on to be done only during creation/deletion.
- Creation:
cifs shares -add <name> <absolute-path-to-share> - Deletion:
cifs shares -delete <name> - Access Maniputation to CIFS:
cifs access <share-name> <user-name> rwx
cifs access -delete <share-name> <user-name> - Terminating all cifs sessions:
cifs terminate
- sysconfig -r
- sysconfig -a
- fcstat device_map
- fcstat link_stat
- Reserving size for Snapshots of a volume:
snap reserve <volume-name> <percentage>
Do Remember that snapshots may end up taking more space than reserved for them. - Number and Scheduling for Snapshots:
snap sched <volume-name> #week-#day-#hourly - Creation of a new snapshot:
snap create <volume-name> <snapname> - Deleting a snapshot
snap delete <volume-name> <snapname>
- Status for Snapmirror:
snapmirror status - Snapmirroring Data from one Netapp to another:
options snapmirror.access host=hostname,hostname (This options needs to be set on the source filer to give access to the destination to get data).
snapmirror initialize -S <source filer:vol/qtree path> <destination volname/absolute qtree path>
eg: napp2> snapmirror initialize -S napp1:vol1 volume1
The above command will snapmirror vol1 of napp1 to volume1 of napp2
One thing to remember: the destination volume needs to restricted before the snapmirror is initialized.
napp2> snapmirror initialize -S napp1:/vol/vol1/qtree1 /vol/volume1/qtree2 - Updating the snapmirror:
Almost same command as initialize
snapmirror update -S <source filer:vol/qtree path> <destination > - Breaking the snapmirror:
breaking a snapmirror is necessory to make the the destination data writable with full control. breaking in done on destination filer.
snapmirror quiesce <destination data path>
snapmirror break <destination data path> - Releasing snapmirrors:
Releasing of snapmirrors is important as snapshots take space and keep on growing as the data on the volume keeps on changing. This needs to be done both on source and destination filers & both have different ways of getting done.
source: snapmirror release vol/qtree dest:vol/qtree
Destination: a mere deletion of the snapmirror snapshot will do.
remember once the snapmirrors have been release the snapmirror cant be resumed.
sysstat <update-time-in-seconds>
System Failure Troubleshooting:-
partner: Command given on the node which has taken over to get data of bad node.
options autosupport.doit "messages(normally the case id)": to generate the autosupport.
No comments:
Post a Comment