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

[dm-devel] RE: Temporarily squelching multipathd errors



> 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


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