From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bart Van Assche Subject: Re: [PATCH] multipathd: check and cleanup zombie paths Date: Thu, 22 Mar 2018 15:18:06 +0000 Message-ID: <1521731885.2637.2.camel@wdc.com> References: <1520325779.4131.4.camel@suse.com> <1520349519.4131.20.camel@suse.com> <1520426679.11340.5.camel@suse.com> <20180308154435.GB14513@octiron.msp.redhat.com> <20180309162243.GE14513@octiron.msp.redhat.com> <1521495726.3798.141.camel@suse.com> <1521557887.3156.5.camel@wdc.com> <3537d472-27ad-53fd-7d13-229359a53849@gmail.com> <1521558853.3156.10.camel@wdc.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US Content-ID: <292B37CA3AD9E14C8E292134E0FE0C80@namprd04.prod.outlook.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: "xose.vazquez@gmail.com" , "wu.chongyun@h3c.com" , "bmarzins@redhat.com" , "mwilck@suse.com" Cc: "guozhonghua@h3c.com" , "dm-devel@redhat.com" , "changlimin@h3c.com" , "ge.changwei@h3c.com" List-Id: dm-devel.ids On Thu, 2018-03-22 at 03:40 +0000, Chongyun Wu wrote: > I did a test. Below command can remove the residual device: > *echo "scsi remove-single-device 3 0 0 3" > /proc/scsi/scsi* > Is it safe? Hello Chongyun, Are you aware of the linux-scsi mailing list? I think this question would be more appropriate for that mailing list. Regarding your question, I think that you should be aware of the following comment above the proc write method that implements that functionality: "this provides a legacy mechanism to add or remove devices". Bart.