Re: OpenSSI not loading up all of the fstab on boot

"Cumberland, Lonnie" <[email protected]> Fri, 13 Aug 2010 08:50:35 -0400
Newsgroups gmane.linux.cluster.ssic.user
Message-ID <A3FD81D57663BD41BF701B44F5E75CE712D7376BEC@MBCLUSTER.xchange.nist.gov>
Hi John,

Thanks for getting back to me:

I have a fresh boot now and here is what I have mounted. Still not mounting the nodes swaps and local drives from what I can see

---------------------------------------
#cat /proc/mounts

rootfs / rootfs rw 0 0
/dev2/root2 / cfs rw,chard,node=1 0 0
tmpfs /lib/init/rw cfs rw,nosuid,node=1 0 0
proc /proc proc rw,nodiratime,nosuid,nodev,noexec 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec 0 0
/dev2/root2 /cluster/node1/dev/.static/dev cfs rw,chard,node=1 0 0
tmpfs /cluster/node1/dev cfs rw,node=1 0 0
tmpfs /cluster/node1/dev/shm cfs rw,nosuid,nodev,node=1 0 0
devpts /cluster/dev/pts devpts rw,nosuid,noexec 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec 0 0
00000034 /cluster/node3/dev cfs rw,node=3 0 0
00000037 /cluster/node3/dev/shm cfs rw,node=3 0 0
00000039 /cluster/node4/dev cfs rw,node=4 0 0
0000003b /cluster/node4/dev/shm cfs rw,node=4 0 0
0000002e /cluster/node5/dev cfs rw,node=5 0 0
00000030 /cluster/node5/dev/shm cfs rw,node=5 0 0
00000040 /cluster/node2/dev cfs rw,node=2 0 0
00000042 /cluster/node2/dev/shm cfs rw,node=2 0 0
/dev/loop0 /root/tftpboot/tmpDir cfs rw,node=1 0 0
---------------------------------------

What location would you suggest that I use to mount the node drives from within each /cluster/nodeX  space so that I can have a single statement in my fstab for the swaps and one statement for the local node drives mounting since they are all partitioned exactly the same.

Thanks and have a great day,
Lonnie Cumberland, Prof.
Physicist

> -----Original Message-----
> From: John Hughes [mailto:[email protected]]
> Sent: Friday, August 13, 2010 8:48 AM
> To: Cumberland, Lonnie
> Cc: Openssi users
> Subject: Re: OpenSSI not loading up all of the fstab on boot
> 
> Cumberland, Lonnie wrote:
> > Hello John,
> >
> > I have been looking into the fstab issue and I think that the reason
> that the main node fstab is not mounting the node swaps and local
> drives is simply because at the point of booting the main node, the
> other nodes are not yet booted and thus the main node cannot find the
> swaps and node drives to mount.
> >
> No.  the mounting of the swaps/drives is done in rcSSI which is run by
> init on nodeup,
> 
> In /etc/inittab we have
> 
> l3U:S12345U:once:/etc/init.d/rc.nodeup %n < /dev/console > /dev/console
> 2>&1
> 
> The special "U" flag means run on nodeup, setting %n to the node number
> 
> In /etc/init.d/rc.nodeup we have:
> 
> echo "/etc/init.d/rc.nodeup $1 running" > /dev/console
> 
> # this is equivalent to /etc/init.d/rcS
> /etc/init.d/rcSSI
> 
> And in /etc/rcSSI.d, run by /etc/init.d/rcSSI we have
> /etc/rcSSI.d/S35mountall.sh"
> 
> > With this in mind, I was thinking that there must be an init script
> that each node it running to boot and I could add in:
> >
> Yes, there is such a script, but it should already be mounting the
> devices


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev