Sridhar Avantsa
2009-Jun-10 17:22 UTC
[Ocfs2-users] How to mount OCFS2 file systems using the EMC Power Path multipath device
OEL 5, OCFS 1.4, using EMC Power Path for multi pathing. I want t mount the OCFS2 file system on the emc power path device. I can mount by UUID, and not have to worry about persistent bindings across nodes. But how do I make sure when it mounts by UUID , that the pwoer path device is used. Any help will be much appreciated. Thanks -- Sridhar Avantsa savantsa at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20090610/2da656eb/attachment-0001.html
Saul Gabay
2009-Jun-10 17:33 UTC
[Ocfs2-users] How to mount OCFS2 file systems using the EMC PowerPath multipath device
Have you tried doing this by using disk label instead, you just need to make sure you format the OCFS2 lun by adding the label to it Saul ________________________________ From: ocfs2-users-bounces at oss.oracle.com [mailto:ocfs2-users-bounces at oss.oracle.com] On Behalf Of Sridhar Avantsa Sent: Wednesday, June 10, 2009 10:22 AM To: ocfs2-users at oss.oracle.com Subject: [Ocfs2-users] How to mount OCFS2 file systems using the EMC PowerPath multipath device OEL 5, OCFS 1.4, using EMC Power Path for multi pathing. I want t mount the OCFS2 file system on the emc power path device. I can mount by UUID, and not have to worry about persistent bindings across nodes. But how do I make sure when it mounts by UUID , that the pwoer path device is used. Any help will be much appreciated. Thanks -- Sridhar Avantsa savantsa at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20090610/2986fd6f/attachment.html
Joel Becker
2009-Jun-10 17:43 UTC
[Ocfs2-users] How to mount OCFS2 file systems using the EMC Power Path multipath device
On Wed, Jun 10, 2009 at 12:22:03PM -0500, Sridhar Avantsa wrote:> OEL 5, OCFS 1.4, using EMC Power Path for multi pathing. > > I want t mount the OCFS2 file system on the emc power path device. > I can mount by UUID, and not have to worry about persistent bindings across > nodes. > But how do I make sure when it mounts by UUID , that the pwoer path device > is used. > > Any help will be much appreciated.There are two things you can do. The first is to not worry, because PP takes over all devices. That is, if 'sda' and 'sdb' are two paths of 'emcpowera', it doesn't matter whether you open /dev/sda1, /dev/sdb1, or /dev/emcpowera1. PP has hijacked the devices and is used in all cases. Now, a lot of people consider this to be unkosher and wish that PP didn't hijack the devices. Maybe in the future EMC will change this. You can, of course, not worry about it until they do. The other alternative is to use udev to ensure you have a device name that points to the right device. Then you just mount by the device name. For example, a udev rule that only triggers on 'emcpower*' devices, checks that they are ocfs2 volumes, and then creates /dev/mydisks/<uuid> for them. Joel -- Life's Little Instruction Book #396 "Never give anyone a fruitcake." Joel Becker Principal Software Developer Oracle E-mail: joel.becker at oracle.com Phone: (650) 506-8127
Sridhar Avantsa
2009-Jun-10 18:29 UTC
[Ocfs2-users] How to mount OCFS2 file systems using the EMC PowerPath multipath device
Can not use label, since mount will come back with "Duplicate device for same label". Can nto say I tried it now. Did try it earlier on OCFS2 1.2 when it did fail. I see no reason for the beaviour to change. On Wed, Jun 10, 2009 at 12:33 PM, Saul Gabay <SaulG at herbalife.com> wrote:> Have you tried doing this by using disk label instead, you just need to > make sure you format the OCFS2 lun by adding the label to it > > > > Saul > > > ------------------------------ > > *From:* ocfs2-users-bounces at oss.oracle.com [mailto: > ocfs2-users-bounces at oss.oracle.com] *On Behalf Of *Sridhar Avantsa > *Sent:* Wednesday, June 10, 2009 10:22 AM > *To:* ocfs2-users at oss.oracle.com > *Subject:* [Ocfs2-users] How to mount OCFS2 file systems using the EMC > PowerPath multipath device > > > > OEL 5, OCFS 1.4, using EMC Power Path for multi pathing. > > I want t mount the OCFS2 file system on the emc power path device. > I can mount by UUID, and not have to worry about persistent bindings across > nodes. > But how do I make sure when it mounts by UUID , that the pwoer path device > is used. > > Any help will be much appreciated. > > Thanks > > -- > Sridhar Avantsa > > savantsa at gmail.com >-- Sridhar Avantsa savantsa at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20090610/db6729e6/attachment.html