Issue with setting uid/gid/mode in multipath.conf
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
Quoted 21 lines · Chandra Seetharaman
Hi Benjamin,
I have a small issue with setting the uid/gid/mode with multipath tools.
I have the following in my
/etc/mulitpath.conffile
------------------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/multipathdrestart), I see the attributes are set properly on the device.
Quoted 7 lines
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
Quoted 7 lines · Chandra Seetharaman
After adding this, I do a "multipath -F" following by "multipath" (or multipath -F followed by
/etc/init.d/multipathdrestart), 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.
Quoted 6 lines
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.
Quoted 15 lines · Bryn M. Reeves
Quoted 7 lines · Chandra Seetharaman
After adding this, I do a "multipath -F" following by "multipath" (or multipath -F followed by
/etc/init.d/multipathdrestart), 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.Quoted 6 lines
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).
Quoted 7 lines
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.
Thanks for the info, Mark.
Quoted 42 lines · Mark Goodwin
Quoted 21 lines · Chandra Seetharaman
Hi Benjamin,
I have a small issue with setting the uid/gid/mode with multipath tools.
I have the following in my
/etc/mulitpath.conffile
------------------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/multipathdrestart), I see the attributes are set properly on the device.Quoted 7 lines
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
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel