• 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  domaindbas / 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.

    NAS1> snap sched dbv02 0 0 0 [disable sched for dbv02]

    ===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  {push Enter, Ctril+C to save and exit}
    #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

    NAS1> exportfs #display exported file sys path
    NAS1> exportfs -r #clear mem and refresh nfs conf from /etc/exportfs
    NAS1> exportfs -a #load nfs conf from /etc/exportfs
    NAS1> exportfs -io rw=10.45.67/24 /vol/dbv01 #override /etc/exportfs and refresh nfs
    NAS1> exportfs -u /vol/dbv01 #unexport /vol/dbv01
    NAS1> exportfs -ua #unexport all file patch
    NAS1> exportfs -z /vol/dbv01 #unexport /vol/dbv01 and remove entry from /etc/exportfs
    NAS1> exportfs -f /vol/dbv01 #flush all entries for /vol/dbv01
    NAS1> exportfs -w /etc/exports.save #saving file system path

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

  • 相关阅读:
    第二冲刺阶段第一天
    spring第二冲刺阶段第八天
    spring第二冲刺阶段第七天
    spring第二冲刺阶段第六天
    spring第二冲刺阶段第五天
    spring冲刺第二阶段第四天
    spring第二阶段冲刺第三天
    spring冲刺第二阶段第二天
    SPRING冲刺第二阶段第一天
    spring第一冲刺阶段总结200zi
  • 原文地址:https://www.cnblogs.com/oskb/p/3670631.html
Copyright © 2020-2023  润新知