Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I export a new directory from the frontend to all the compute nodes that is accessible under /home?

0
10 Posted

How do I export a new directory from the frontend to all the compute nodes that is accessible under /home?

0
10

Execute this procedure: • Add the directory you want to export to the file /etc/exports. For example, if you want to export the directory /export/disk1, add the following to /etc/exports: /export/disk1 10.0.0.0/255.0.0.0(rw) Note This exports the directory only to nodes that are on the internal network (in the above example, the internal network is configured to be 10.0.0.0) • Restart NFS: # /etc/rc.d/init.d/nfs restart • Add an entry to /etc/auto.home. For example, say you want /export/disk1 on the frontend machine (named frontend-0) to be mounted as /home/scratch on each compute node. Add the following entry to /etc/auto.home: scratch frontend-0:/export/disk1 • Inform 411 of the change: # make -C /var/411 Now when you login to any compute node and change your directory to /home/scratch, it will be automounted.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123