Re: [Ocfs2-users] Issue with files and folder ownership
I would recommend pacemaker if the distribution you are using has all the bits. Manual building gets messy. Suse based distros have all the bits required for ocfs2+pacemaker. On Tue, Aug 28, 2012 at 10:40 PM, Emilien Macchi emilien.mac...@stackops.com wrote: Hi, On Wed, Aug 29, 2012 at 7:25 AM, Sunil Mushran sunil.mush...@gmail.comwrote: 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.mac...@stackops.com wrote: Hi, On Wed, Aug 29, 2012 at 12:36 AM, Sunil Mushran sunil.mush...@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.mac...@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.mac...@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@oss.oracle.com https://oss.oracle.com/mailman/listinfo/ocfs2-users -- Emilien Macchi *System Engineer* *www.stackops.com | *emilien.mac...@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
Re: [Ocfs2-users] Issue with files and folder ownership
That's actually what I'm trying to do but I meet some troubles with Pacemaker resource. I'll write another thread on the ML after my troubleshooting. Regards On Wed, Aug 29, 2012 at 8:10 PM, Sunil Mushran sunil.mush...@gmail.comwrote: I would recommend pacemaker if the distribution you are using has all the bits. Manual building gets messy. Suse based distros have all the bits required for ocfs2+pacemaker. On Tue, Aug 28, 2012 at 10:40 PM, Emilien Macchi emilien.mac...@stackops.com wrote: Hi, On Wed, Aug 29, 2012 at 7:25 AM, Sunil Mushran sunil.mush...@gmail.comwrote: 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.mac...@stackops.com wrote: Hi, On Wed, Aug 29, 2012 at 12:36 AM, Sunil Mushran sunil.mush...@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.mac...@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.mac...@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@oss.oracle.com https://oss.oracle.com/mailman/listinfo/ocfs2-users -- Emilien Macchi *System Engineer* *www.stackops.com | *emilien.mac...@stackops.com** *|* skype:emilien.macchi* * http://www.stackops.com * * ADVERTENCIA LEGAL Le informamos, como destinatario de este
Re: [Ocfs2-users] Issue with files and folder ownership
I personally gave up to use OCFS2 with pacemaker, got too much problem and never worked as should be. I use pacemaker only to manage drbd and apache. Tested with Ubuntu, Debian and CentOS. From: emilien.mac...@stackops.com Date: Wed, 29 Aug 2012 23:56:11 +0200 To: sunil.mush...@gmail.com CC: ocfs2-users@oss.oracle.com Subject: Re: [Ocfs2-users] Issue with files and folder ownership That's actually what I'm trying to do but I meet some troubles with Pacemaker resource. I'll write another thread on the ML after my troubleshooting. Regards On Wed, Aug 29, 2012 at 8:10 PM, Sunil Mushran sunil.mush...@gmail.com wrote: I would recommend pacemaker if the distribution you are using has all the bits.Manual building gets messy. Suse based distros have all the bits requiredfor ocfs2+pacemaker. On Tue, Aug 28, 2012 at 10:40 PM, Emilien Macchi emilien.mac...@stackops.com wrote: Hi, On Wed, Aug 29, 2012 at 7:25 AM, Sunil Mushran sunil.mush...@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.mac...@stackops.com wrote: Hi, On Wed, Aug 29, 2012 at 12:36 AM, Sunil Mushran sunil.mush...@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.mac...@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.mac...@stackops.com | skype:emilien.macchi 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
Re: [Ocfs2-users] Issue with files and folder ownership
Is somebody here ? On Mon, Aug 27, 2012 at 12:08 PM, Emilien Macchi emilien.mac...@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.mac...@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.mac...@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
[Ocfs2-users] Issue with files and folder ownership
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.mac...@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@oss.oracle.com https://oss.oracle.com/mailman/listinfo/ocfs2-users