From: adas@sourceware.org <adas@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/gfs2/init.d gfs2
Date: 10 Jul 2006 22:17:49 -0000 [thread overview]
Message-ID: <20060710221749.4439.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: adas at sourceware.org 2006-07-10 22:17:48
Modified files:
gfs2/init.d : gfs2
Log message:
gfs2 init script. Minor changes. Works just fine
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/init.d/gfs2.diff?cvsroot=cluster&r1=1.1&r2=1.2
--- cluster/gfs2/init.d/gfs2 2005/04/26 02:58:57 1.1
+++ cluster/gfs2/init.d/gfs2 2006/07/10 22:17:48 1.2
@@ -24,11 +24,6 @@
start)
if [ -n "$GFS2FSTAB" ]
then
- #load_module lock_harness MODULE_LOCK_HARNESS
- #load_module crc32 MODULE_CRC32
- #load_module lock_gulm MODULE_LOCK_GULM
- #load_module gfs2 MODULE_GFS2
-
action $"Mounting GFS2 filesystems: " mount -a -t gfs2
fi
touch /var/lock/subsys/gfs2
@@ -53,16 +48,17 @@
sleep 2
remaining=`LC_ALL=C awk '!/^#/ && $3 ~ /^gfs2/ && $2 != "/" {print $2}' /proc/mounts`
[ -z "$remaining" ] && break
- /sbin/fuser -k -m $sig $remaining >/dev/null
+ /sbin/fuser -k -m $sig $remaining &> /dev/null
sleep 10
retry=$(($retry - 1))
sig=-9
done
fi
- modprobe -r gfs2
- modprobe -r lock_gulm
+ modprobe -r lock_nolock
modprobe -r lock_dlm
+ modprobe -r gfs2
+
rm -f /var/lock/subsys/gfs2
;;
next reply other threads:[~2006-07-10 22:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-10 22:17 adas [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-08-20 21:30 [Cluster-devel] cluster/gfs2/init.d gfs2 adas
2007-08-20 21:30 adas
2007-08-20 21:31 adas
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=20060710221749.4439.qmail@sourceware.org \
--to=adas@sourceware.org \
/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.