Hi, I'm working on a two nodes cluster with the goal to store virtual machines managed by OpenStack services and KVM Hypervisor. I also use iSCSI Multi-Pathing for the block device. My cluster is running and I can mount the device (/dev/sdd1). I'm having some problems with POSIX rights : - *chmod* on a file or folder is working. - *chown* on a file or folder is not working as I want : I'm trying to change the ownership of */var/lib/nova/instances* which is my mount point, but when I do that, the ownership setting is not applied on the second node. I can't use yet OpenStack + KVM because the mount point should have the "nova" user as POSIX owner. Here is my *cluster.conf* : http://paste.openstack.org/show/oPQR5pjZETz7xSAR04so/ And my mount point : */dev/sdd1 on /var/lib/nova/instances type ocfs2 (rw,_netdev,heartbeat=local)* In advance thank you for your help. Best regards -- Emilien Macchi *System Engineer* *www.stackops.com | *emilien.macchi at stackops.com** *|* skype:emilien.macchi* * <http://www.stackops.com> * * ******************** ADVERTENCIA LEGAL ******************** Le informamos, como destinatario de este mensaje, que el correo electr?nico y las comunicaciones por medio de Internet no permiten asegurar ni garantizar la confidencialidad de los mensajes transmitidos, as? como tampoco su integridad o su correcta recepci?n, por lo que STACKOPS TECHNOLOGIES S.L. no asume responsabilidad alguna por tales circunstancias. Si no consintiese en la utilizaci?n del correo electr?nico o de las comunicaciones v?a Internet le rogamos nos lo comunique y ponga en nuestro conocimiento de manera inmediata. Este mensaje va dirigido, de manera exclusiva, a su destinatario y contiene informaci?n confidencial y sujeta al secreto profesional, cuya divulgaci?n no est? permitida por la ley. En caso de haber recibido este mensaje por error, le rogamos que, de forma inmediata, nos lo comunique mediante correo electr?nico remitido a nuestra atenci?n y proceda a su eliminaci?n, as? como a la de cualquier documento adjunto al mismo. Asimismo, le comunicamos que la distribuci?n, copia o utilizaci?n de este mensaje, o de cualquier documento adjunto al mismo, cualquiera que fuera su finalidad, est?n prohibidas por la ley. ***************** PRIVILEGED AND CONFIDENTIAL **************** We hereby inform you, as addressee of this message, that e-mail and Internet do not guarantee the confidentiality, nor the completeness or proper reception of the messages sent and, thus, STACKOPS TECHNOLOGIES S.L. does not assume any liability for those circumstances. Should you not agree to the use of e-mail or to communications via Internet, you are kindly requested to notify us immediately. This message is intended exclusively for the person to whom it is addressed and contains privileged and confidential information protected from disclosure by law. If you are not the addressee indicated in this message, you should immediately delete it and any attachments and notify the sender by reply e-mail. In such case, you are hereby notified that any dissemination, distribution, copying or use of this message or any attachments, for any purpose, is strictly prohibited by law. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20120827/1cc25957/attachment.html
Is somebody here ? On Mon, Aug 27, 2012 at 12:08 PM, Emilien Macchi < emilien.macchi at stackops.com> wrote:> Hi, > > > I'm working on a two nodes cluster with the goal to store virtual machines > managed by OpenStack services and KVM Hypervisor. I also use iSCSI > Multi-Pathing for the block device. > > My cluster is running and I can mount the device (/dev/sdd1). > > I'm having some problems with POSIX rights : > > - *chmod* on a file or folder is working. > - *chown* on a file or folder is not working as I want : I'm trying to > change the ownership of */var/lib/nova/instances* which is my mount > point, but when I do that, the ownership setting is not applied on the > second node. > > I can't use yet OpenStack + KVM because the mount point should have the > "nova" user as POSIX owner. > > Here is my *cluster.conf* : > http://paste.openstack.org/show/oPQR5pjZETz7xSAR04so/ > And my mount point : > */dev/sdd1 on /var/lib/nova/instances type ocfs2 > (rw,_netdev,heartbeat=local)* > > > In advance thank you for your help. > > > Best regards > > -- > Emilien Macchi > *System Engineer* > *www.stackops.com > > | *emilien.macchi at stackops.com** *|* skype:emilien.macchi* > * <http://www.stackops.com> > * > > * > > ******************** ADVERTENCIA LEGAL ******************** > Le informamos, como destinatario de este mensaje, que el correo > electr?nico y las comunicaciones por medio de Internet no permiten asegurar > ni garantizar la confidencialidad de los mensajes transmitidos, as? como > tampoco su integridad o su correcta recepci?n, por lo que STACKOPS > TECHNOLOGIES S.L. no asume responsabilidad alguna por tales circunstancias. > Si no consintiese en la utilizaci?n del correo electr?nico o de las > comunicaciones v?a Internet le rogamos nos lo comunique y ponga en nuestro > conocimiento de manera inmediata. Este mensaje va dirigido, de manera > exclusiva, a su destinatario y contiene informaci?n confidencial y sujeta > al secreto profesional, cuya divulgaci?n no est? permitida por la ley. En > caso de haber recibido este mensaje por error, le rogamos que, de forma > inmediata, nos lo comunique mediante correo electr?nico remitido a nuestra > atenci?n y proceda a su eliminaci?n, as? como a la de cualquier documento > adjunto al mismo. Asimismo, le comunicamos que la distribuci?n, copia o > utilizaci?n de este mensaje, o de cualquier documento adjunto al mismo, > cualquiera que fuera su finalidad, est?n prohibidas por la ley. > > ***************** PRIVILEGED AND CONFIDENTIAL **************** > We hereby inform you, as addressee of this message, that e-mail and > Internet do not guarantee the confidentiality, nor the completeness or > proper reception of the messages sent and, thus, STACKOPS TECHNOLOGIES S.L. > does not assume any liability for those circumstances. Should you not agree > to the use of e-mail or to communications via Internet, you are kindly > requested to notify us immediately. This message is intended exclusively > for the person to whom it is addressed and contains privileged and > confidential information protected from disclosure by law. If you are not > the addressee indicated in this message, you should immediately delete it > and any attachments and notify the sender by reply e-mail. In such case, > you are hereby notified that any dissemination, distribution, copying or > use of this message or any attachments, for any purpose, is strictly > prohibited by law. > >-- Emilien Macchi *System Engineer* *www.stackops.com | *emilien.macchi at stackops.com** *|* skype:emilien.macchi* * <http://www.stackops.com> * * ******************** ADVERTENCIA LEGAL ******************** Le informamos, como destinatario de este mensaje, que el correo electr?nico y las comunicaciones por medio de Internet no permiten asegurar ni garantizar la confidencialidad de los mensajes transmitidos, as? como tampoco su integridad o su correcta recepci?n, por lo que STACKOPS TECHNOLOGIES S.L. no asume responsabilidad alguna por tales circunstancias. Si no consintiese en la utilizaci?n del correo electr?nico o de las comunicaciones v?a Internet le rogamos nos lo comunique y ponga en nuestro conocimiento de manera inmediata. Este mensaje va dirigido, de manera exclusiva, a su destinatario y contiene informaci?n confidencial y sujeta al secreto profesional, cuya divulgaci?n no est? permitida por la ley. En caso de haber recibido este mensaje por error, le rogamos que, de forma inmediata, nos lo comunique mediante correo electr?nico remitido a nuestra atenci?n y proceda a su eliminaci?n, as? como a la de cualquier documento adjunto al mismo. Asimismo, le comunicamos que la distribuci?n, copia o utilizaci?n de este mensaje, o de cualquier documento adjunto al mismo, cualquiera que fuera su finalidad, est?n prohibidas por la ley. ***************** PRIVILEGED AND CONFIDENTIAL **************** We hereby inform you, as addressee of this message, that e-mail and Internet do not guarantee the confidentiality, nor the completeness or proper reception of the messages sent and, thus, STACKOPS TECHNOLOGIES S.L. does not assume any liability for those circumstances. Should you not agree to the use of e-mail or to communications via Internet, you are kindly requested to notify us immediately. This message is intended exclusively for the person to whom it is addressed and contains privileged and confidential information protected from disclosure by law. If you are not the addressee indicated in this message, you should immediately delete it and any attachments and notify the sender by reply e-mail. In such case, you are hereby notified that any dissemination, distribution, copying or use of this message or any attachments, for any purpose, is strictly prohibited by law. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20120828/28332eba/attachment.html
Permissions on the mount point should be local to a machine. AFAIK. On Mon, Aug 27, 2012 at 3:08 AM, Emilien Macchi <emilien.macchi at stackops.com> wrote:> Hi, > > > I'm working on a two nodes cluster with the goal to store virtual machines > managed by OpenStack services and KVM Hypervisor. I also use iSCSI > Multi-Pathing for the block device. > > My cluster is running and I can mount the device (/dev/sdd1). > > I'm having some problems with POSIX rights : > > - *chmod* on a file or folder is working. > - *chown* on a file or folder is not working as I want : I'm trying to > change the ownership of */var/lib/nova/instances* which is my mount > point, but when I do that, the ownership setting is not applied on the > second node. > > I can't use yet OpenStack + KVM because the mount point should have the > "nova" user as POSIX owner. > > Here is my *cluster.conf* : > http://paste.openstack.org/show/oPQR5pjZETz7xSAR04so/ > And my mount point : > */dev/sdd1 on /var/lib/nova/instances type ocfs2 > (rw,_netdev,heartbeat=local)* > > > In advance thank you for your help. > > > Best regards > > -- > Emilien Macchi > *System Engineer* > *www.stackops.com > > | *emilien.macchi at stackops.com** *|* skype:emilien.macchi* > * <http://www.stackops.com> > * > > * > > ******************** ADVERTENCIA LEGAL ******************** > Le informamos, como destinatario de este mensaje, que el correo > electr?nico y las comunicaciones por medio de Internet no permiten asegurar > ni garantizar la confidencialidad de los mensajes transmitidos, as? como > tampoco su integridad o su correcta recepci?n, por lo que STACKOPS > TECHNOLOGIES S.L. no asume responsabilidad alguna por tales circunstancias. > Si no consintiese en la utilizaci?n del correo electr?nico o de las > comunicaciones v?a Internet le rogamos nos lo comunique y ponga en nuestro > conocimiento de manera inmediata. Este mensaje va dirigido, de manera > exclusiva, a su destinatario y contiene informaci?n confidencial y sujeta > al secreto profesional, cuya divulgaci?n no est? permitida por la ley. En > caso de haber recibido este mensaje por error, le rogamos que, de forma > inmediata, nos lo comunique mediante correo electr?nico remitido a nuestra > atenci?n y proceda a su eliminaci?n, as? como a la de cualquier documento > adjunto al mismo. Asimismo, le comunicamos que la distribuci?n, copia o > utilizaci?n de este mensaje, o de cualquier documento adjunto al mismo, > cualquiera que fuera su finalidad, est?n prohibidas por la ley. > > ***************** PRIVILEGED AND CONFIDENTIAL **************** > We hereby inform you, as addressee of this message, that e-mail and > Internet do not guarantee the confidentiality, nor the completeness or > proper reception of the messages sent and, thus, STACKOPS TECHNOLOGIES S.L. > does not assume any liability for those circumstances. Should you not agree > to the use of e-mail or to communications via Internet, you are kindly > requested to notify us immediately. This message is intended exclusively > for the person to whom it is addressed and contains privileged and > confidential information protected from disclosure by law. If you are not > the addressee indicated in this message, you should immediately delete it > and any attachments and notify the sender by reply e-mail. In such case, > you are hereby notified that any dissemination, distribution, copying or > use of this message or any attachments, for any purpose, is strictly > prohibited by law. > > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users at oss.oracle.com > https://oss.oracle.com/mailman/listinfo/ocfs2-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20120828/ff8b9731/attachment.html
Hi, On Wed, Aug 29, 2012 at 7:25 AM, Sunil Mushran <sunil.mushran at gmail.com>wrote:> Isn't the mount point is local to the machine?I use iSCSI for the Block device and I mount the device (/dev/sdc1) at /var/lib/nova/instances. I've formated /dev/sdc1 in OCFS2 FS. Should I use Pacemaker to manage OCFS2 ? Thanks, -Emilien> > On Tue, Aug 28, 2012 at 10:14 PM, Emilien Macchi < > emilien.macchi at stackops.com> wrote: > >> Hi, >> >> On Wed, Aug 29, 2012 at 12:36 AM, Sunil Mushran <sunil.mushran at gmail.com>wrote: >> >>> Permissions on the mount point should be local to a machine. >> >> >> That's unthinkable if you consider that's a cluster FS which respects >> POSIX rules. >> >> >> -Emilien >> >> >> >>> AFAIK. >>> >>> On Mon, Aug 27, 2012 at 3:08 AM, Emilien Macchi < >>> emilien.macchi at stackops.com> wrote: >>> >>>> Hi, >>>> >>>> >>>> I'm working on a two nodes cluster with the goal to store virtual >>>> machines managed by OpenStack services and KVM Hypervisor. I also use iSCSI >>>> Multi-Pathing for the block device. >>>> >>>> My cluster is running and I can mount the device (/dev/sdd1). >>>> >>>> I'm having some problems with POSIX rights : >>>> >>>> - *chmod* on a file or folder is working. >>>> - *chown* on a file or folder is not working as I want : I'm trying >>>> to change the ownership of */var/lib/nova/instances* which is my >>>> mount point, but when I do that, the ownership setting is not applied on >>>> the second node. >>>> >>>> I can't use yet OpenStack + KVM because the mount point should have the >>>> "nova" user as POSIX owner. >>>> >>>> Here is my *cluster.conf* : >>>> http://paste.openstack.org/show/oPQR5pjZETz7xSAR04so/ >>>> And my mount point : >>>> */dev/sdd1 on /var/lib/nova/instances type ocfs2 >>>> (rw,_netdev,heartbeat=local)* >>>> >>>> >>>> In advance thank you for your help. >>>> >>>> >>>> Best regards >>>> >>>> -- >>>> Emilien Macchi >>>> *System Engineer* >>>> *www.stackops.com >>>> >>>> | *emilien.macchi at stackops.com** *|* skype:emilien.macchi* >>>> * <http://www.stackops.com> >>>> * >>>> >>>> * >>>> >>>> ******************** ADVERTENCIA LEGAL ******************** >>>> Le informamos, como destinatario de este mensaje, que el correo >>>> electr?nico y las comunicaciones por medio de Internet no permiten asegurar >>>> ni garantizar la confidencialidad de los mensajes transmitidos, as? como >>>> tampoco su integridad o su correcta recepci?n, por lo que STACKOPS >>>> TECHNOLOGIES S.L. no asume responsabilidad alguna por tales circunstancias. >>>> Si no consintiese en la utilizaci?n del correo electr?nico o de las >>>> comunicaciones v?a Internet le rogamos nos lo comunique y ponga en nuestro >>>> conocimiento de manera inmediata. Este mensaje va dirigido, de manera >>>> exclusiva, a su destinatario y contiene informaci?n confidencial y sujeta >>>> al secreto profesional, cuya divulgaci?n no est? permitida por la ley. En >>>> caso de haber recibido este mensaje por error, le rogamos que, de forma >>>> inmediata, nos lo comunique mediante correo electr?nico remitido a nuestra >>>> atenci?n y proceda a su eliminaci?n, as? como a la de cualquier documento >>>> adjunto al mismo. Asimismo, le comunicamos que la distribuci?n, copia o >>>> utilizaci?n de este mensaje, o de cualquier documento adjunto al mismo, >>>> cualquiera que fuera su finalidad, est?n prohibidas por la ley. >>>> >>>> ***************** PRIVILEGED AND CONFIDENTIAL **************** >>>> We hereby inform you, as addressee of this message, that e-mail and >>>> Internet do not guarantee the confidentiality, nor the completeness or >>>> proper reception of the messages sent and, thus, STACKOPS TECHNOLOGIES S.L. >>>> does not assume any liability for those circumstances. Should you not agree >>>> to the use of e-mail or to communications via Internet, you are kindly >>>> requested to notify us immediately. This message is intended exclusively >>>> for the person to whom it is addressed and contains privileged and >>>> confidential information protected from disclosure by law. If you are not >>>> the addressee indicated in this message, you should immediately delete it >>>> and any attachments and notify the sender by reply e-mail. In such case, >>>> you are hereby notified that any dissemination, distribution, copying or >>>> use of this message or any attachments, for any purpose, is strictly >>>> prohibited by law. >>>> >>>> >>>> _______________________________________________ >>>> Ocfs2-users mailing list >>>> Ocfs2-users at oss.oracle.com >>>> https://oss.oracle.com/mailman/listinfo/ocfs2-users >>>> >>> >>> >> >> >> -- >> Emilien Macchi >> *System Engineer* >> *www.stackops.com >> >> | *emilien.macchi at stackops.com** *|* skype:emilien.macchi* >> * <http://www.stackops.com> >> * >> >> * >> >> ******************** ADVERTENCIA LEGAL ******************** >> Le informamos, como destinatario de este mensaje, que el correo >> electr?nico y las comunicaciones por medio de Internet no permiten asegurar >> ni garantizar la confidencialidad de los mensajes transmitidos, as? como >> tampoco su integridad o su correcta recepci?n, por lo que STACKOPS >> TECHNOLOGIES S.L. no asume responsabilidad alguna por tales circunstancias. >> Si no consintiese en la utilizaci?n del correo electr?nico o de las >> comunicaciones v?a Internet le rogamos nos lo comunique y ponga en nuestro >> conocimiento de manera inmediata. Este mensaje va dirigido, de manera >> exclusiva, a su destinatario y contiene informaci?n confidencial y sujeta >> al secreto profesional, cuya divulgaci?n no est? permitida por la ley. En >> caso de haber recibido este mensaje por error, le rogamos que, de forma >> inmediata, nos lo comunique mediante correo electr?nico remitido a nuestra >> atenci?n y proceda a su eliminaci?n, as? como a la de cualquier documento >> adjunto al mismo. Asimismo, le comunicamos que la distribuci?n, copia o >> utilizaci?n de este mensaje, o de cualquier documento adjunto al mismo, >> cualquiera que fuera su finalidad, est?n prohibidas por la ley. >> >> ***************** PRIVILEGED AND CONFIDENTIAL **************** >> We hereby inform you, as addressee of this message, that e-mail and >> Internet do not guarantee the confidentiality, nor the completeness or >> proper reception of the messages sent and, thus, STACKOPS TECHNOLOGIES S.L. >> does not assume any liability for those circumstances. Should you not agree >> to the use of e-mail or to communications via Internet, you are kindly >> requested to notify us immediately. This message is intended exclusively >> for the person to whom it is addressed and contains privileged and >> confidential information protected from disclosure by law. If you are not >> the addressee indicated in this message, you should immediately delete it >> and any attachments and notify the sender by reply e-mail. In such case, >> you are hereby notified that any dissemination, distribution, copying or >> use of this message or any attachments, for any purpose, is strictly >> prohibited by law. >> >> >-- Emilien Macchi *System Engineer* *www.stackops.com | *emilien.macchi at stackops.com** *|* skype:emilien.macchi* * <http://www.stackops.com> * * ******************** ADVERTENCIA LEGAL ******************** Le informamos, como destinatario de este mensaje, que el correo electr?nico y las comunicaciones por medio de Internet no permiten asegurar ni garantizar la confidencialidad de los mensajes transmitidos, as? como tampoco su integridad o su correcta recepci?n, por lo que STACKOPS TECHNOLOGIES S.L. no asume responsabilidad alguna por tales circunstancias. Si no consintiese en la utilizaci?n del correo electr?nico o de las comunicaciones v?a Internet le rogamos nos lo comunique y ponga en nuestro conocimiento de manera inmediata. Este mensaje va dirigido, de manera exclusiva, a su destinatario y contiene informaci?n confidencial y sujeta al secreto profesional, cuya divulgaci?n no est? permitida por la ley. En caso de haber recibido este mensaje por error, le rogamos que, de forma inmediata, nos lo comunique mediante correo electr?nico remitido a nuestra atenci?n y proceda a su eliminaci?n, as? como a la de cualquier documento adjunto al mismo. Asimismo, le comunicamos que la distribuci?n, copia o utilizaci?n de este mensaje, o de cualquier documento adjunto al mismo, cualquiera que fuera su finalidad, est?n prohibidas por la ley. ***************** PRIVILEGED AND CONFIDENTIAL **************** We hereby inform you, as addressee of this message, that e-mail and Internet do not guarantee the confidentiality, nor the completeness or proper reception of the messages sent and, thus, STACKOPS TECHNOLOGIES S.L. does not assume any liability for those circumstances. Should you not agree to the use of e-mail or to communications via Internet, you are kindly requested to notify us immediately. This message is intended exclusively for the person to whom it is addressed and contains privileged and confidential information protected from disclosure by law. If you are not the addressee indicated in this message, you should immediately delete it and any attachments and notify the sender by reply e-mail. In such case, you are hereby notified that any dissemination, distribution, copying or use of this message or any attachments, for any purpose, is strictly prohibited by law. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20120829/81f5b875/attachment-0001.html