Well in rocks linux it's rather simple, once you understand the concept behind.
So a step to step tutorial.
- go to the profile directory
- make a copy of the skeleton file
- edit file to tell it that we need to create a directory and add a line to the fstab. The right place for this is in the post section
mkdir -p /mnt/share
<file name="/etc/fstab" mode="append">
server:/mount /mnt/share nfs defaults 0 0
</file>
- change back to the main install dir
- rebuild rocks distibution
- rebuild nodes
cd /export/rocks/install/site-profiles/5.3/nodes/
cp skeleton.xml extend-compute.xml
cd /export/rocks/install
rocks create distro
ssh compute-0-0 '/boot/kickstart/cluster-kickstart'
congratulations if you did everything right your node should now boot up and have a directory mounted.
No comments:
Post a Comment