RE: Temporarily squelching multipathd errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From Daniel Keisling:
>
> What is proper procedure to completely remove all SCSI 
> devices and multipath maps so that multipathd will not 
> generate error messages when the LUN is unpresented from the system?

This is my recipe:

- Take a note of "multipath -ll" output (SCSI-IDs, long multipath
identifiers, etc)
- Umount filesystem
- Deactivate VG
	vgchange -an vg_XXX
- Export VG
	vgexport vg_XXX
- Remove multipath
	multipath -f <long-multipath-identifier>
- Unpresent/destroy array LUN
- Remove SCSI devices
	echo 1 > /sys/bus/scsi/drivers/sd/<SCSI-ID>/delete
	... (for all paths)
- Edit fstab


--
Domenico Viggiani

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux