All of lore.kernel.org
 help / color / mirror / Atom feed
From: lazar obradovic <laza@yu.net>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] ocfs2-1.0.1 ebuilds
Date: Mon Aug 15 18:46:11 2005	[thread overview]
Message-ID: <4301298C.4090803@yu.net> (raw)
In-Reply-To: <4301175A.6050101@oracle.com>

Sunil Mushran wrote:

> I have not seen the changes in code but the comments in the bug
> indicate they have to do with adding umounts in o2cb stop.

'init script' in bug report refers to new gentoo-style init script...
I added unmount to that one, not the original one... Please take a look 
at sys-fs/ocfs2-tools/files/ocfs2.init file in the attachment.

> Maybe a better idea would be to have a generic ocfs2 mount/umount
> service as follows:
> http://oss.oracle.com/bugzilla/attachment.cgi?id=162
> This one is for SLES9. Maybe someone can write one up for gentoo.

ocfs2 should be added to gentoo's list of network filesystems (I forgot 
to open a bug on baselayout, just did it now - gentoo bz#102659 ), so 
netmount script will take care of mounting and unmounting it.

However, if you decide to stop ocfs2 cluster by other means than 
rebooting, it's initscript should unmount every ocfs2 mountpoint. Piece 
of script I copied from gentoo's netmount is far more complex, since 
'umount -at ocfs2' might fail if someone is still using files on ocfs2. 
It adds a extra layer, killing all the processes that have open files on 
the mountpoint one is trying to unmount, so I find it a better solution.

> If so, please add it as an attachment to bug:
> http://oss.oracle.com/bugzilla/show_bug.cgi?id=524
> Doc-ing this would be far easier.

Will do, as soon as I fix errors previously noted by manish.singh. I 
think this piece of code should also be usable on SLES and RHEL...

-- 
LO275-RIPE

  reply	other threads:[~2005-08-15 18:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-08 20:03 [Ocfs2-devel] ocfs2-1.0.0 ebuilds lazar obradovic
2005-08-15 16:19 ` [Ocfs2-devel] ocfs2-1.0.1 ebuilds lazar obradovic
2005-08-15 17:14   ` Manish Singh
2005-08-15 17:29     ` Sunil Mushran
2005-08-15 18:46       ` lazar obradovic [this message]
2005-08-15 19:35         ` Manish Singh
2005-08-15 18:23     ` lazar obradovic
2005-08-15 19:26       ` Manish Singh

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=4301298C.4090803@yu.net \
    --to=laza@yu.net \
    --cc=ocfs2-devel@oss.oracle.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.