From: Mark Goodwin <mgoodwin@redhat.com>
To: sekharan@linux.vnet.ibm.com,
device-mapper development <dm-devel@redhat.com>
Subject: Re: Issue with setting uid/gid/mode in multipath.conf
Date: Fri, 21 Aug 2009 12:30:46 +1000 [thread overview]
Message-ID: <4A8E06D6.70606@redhat.com> (raw)
In-Reply-To: <1250796306.746.6.camel@chandra-ubuntu>
Chandra Seetharaman wrote:
> Hi Benjamin,
>
> I have a small issue with setting the uid/gid/mode with multipath tools.
>
> I have the following in my /etc/mulitpath.conf file
> ------------------
> multipaths {
> multipath {
> wwid 3600a0b800011a1ee00003f834a3f7a65
> alias dev4
> mode 0666
> uid 1001
> gid 1001
> }
> }
> -------------------
>
> After adding this, I do a "multipath -F" following by "multipath" (or
> multipath -F followed by /etc/init.d/multipathd restart), I see the
> attributes are set properly on the device.
>
> I reboot the system, the device is created (under /dev/mapper) but
> attributes are not set as defined in the multipath.conf file.
>
> Have you seen this issue ?
>
> I am using RHEL 5.3 ga version (kernel and tools).
>
yes we've recently also seen this issue and can reproduce it without
any need for a reboot, see https://bugzilla.redhat.com/518575
It seems to be a racy interaction of some kind between udevd and multipathd.
Cheers
-- Mark
next prev parent reply other threads:[~2009-08-21 2:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-20 19:25 Issue with setting uid/gid/mode in multipath.conf Chandra Seetharaman
2009-08-21 2:30 ` Mark Goodwin [this message]
2009-08-21 17:29 ` Chandra Seetharaman
2009-08-21 9:14 ` Bryn M. Reeves
2009-08-21 9:25 ` Bryn M. Reeves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A8E06D6.70606@redhat.com \
--to=mgoodwin@redhat.com \
--cc=dm-devel@redhat.com \
--cc=sekharan@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.