Discussion:
[CI] RE: ssic-linux-devel digest, Vol 1 #300 - 1 msg
Hinchley, Scott
2002-11-06 19:17:02 UTC
Permalink
Aneesh,
are you going to allow lists of nodes (either 1,3,7 or 1-3) for
swap/disk devices that are the same on multiple nodes (ie. Half of the
nodes have /dev/sda2 as swap and half have /dev/hda2)? Having one line
for each node will be large even with a 30 node cluster.
The other useful item would be to have node based entries:

/dev/sda1 /home/node# ext3 rw,node=* 0
2 ; where # is replaced with node number

Brian,
you may want to add a couple notes in the INSTALL file to remind
people to create/update /etc/fstab.ssi and /etc/inittab.ssi.


From: "Aneesh Kumar K.V" <***@digital.com>
To: ssic-linux-devel <ssic-linux-***@lists.sourceforge.net>,
Cluster CI <ci-linux-***@lists.sourceforge.net>
Date: 06 Nov 2002 12:05:38 +0530
Subject: [SSI] changing mount/umount/swapon/fsck

Hi,

With the cluster-tools code base in CVS the mount/umount/swapon/fsck on
a system will be changed to SSI specific binaries. A backup of the old
binaries are taken as *.old (mount.old). The above commands require a
new file /etc/fstab.ssi. The sample format is attached below.

# /etc/fstab.ssi: static file system information.
#
# <file system> <mount point> <type> <options>
<dump> <pass>
/dev/sda1 / ext3 defaults,errors=remount-ro,node=1
0 1
/dev/sda2 none swap sw,node=1 0 0
/dev/sdb2 none swap sw,node=2 0 0
proc /proc proc defaults,node=* 0 0
/dev/fd0 /floppy auto defaults,user,noauto,node=* 0
0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noauto,node=*
0 0
/dev/sda4 /gfs ext3 rw,node=1 0 2
none /devfs devfs defaults,node=* 0 0




Make sure you create a equivalent file on your system before installing
cluster-tools/ssi/util-linux. This is not installed by default as of
now.

Sorry for doing a checkin close to the release date. I was on leave
from last friday and reached back today.


-aneesh
Brian J. Watson
2002-11-11 20:53:01 UTC
Permalink
Post by Hinchley, Scott
Brian,
you may want to add a couple notes in the INSTALL file to remind
people to create/update /etc/fstab.ssi and /etc/inittab.ssi.
My plan is to write a script that will automatically write fstab.ssi
based on the contents of fstab. I'd also like to enhance addnode and
chnode to manage the contents of fstab.ssi, in addition to
/etc/clustertab.
--
Brian Watson | "Now I don't know, but I been told it's
Software Developer | hard to run with the weight of gold,
Open SSI Clustering Project | Other hand I heard it said, it's
Hewlett-Packard Company | just as hard with the weight of lead."
| -Robert Hunter, 1970

mailto:***@hp.com
http://opensource.compaq.com/
Loading...