]> git.proxmox.com Git - mirror_zfs-debian.git/blobdiff - cmd/vdev_id/vdev_id
New upstream version 0.6.5.10
[mirror_zfs-debian.git] / cmd / vdev_id / vdev_id
index 0d617a803ea2930f2fc028e5a1ead0987c7b6738..c7d962045bed3995e90ecb1212d55062fe55bf17 100755 (executable)
@@ -184,9 +184,9 @@ sas_handler() {
                        return
                fi
 
-               # Get the raw scsi device name from multipath -l Strip off
+               # Get the raw scsi device name from multipath -ll. Strip off
                # leading pipe symbols to make field numbering consistent.
-               DEV=`multipath -l $DM_NAME |
+               DEV=`multipath -ll $DM_NAME |
                        awk '/running/{gsub("^[|]"," "); print $3 ; exit}'`
                if [ -z "$DEV" ] ; then
                        return