Welcome to TopTechSteps, Let's learn together

Remove LUN from multipath

Toggle Post Content Toggle Post Content

 List out FileSystems

 #df -hTP

Unmount 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

Ad space

Responsive Advertisement

I am here to help you...

View count