Remove LUN from multipath
List out FileSystems
#df -hTPUnmount FileSystems
#umount partition
Remove LV, VG and PV from LVM
#umount /dev/vg/lv
#lvremove lv
#vgremove vg
#pvremove pv
List all multipath devices
#multipath -ll
Flush multipath
#multipath -f mpath9
Remove each path to the multipath device from the SCSI subsystem
#echo 1 > /sys/block/sd/device/delete (sda or sdb or ...)
After doing this we can't see disk in fdisk / lsblk output.
Remove/Detach disk from System
No comments:
Post a Comment