This is quite a trivial question but I could not find the answer to it in
the documentation.
I just installed a new HD on the FE and mounted it at /xyz.
How do I make this directory to auto mount across all compute nodes in a
similar way that /share does?
Many Thanks
-
Jean-Paul Ebejer
Early Stage Researcher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20111122/563ba253/attachment.html
- Seren
--
Seren Soner
I apologize for being thick -- but I am a newbie here.
I do not want to add xyz to the home directory. I have this directory in
the root /xyz and would like to mount it in the root on the compute nodes
/xyz (or possibly /share/xyz/ for clarity)
Also can you explain what the following means in auto.share
test somemachine.local:/export/& ?
Does it mean to share the test directory on "somemachine.local" ? What
exactly is the role of the export directory?
I have tried playing around with the auto.share file and issuing make -C
/var/411 force and restarting autofs service but this did not make any
difference. Can you give me some instructions on how to do this? Isn't
this good material for the documentation (it is lacking on this topic).
Many Thanks,
-
Jean-Paul Ebejer
Early Stage Researcher
- Seren
I did as you suggested (many thanks) and I checked out the tutorial. The
problem is that this is old and doesn't work on Rocks 5.4.3 - not for the
cluster-fork which can be easily changed to rocks run host "..." but the
programm 411get doesn't even exist.
I think it is time I write a new tutorial on this -- once I find out how it
is done.
I have tried the following steps as root:
Edit /etc/auto.share and insert an entry for my directory, append "xyz
machine.local:/export/&" (without quotes)
make -C /var/411 force
rocks sync users
/sbin/service autofs restart (I even tried reload but this did not make a
difference)
rocks run host "service autofs restart"
Nothing. This didn't work.
All I want is for front end locally mounted xyz (not nfs mounted) to appear
from all compute nodes under /share/xyz
There must be someone out there in the distant lands, who has done this
before.
Many thanks,
JP
-
Jean-Paul Ebejer
Early Stage Researcher
Add an entry in /etc/exports
/xyz 10.1.1.1(rw,async,no_root_squash) 10.1.0.0/255.255.0.0(rw,async)
The entry in /etc/auto.share should read
xyz machine.local:/xyz
After you've made these changes, run
# service nfs restart
# rocks sync users
Log on to a compute node, and run
# ls /share/xyz
Let us know if that works.
-a
Thanks!
-
Jean-Paul Ebejer
Early Stage Researcher