You are on page 1of 5

Qtree Delete

node1> qtree status Volume Tree Style Oplocks Status -------- -------- ----- -------- --------vol0 unix enabled normal vol1 unix enabled normal vol1 nasqt1 unix enabled normal NFSvol unix enabled normal NFSvol nfs_tree1 unix enabled normal vol2 unix enabled normal node1> qtree status nfs_tree1 qtree status: invalid volume name nfs_tree1. node1> qtree status /vol/NFSvol/nfs_tree1 qtree status: invalid volume name /vol/NFSvol/nfs_tree1. node1> qtree status NFSvol/nfs_tree1 qtree status: invalid volume name NFSvol/nfs_tree1. node1> qtree status Volume Tree Style Oplocks Status -------- -------- ----- -------- --------vol0 unix enabled normal vol1 unix enabled normal vol1 nasqt1 unix enabled normal NFSvol unix enabled normal NFSvol nfs_tree1 unix enabled normal vol2 unix enabled normal node1> df -g nfs_tree1 df: nfs_tree1: No such file or directory node1> df -g NFSvol Filesystem total used avail capacity Mounted on /vol/NFSvol/ 0GB 0GB 0GB 0% /vol/NFSvol/ /vol/NFSvol/.snapshot 0GB 0GB 0GB 0% /vol/NFSvol/.snapshot node1> Tue Feb 18 17:15:20 GMT [asup.post.host:info]: Autosupport (PERFORMANCE SNAPSHOT) cannot connect to url support.netapp.com/asupprod/post/1.0/postAsup (Could not find hostname 'support.netapp.com', hostname lookup resolution error: Unknown host) node1> qtree create /vol/NFSvol/nfs_tree2 node1> df -g NFSvol Filesystem total used avail capacity Mounted on /vol/NFSvol/ 0GB 0GB 0GB 0% /vol/NFSvol/ /vol/NFSvol/.snapshot 0GB 0GB 0GB 0% /vol/NFSvol/.snapshot node1> qtree status Volume Tree Style Oplocks Status -------- -------- ----- -------- --------vol0 unix enabled normal vol1 unix enabled normal vol1 nasqt1 unix enabled normal NFSvol unix enabled normal NFSvol nfs_tree1 unix enabled normal

NFSvol nfs_tree2 unix enabled normal vol2 unix enabled normal node1> lun show /vol/vol1/lun1 2.0g (2097152000) (r/w, online) node1> df -m Filesystem total used avail capacity Mounted on /vol/vol0/ 241MB 102MB 139MB 42% /vol/vol0/ /vol/vol0/.snapshot 0MB 4MB 0MB ---% /vol/vol0/.snapshot /vol/vol1/ 400MB 0MB 399MB 0% /vol/vol1/ /vol/vol1/.snapshot 100MB 0MB 99MB 0% /vol/vol1/.snapshot /vol/NFSvol/ 120MB 0MB 119MB 0% /vol/NFSvol/ /vol/NFSvol/.snapshot 30MB 0MB 29MB 0% /vol/NFSvol/.snapshot /vol/vol2/ 800MB 0MB 799MB 0% /vol/vol2/ /vol/vol2/.snapshot 200MB 0MB 199MB 0% /vol/vol2/.snapshot node1> qtree delete nfs_tree2 qtree: Invalid argument "delete". qtree qtree status [-i] [ <vol> ] qtree stats [-z] [ <vol> ] qtree create <path> [-m <mode>] qtree security <path> [ unix | ntfs | mixed ] qtree oplocks <path> [ enable | disable ] node1> Tue Feb 18 17:19:43 GMT [asup.post.host:info]: Autosupport (PERFORMANCE SNAPSHOT) cannot connect to url support.netapp.com/asupprod/post/1.0/postAsup (Could not find hostname 'support.netapp.com', hostname lookup resolution error: Unknown host) node1> qtree status /vol/NFSvol/ qtree status: invalid volume name /vol/NFSvol/. node1> qtree status /vol/NFSvol qtree status: invalid volume name /vol/NFSvol. node1> qtree status -i /vol/NFSvol qtree status: invalid volume name /vol/NFSvol. node1> qtree status -i /vol/NFSvol/ qtree status: invalid volume name /vol/NFSvol/. node1> qtree stats -z /vol/NFSvol/ qtree stats: invalid volume name /vol/NFSvol/. node1> qtree stats -z /vol/NFSvol/nfs_tree2 qtree stats: invalid volume name /vol/NFSvol/nfs_tree2. node1> qtree status /vol/NFSvol/nfs_tree2 qtree status: invalid volume name /vol/NFSvol/nfs_tree2. node1> priv set advanced Warning: These advanced commands are potentially dangerous; use them only when directed to do so by NetApp personnel. node1*> qtree status /vol/NFSvol/nfs_tree2 qtree status: invalid volume name /vol/NFSvol/nfs_tree2.

node1*> qtree stats -z /vol/NFSvol/nfs_tree2 qtree stats: invalid volume name /vol/NFSvol/nfs_tree2. node1*> qtree stats -z /vol/NFSvol qtree stats: invalid volume name /vol/NFSvol. node1*> qtree stats -z /vol/NFSvol/ qtree stats: invalid volume name /vol/NFSvol/. node1*> qtree stats -z NFSvol node1*> qtree statuw NFSvol qtree: Invalid argument "statuw". qtree qtree status [-i] [ <vol> ] qtree stats [-z] [-i] [-r] [ <vol> ] qtree create <path> [-m <mode>] qtree security <path> [ unix | ntfs | mixed ] qtree oplocks <path> [ enable | disable ] qtree rename <srcpath> <dstpath> qtree delete [-f] <path> node1*> qtree status NFSvol Volume Tree Style Oplocks Status -------- -------- ----- -------- --------NFSvol unix enabled normal NFSvol nfs_tree1 unix enabled normal NFSvol nfs_tree2 unix enabled normal node1*> node1*> node1*> qtree status -i NFSvol Volume Tree Style Oplocks Status ID -------- -------- ----- -------- --------- ---NFSvol unix enabled normal 0 NFSvol nfs_tree1 unix enabled normal 1 NFSvol nfs_tree2 unix enabled normal 2 node1*> qtree delete nfs_tree2 Tue Feb 18 17:23:08 GMT [wafl.Qtree.delete.start:notice]: Deleting qtree nfs_tree2. Tue Feb 18 17:23:08 GMT [wafl.Qtree.delete.failed:warning]: Failed to delete qtree nfs_tree2. Error: qtree: invalid volume path nfs_tree2 (13040). qtree: invalid volume path nfs_tree2 node1*> qtree status -i NFSvol Volume Tree Style Oplocks Status ID -------- -------- ----- -------- --------- ---NFSvol unix enabled normal 0 NFSvol nfs_tree1 unix enabled normal 1 NFSvol nfs_tree2 unix enabled normal 2 node1*> qtree status -i NFSvol Volume Tree Style Oplocks Status ID -------- -------- ----- -------- --------- ---NFSvol unix enabled normal 0 NFSvol nfs_tree1 unix enabled normal 1

NFSvol nfs_tree2 unix enabled normal 2 node1*> qtree delete /vol/Tue Feb 18 17:23:45 GMT [asup.post.host:info]: Autosupport (PERFORMANCE SNAPSHOT) cannot connect to url support.netapp.com/asupprod/post/1.0/postAsup (Could not find hostname 'support.netapp.com', hostname lookup resolution error: Unknown host) node1*> qtree status -i 6~NFSvol node1*> qtree delete /vol/NFSvol/nfs_tree2 Tue Feb 18 17:24:36 GMT [wafl.Qtree.delete.start:notice]: Deleting qtree /vol/NFSvol/nfs_tree2. Tue Feb 18 17:24:36 GMT [wafl.Qtree.delete.success:notice]: Successfully deleted qtree /vol/NFSvol/nfs_tree2. node1*> qtree status -i NFSvol Volume Tree Style Oplocks Status ID -------- -------- ----- -------- --------- ---NFSvol unix enabled normal 0 NFSvol nfs_tree1 unix enabled normal 1 node1*> priv set admin Create a role that includes the capability to log in the storage through console node1> useradmin role add r_login -a login-telnet,login-ssh Tue Feb 18 17:42:00 GMT [useradmin.added.deleted:info]: The role 'r_login' has been added. Role <r_login> added. node1> useradmin role list r_login Name: r_login Info: Allowed Capabilities: login-telnet,login-ssh

useradmin

node1> useradmin group add g_login -r r_login Tue Feb 18 17:45:20 GMT [useradmin.added.deleted:info]: The group 'g_login' has been added. Group <g_login> added. node1> useradmin user add testuser -g g_login New password: Retype new password: User <testuser> added. node1> Tue Feb 18 17:46:01 GMT [useradmin.added.deleted:info]: The user 'testuser' has been added. Adding extra roles/capabilities

node1> useradmin role modify r_login -a login-telnet,login-ssh,cli-sysconfig Tue Feb 18 17:50:44 GMT [useradmin.added.deleted:info]: The role 'r_login' has been modified.

Role <r_login> modified.

node1> options security security.admin.authentication internal security.admin.nsswitchgroup security.passwd.firstlogin.enable off security.passwd.lockout.numtries 4294967295 security.passwd.rootaccess.enable on security.passwd.rules.enable on security.passwd.rules.everyone off security.passwd.rules.history 0 security.passwd.rules.maximum 256 security.passwd.rules.minimum 8 security.passwd.rules.minimum.alphabetic 2 security.passwd.rules.minimum.digit 1 security.passwd.rules.minimum.symbol 0

You might also like