* Issue with setting uid/gid/mode in multipath.conf
@ 2009-08-20 19:25 Chandra Seetharaman
2009-08-21 2:30 ` Mark Goodwin
2009-08-21 9:14 ` Bryn M. Reeves
0 siblings, 2 replies; 5+ messages in thread
From: Chandra Seetharaman @ 2009-08-20 19:25 UTC (permalink / raw)
To: Benjamin Marzinski; +Cc: dm-devel
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).
I am not booting from a multipath device (IOW, there is no
multipath.conf in initrd).
Thanks,
chandra
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Issue with setting uid/gid/mode in multipath.conf
2009-08-20 19:25 Issue with setting uid/gid/mode in multipath.conf Chandra Seetharaman
@ 2009-08-21 2:30 ` Mark Goodwin
2009-08-21 17:29 ` Chandra Seetharaman
2009-08-21 9:14 ` Bryn M. Reeves
1 sibling, 1 reply; 5+ messages in thread
From: Mark Goodwin @ 2009-08-21 2:30 UTC (permalink / raw)
To: sekharan, device-mapper development
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Issue with setting uid/gid/mode in multipath.conf
2009-08-20 19:25 Issue with setting uid/gid/mode in multipath.conf Chandra Seetharaman
2009-08-21 2:30 ` Mark Goodwin
@ 2009-08-21 9:14 ` Bryn M. Reeves
2009-08-21 9:25 ` Bryn M. Reeves
1 sibling, 1 reply; 5+ messages in thread
From: Bryn M. Reeves @ 2009-08-21 9:14 UTC (permalink / raw)
To: sekharan, device-mapper development
On Thu, 2009-08-20 at 12:25 -0700, Chandra Seetharaman wrote:
> 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).
>
> I am not booting from a multipath device (IOW, there is no
> multipath.conf in initrd).
Hi Chandra,
I've seen problems with this as well. In my testing the setting of the
UID/GID is unreliable - in around one of five runs the uid/gid take the
default instead of the configured value.
I'm intending to open a Red Hat BZ for this problem today.
Regards,
Bryn.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Issue with setting uid/gid/mode in multipath.conf
2009-08-21 9:14 ` Bryn M. Reeves
@ 2009-08-21 9:25 ` Bryn M. Reeves
0 siblings, 0 replies; 5+ messages in thread
From: Bryn M. Reeves @ 2009-08-21 9:25 UTC (permalink / raw)
To: device-mapper development; +Cc: sekharan
On Fri, 2009-08-21 at 10:14 +0100, Bryn M. Reeves wrote:
> On Thu, 2009-08-20 at 12:25 -0700, Chandra Seetharaman wrote:
> > 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).
> >
> > I am not booting from a multipath device (IOW, there is no
> > multipath.conf in initrd).
>
> Hi Chandra,
>
> I've seen problems with this as well. In my testing the setting of the
> UID/GID is unreliable - in around one of five runs the uid/gid take the
> default instead of the configured value.
>
> I'm intending to open a Red Hat BZ for this problem today.
Marc got there first:
https://bugzilla.redhat.com/show_bug.cgi?id=518575
Cheers,
Bryn.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Issue with setting uid/gid/mode in multipath.conf
2009-08-21 2:30 ` Mark Goodwin
@ 2009-08-21 17:29 ` Chandra Seetharaman
0 siblings, 0 replies; 5+ messages in thread
From: Chandra Seetharaman @ 2009-08-21 17:29 UTC (permalink / raw)
To: device-mapper development
Thanks for the info, Mark.
On Fri, 2009-08-21 at 12:30 +1000, Mark Goodwin wrote:
> 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
>
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-08-21 17:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-20 19:25 Issue with setting uid/gid/mode in multipath.conf Chandra Seetharaman
2009-08-21 2:30 ` Mark Goodwin
2009-08-21 17:29 ` Chandra Seetharaman
2009-08-21 9:14 ` Bryn M. Reeves
2009-08-21 9:25 ` Bryn M. Reeves
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.