From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hannes Reinecke Subject: Re: [PATCH 09/18] Make multipath deactivate devices before iscsi shutdown Date: Mon, 12 Oct 2015 09:05:07 +0200 Message-ID: <561B5BA3.5030501@suse.de> References: <1444333491-16265-1-git-send-email-bmarzins@redhat.com> <1444333491-16265-10-git-send-email-bmarzins@redhat.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1444333491-16265-10-git-send-email-bmarzins@redhat.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: dm-devel@redhat.com List-Id: dm-devel.ids On 10/08/2015 09:44 PM, Benjamin Marzinski wrote: > The multipath devices need to be deactivated before iscsi is shutdown, > otherwise the multipath devices will generate a lot of error messages > when it loses its iscsi path devices. > = > Signed-off-by: Benjamin Marzinski > --- > multipathd/multipathd.service | 1 + > 1 file changed, 1 insertion(+) > = > diff --git a/multipathd/multipathd.service b/multipathd/multipathd.service > index b5b755b..fc2e009 100644 > --- a/multipathd/multipathd.service > +++ b/multipathd/multipathd.service > @@ -1,5 +1,6 @@ > [Unit] > Description=3DDevice-Mapper Multipath Device Controller > +Requires=3Dblk-availability.service > Before=3Discsi.service iscsid.service lvm2-activation-early.service > Before=3Dlocal-fs-pre.target > After=3Dmultipathd.socket > = This will limit multipath to run on root-on-iSCSI scenarios. You cannot run multipath on non-iSCSI and have a non-root share on iSCSI after this change. Is that intended? Cheers, Hannes -- = Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N=FCrnberg GF: F. Imend=F6rffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG N=FCrnberg)