Danh Trịnh
New member
How do I reclaim Lun in Linux?
Answer
Check in the output of `multipath -ll` for the WWID of the LUN to be deleted. Remove the WWID using `multipath -f
<wwid>
`. Remove the multipath device from ALL paths to the LUN, run `echo 1 > /sys/bus/scsi/devices/${H:B:T:L}/delete` (Where H = host:B = bus:T = target:L = lun) For example, 4:0:0:1.
</wwid>
Answer
Check in the output of `multipath -ll` for the WWID of the LUN to be deleted. Remove the WWID using `multipath -f
<wwid>
`. Remove the multipath device from ALL paths to the LUN, run `echo 1 > /sys/bus/scsi/devices/${H:B:T:L}/delete` (Where H = host:B = bus:T = target:L = lun) For example, 4:0:0:1.
</wwid>