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

John Hughes <[email protected]> Fri, 13 Aug 2010 15:53:21 +0200
Newsgroups gmane.linux.cluster.ssic.user
Message-ID <[email protected]>
Cumberland, Lonnie wrote:
> 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
>   
Bizarre - it works for me.

Try adding some tracing stuff to  /etc/rcSSI.d/S35mountall.sh


>
> 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.
>
>   

Make a directory somewhere then use mklocalfile

# mkdir /var/fred
$ mklocalfile /var/fred

Now you have:

# ls -l /var/fred
lrwxrwxrwx 1 root root 32 2010-08-13 15:46 /var/fred -> 
/cluster/node{nodenum}//var/fred

And
# ls -ld /cluster/node*/var/fred
drwxr-xr-x 2 root root 4096 2010-08-13 15:46 /cluster/node10/var/fred
drwxr-xr-x 2 root root 4096 2010-08-13 15:46 /cluster/node11/var/fred
drwxr-xr-x 2 root root 4096 2010-08-13 15:46 /cluster/node1/var/fred
drwxr-xr-x 2 root root 4096 2010-08-13 15:46 /cluster/node2/var/fred
drwxr-xr-x 2 root root 4096 2010-08-13 15:46 /cluster/node3/var/fred
drwxr-xr-x 2 root root 4096 2010-08-13 15:46 /cluster/node4/var/fred
drwxr-xr-x 2 root root 4096 2010-08-13 15:46 /cluster/node5/var/fred
drwxr-xr-x 2 root root 4096 2010-08-13 15:46 /cluster/node6/var/fred
drwxr-xr-x 2 root root 4096 2010-08-13 15:46 /cluster/node7/var/fred
drwxr-xr-x 2 root root 4096 2010-08-13 15:46 /cluster/node8/var/fred
drwxr-xr-x 2 root root 4096 2010-08-13 15:46 /cluster/node{nodenum}/var/fred
drwxr-xr-x 2 root root 4096 2010-08-13 15:46 /cluster/nodetemplate/var/fred

On every node mount the filesystem on /var/fred, then from any node 
/var/fred is the local device and /cluster/nodeX/var/fred is the device 
on node X.




------------------------------------------------------------------------------
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