Displaying volume mount and junction point information

You can display information about mounted volumes for storage virtual machines (SVMs) and the junction points to which the volumes are mounted. You can also determine which volumes are not mounted to a junction point. You can use this information to understand and manage your SVM namespace.

Procedure

Perform the desired action:
If you want to display... Enter the command...
Summary information about mounted and unmounted volumes on the SVM volume show -vserver vserver_name -junction
Detailed information about mounted and unmounted volumes on the SVM volume show -vserver vserver_name -volume volume_name -instance
Specific information about mounted and unmounted volumes on the SVM
  1. If necessary, you can display valid fields for the -fields parameter by using the following command: volume show -fields ?
  2. Display the desired information by using the -fields parameter: volume show -vserver vserver_name -fields fieldname,...

Examples

The following example displays a summary of mounted and unmounted volumes on SVM vs1:

cluster1::> volume show -vserver vs1 -junction
                     Junction                 Junction
Vserver   Volume     Active   Junction Path   Path Source
--------- ---------- -------- --------------- -----------
vs1       data       true     /data           RW_volume
vs1       home4      true     /eng/home       RW_volume
vs1       vs1_root   -        /               -
vs1       sales      true     /sales          RW_volume

The following example displays information about specified fields for volumes located on SVM vs2:

cluster1::> volume show -vserver vs2 -fields vserver,volume,aggregate,size,state,type,security-style,junction-path,junction-parent,node
vserver volume   aggregate size state  type security-style junction-path junction-parent node
------- ------   --------- ---- ------ ---- -------------- ------------- --------------- ----- 
vs2     data1    aggr3     2GB  online RW   unix           -             -               node3
vs2     data2    aggr3     1GB  online RW   ntfs           /data2        vs2_root        node3 
vs2     data2_1  aggr3     8GB  online RW   ntfs           /data2/d2_1   data2           node3
vs2     data2_2  aggr3     8GB  online RW   ntfs           /data2/d2_2   data2           node3
vs2     pubs     aggr1     1GB  online RW   unix           /publications vs2_root        node1
vs2     images   aggr3     2TB  online RW   ntfs           /images       vs2_root        node3
vs2     logs     aggr1     1GB  online RW   unix           /logs         vs2_root        node1
vs2     vs2_root aggr3     1GB  online RW   ntfs           /             -               node3