All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chandra Seetharaman <sekharan@us.ibm.com>
To: Benjamin Marzinski <bmarzins@redhat.com>
Cc: dm-devel <dm-devel@redhat.com>
Subject: Issue with setting uid/gid/mode in multipath.conf
Date: Thu, 20 Aug 2009 12:25:06 -0700	[thread overview]
Message-ID: <1250796306.746.6.camel@chandra-ubuntu> (raw)

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

             reply	other threads:[~2009-08-20 19:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-20 19:25 Chandra Seetharaman [this message]
2009-08-21  2:30 ` Issue with setting uid/gid/mode in multipath.conf 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

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=1250796306.746.6.camel@chandra-ubuntu \
    --to=sekharan@us.ibm.com \
    --cc=bmarzins@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.