Re: OpenSSI not loading up all of the fstab on boot
"Cumberland, Lonnie" <[email protected]> Fri, 13 Aug 2010 08:04:35 -0400
| Newsgroups | gmane.linux.cluster.ssic.user |
|---|---|
| Message-ID | <A3FD81D57663BD41BF701B44F5E75CE712D7376BC4@MBCLUSTER.xchange.nist.gov> |
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. 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: > swapon > mount /dev/sda2 /mnt/node02 For each node to be one of the last things that the node does when it comes online. Actually you mentioned " Mounting things on nodes that boot up should be done in /etc/rcSSI.d/S35mountall.sh" I am not sure how I should place my additions above, but I think that inside each /cluster/nodeX there could be a mount point for the local drive that the script could run. What do you think? Then, my next goal is to get an OpenSSI kernel that will allow me to utilize a UnionFS so that I can union all of the mounts from each node. The idea from there is to have an external drive on the main node that will backup the SCSI unioned node drives as a single filespace. This way I always have a backup of the date that is on the cheetah SCSI node drives in case a node fails. Thanks and have a great day, Lonnie Cumberland, Prof. Physicist > -----Original Message----- > From: Cumberland, Lonnie > Sent: Wednesday, August 11, 2010 10:25 AM > To: 'John Hughes' > Cc: Openssi users > Subject: RE: OpenSSI not loading up all of the fstab on boot > > Here's my fstab but it did not mount the /dev/sda2 partitions on each > node. > > # /etc/fstab: static file system information. > # > # <file system> <mount point> <type> <options> <dump> <pass> > proc /proc proc defaults,node=* 0 0 > > UUID=333de891-33d7-46eb-8aff-640abd6133fc / ext3 > chard,errors=remount-ro,node=1 0 1 > > /dev/sda5 none swap sw,node=1 0 0 > > /dev/sda1 none swap sw,node=2 0 0 > /dev/sda1 none swap sw,node=3 0 0 > /dev/sda1 none swap sw,node=4 0 0 > /dev/sda1 none swap sw,node=5 0 0 > > /dev/sda2 /etc/mnt/mnt02 ext3 rw,node=2 0 2 > /dev/sda2 /etc/mnt/mnt03 ext3 rw,node=3 0 2 > /dev/sda2 /etc/mnt/mnt04 ext3 rw,node=4 0 2 > /dev/sda2 /etc/mnt/mnt05 ext3 rw,node=5 0 2 > > /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,node=1 > 0 0 > /dev/fd0 /media/floppy0 auto rw,user,noauto,node=* 0 > 0 > > ------------------------------------------------------------------------------ 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