Simulating your Clustered ONTAP Environment: Part 4 - Volume Junction Paths and Qtrees

Continuing from Part 3...

11) Volume Junction Paths

Run these commands from the Clustershell ::>

rows 0
set -showseparator "#"
volume show -junction-active true -fields vserver,volume,junction-path

Copy and paste into Excel using the ‘Text Import Wizard’ and # as a delimiter. The Clustershell command syntax to be created is ::>

volume mount -vserver {Vserver Name} -volume {Volume Name} -junction-path {Junction Path}

This is done by the following Excel formula:

=CONCATENATE("volume mount -vserver ",A3," -volume ",B3," -junction-path ",C3)

12) Qtrees

Note 1: We leave Qtree Exports (and Volume Exports) to a later part.
Note 2: We’re only getting Qtrees for RW volumes.

Run these commands from the Clustershell ::>

rows 0
set -showseparator "#"
set -showallfields true
qtree show -qtree !""

Copy and paste into Excel using the ‘Text Import Wizard’ and # as a delimiter. The Clustershell command syntax to be created is ::>

qtree create -vserver {Vserver Name} -volume {Volume Name} -qtree {Qtree Name} -security-style {Security Style} -oplock-mode {enable|disable} -unix-permissions {Unix Permissions}

This is done by the following Excel formula:

=CONCATENATE("qtree create -vserver ",A3," -volume ",B3," -qtree ",C3," -security-style ",E3," -oplock-mode ",F3,IF(G3<>"-",(CONCATENATE(" -unix-permissions ",G3)),""))

TO BE CONTINUED...

Comments