Sie sind auf Seite 1von 4

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