When you use the sanlun command to confirm that DM-Multipath is set up, the command output varies depending on the protocol you are using and whether you are using clustered Data ONTAP or Data ONTAP operating in 7-Mode.
The following sections provide examples of the type of output produced when you run the sanlun command in the following environments:
The following examples show the output from the sanlun lun show -p command and the sanlun lun show all command in a Host Utilities environment that is running clustered Data ONTAP with FC and DM-Multipath.
The first example uses the sanlun lun show -p command. The output from the command shows that DM-Multipath (Multipath Provider: Native) is configured.
# sanlun lun show -p ONTAP Path: vs_data28_2:/vol/vol1/lun1 LUN: 2 LUN Size: 3g Mode: C Host Device: 3600a09803246664c422b2d51674f7470 Multipath Policy: round-robin 0 Multipath Provider: Native --------- ---------- ------- ------------ ----------------------------------- host vserver path path /dev/ host vserver state type node adapter LIF --------- ---------- ------- ------------ ----------------------------------- up primary sdfo host0 lif1 up primary sdfk host0 lif2 up primary sdga host1 lif3 up primary sdge host1 lif4 up secondary sdgm host1 lif5 up secondary sdgj host0 lif6 up secondary sdfw host0 lif7 up secondary sdgq host1 lif8
This example uses the sanlun lun show all command. The output shows that the LUNs are mapped to clustered Data ONTAP operating an environment using FC.
# sanlun lun show all controller(7mode)/ device host lun vserver(Cmode) lun-pathname filename adapter protocol size mode --------------------------------------------------------------------------------- vs_data28_2 /vol/vol1/lun1 /dev/sdgf host1 FCP 3g C vs_data28_2 /vol/vol2/lun2 /dev/sdge host1 FCP 3g C vs_data28_2 /vol/vol3/lun3 /dev/sdgd host1 FCP 3g C
The following examples show the output from the sanlun lun show -p command and the sanlun lun show all in a Host Utilities environment that is running Data ONTAP operating in 7-Mode with FC and DM-Multipath.
The first example uses the sanlun lun show -p command. The output from the command shows that DM-Multipath (Multipath Provider: Native) is configured.
# sanlun lun show -p ONTAP Path: fas3040-201-25:/vol/vol1/lun1 LUN: 27 LUN Size: 5g Controller CF State: Cluster Enabled Controller Partner: fas3040-201-24 Mode: 7 Host Device: 360a98000486e2f65686f647876573362 Multipath Policy: round-robin 0 Multipath Provider: Native --------- ---------- ------- ------------ ----------------------------------- host controller controller path path /dev/ host target state type node adapter port --------- ---------- ------- ------------ ----------------------------------- up primary sdbq host0 2a up primary sdeu host0 1a up primary sdgj host1 2a up primary sdjn host1 1a up secondary sdab host0 2a up secondary sddf host0 1a up secondary sdhy host1 2a up secondary sdlc host1 1a
This example uses the sanlun lun show all command. The output shows that the LUNs are mapped to Data ONTAP operating in 7-Mode in an environment using FC.
# sanlun lun show all controller(7mode)/ device host lun vserver(Cmode) lun-pathname filename adapter protocol size mode -------------------------------------------------------------------------------- fas3040-201-25 /vol/vol1/lun1 /dev/sdu host1 FCP 5g 7 fas3040-201-25 /vol/vol2/lun2 /dev/sdt host1 FCP 5g 7 fas3040-201-25 /vol/vol3/lun3 /dev/sds host1 FCP 5g 7
The following examples show the output from the sanlun lun show -p command and the sanlun lun show all in a Host Utilities environment that is running clustered Data ONTAP with iSCSI and DM-Multipath. The output is the same regardless of whether you are using a software iSCSI initiator or hardware iSCSI initiator.
The first example uses the sanlun lun show -p command. The output from the command shows that DM-Multipath (Multipath Provider: Native) is configured.
# sanlun lun show -p ONTAP Path: vs_data28_2:/vol/vol1/lun1 LUN: 2 LUN Size: 3g Mode: C Host Device: 3600a09803246664c422b2d51674f7470 Multipath Policy: round-robin 0 Multipath Provider: Native --------- ---------- ------- ------------ ------------------------------------- host vserver path path /dev/ host vserver state type node adapter LIF --------- ---------- ------- ------------ ------------------------------------- up primary sdfo host0 lif1 up primary sdfk host0 lif2 up primary sdga host1 lif3 up primary sdge host1 lif4 up secondary sdgm host1 lif5 up secondary sdgj host0 lif6 up secondary sdfw host0 lif7 up secondary sdgq host1 lif8
This example uses the sanlun lun show all command. The output shows that the LUNs are mapped to clustered Data ONTAP in an environment using iSCSI.
# sanlun lun show all controller(7mode)/ device host lun vserver(Cmode) lun-pathname filename adapter protocol size mode ------------------------------------------------------------------------------- vs_data78_1 /vol/vol1/lun1 /dev/sdcx host29 iSCSI 3g C vs_data78_0 /vol/vol2/lun2 /dev/sdcw host20 iSCSI 3g C vs_data79_1 /vol/vol3/lun3 /dev/sdck host14 iSCSI 3g C
The following examples show the output from the sanlun lun show -p command and the sanlun lun show all in a Host Utilities environment that is running Data ONTAP operating in 7-Mode with iSCSI and DM-Multipath. The output is the same regardless of whether you are using a software iSCSI initiator or hardware iSCSI initiator.
The first example uses the sanlun lun show -p command. The output from the command shows that DM-Multipath (Multipath Provider: Native) is configured.
# sanlun lun show -p ONTAP Path: f3170-201-37:/vol/vol1/lun1 LUN: 5 LUN Size: 6g Controller CF State: Cluster Enabled Controller Partner: f3170-201-36 Mode: 7 Host Device: 360a98000572d5a74526f6374342f5658 Multipath Policy: round-robin 0 Multipath Provider: Native --------- ---------- ------- ------------ -------------------------------- host controller controller path path /dev/ host target state type node adapter port --------- ---------- ------- ------------ -------------------------------- up iscsi sdh host8 10.72.201.37 up iscsi sdp host10 192.168.100.37
This example uses the sanlun lun show all command. The output shows that the LUNs are mapped to Data ONTAP operating in 7-Mode in an environment using iSCSI.
# sanlun lun show all controller(7mode)/ device host lun vserver(Cmode) lun-pathname filename adapter protocol size mode ------------------------------------------------------------------------------- fas3040-201-24 /vol/vol1/lun1 /dev/sdb host6 iSCSI 10m 7 fas3040-201-24 /vol/vol2/lun2 /dev/sdb host6 iSCSI 10m 7 fas3040-201-24 /vol/vol3/lun3 /dev/sdb host6 iSCSI 10m 7