[dm-devel] RE: Temporarily squelching multipathd errors
Domenico Viggiani
dviggiani at tiscali.it
Thu Oct 30 16:15:26 UTC 2008
> 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
More information about the dm-devel
mailing list