How Remove San Lun Linux?

How Remove San Lun Linux?
Contents

How do I remove a LUN?

Steps

  1. Ensure that the application or host is not using the LUN.
  2. Use the lun unmap to unmap the LUN from the igroup. Example. …
  3. Use the lun modify command to take the LUN offline. …
  4. Use the lun delete command to delete the LUN. …
  5. Use the lun show command to verify that you deleted the LUN.

How do I reclaim LUN in Linux?

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.

Maya Lin-Takahashi
Author

Maya Lin-Takahashi

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.