From: Domenico Viggiani Subject: RE: Temporarily squelching multipathd errors Date: Thu, 30 Oct 2008 17:15:26 +0100 Message-ID: References: <1216456070.7364.4.camel@plop> <65F9ACC78BD8304BAAEB817634C62D4C06C1C4D1@AUSMAIL01.americas.ppdi.local> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <65F9ACC78BD8304BAAEB817634C62D4C06C1C4D1@AUSMAIL01.americas.ppdi.local> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: 'device-mapper development' List-Id: dm-devel.ids > 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 - Unpresent/destroy array LUN - Remove SCSI devices echo 1 > /sys/bus/scsi/drivers/sd//delete ... (for all paths) - Edit fstab -- Domenico Viggiani