NetAPP常用操作

===CIFS share===========================================================================================
NAS1> vol create dbv02 aggr0 1t

NAS1> qtree security /vol/dbv02 ntfs

NAS1> cifs shares -add dbv02 /vol/dbv02

NAS1> cifs shares
Name Mount Point Description
---- ----------- -----------
dbv02 /vol/dbv02   everyone / Full Control

NAS1> cifs access -delete dbv02 everyone
1 share(s) have been successfully modified

NAS1> cifs shares
Name Mount Point Description
---- ----------- -----------
dbv02 /vol/dbv02

NAS1> cifs access dbv02 "DBAs" "full control"

NAS1> cifs shares
Name Mount Point Description
---- ----------- -----------
dbv02 /vol/dbv02  domain\dbas / Full Control
===Disable snapshot=======================================================================================
NAS1> vol options dbv02 nosnap on
NAS1> vol options dbv02 nosnapdir on

NAS1> snap reserve dbv02
Volume dbv02: current snapshot reserve is 5% or 53687088 k-bytes.

NAS1> snap reserve dbv02 0
NAS1> snap reserve dbv02
Volume dbv02: current snapshot reserve is 0% or 0 k-bytes.

NAS1> snap delete -a dbv02
Are you sure you want to delete all snapshots for volume dbv02? y
Deleted dbv02 snapshot nightly.1.

===NFS share=========================================================================================

NAS1> exportfs
NAS1> rdfile /etc/exports
#Auto-generated by setup Wed Jan 6 01:31:44 GMT 2010
#/vol/vol0 -sec=sys,rw,anon=0,nosuid
#/vol/vol0/home -sec=sys,rw,nosuid

NAS1> wrfile /etc/exports
#Auto-generated by setup Wed Jan 6 01:31:44 GMT 2010
#/vol/vol0 -sec=sys,rw,anon=0,nosuid
#/vol/vol0/home -sec=sys,rw,nosuid
/vol/ndbv01 -sec=sys,rw=192.168.100.22,root=192.168.100.22

NAS1> exportfs /vol/ndbv01
NAS1> exportfs
/vol/ndbv01 -sec=sys,rw=192.168.100.22,root=192.168.100.22

=====================================================================================================

NetAPP常用操作,布布扣,bubuko.com

NetAPP常用操作

上一篇:node-webkit教程(7)Platform Service之APP


下一篇:IOS 表视图(UITableVIew)的使用方法(6)表视图的编辑功能(新增Add)