Lovelace

From Earlham CS Department
Jump to navigation Jump to search

Named for the first programmer, Ada Lovelace.

The computers in the Lovelace computer lab on the second floor of CST mount their software from the /mnt/lovelace/software directory on the tools server. This page explains how to set those up, and should be useful as a recipe if future admins want to do this again.

Exporting the software directory

The tools server contains the actual software directory. We export these directories via NFS. This allows user access to them on a large group of computers without requiring us to install, configure, and maintain them on each computer.

To access the tools software from Lovelace, edit /etc/exports on tools as follows:

/mnt/lovelace/software 159.28.22.0/24(rw,no_root_squash) 192.168.0.0/16(rw,no_root_squash) 10.10.10.0/24(rw,no_root_squash)

This tells NFS to export the Lovelace software directory to each listed subnet, granting read-write to each and allowing users on each to use root as they normally would.

Then run exportfs -ra.

Mounting the software directory on Lovelace

Edit /etc/fstab as follows:

tools.cs.earlham.edu:/mnt/lovelace/software /mnt/lovelace/software nfs rw,rsize=8192,wsize=8192,hard,intr 0 0

This mounts the directory at the corresponding mount point via NFS.

Now run mount -a.

Active machines

Ping spammed the IPs 159.28.22.{10-23} and got the following results:

Packets received: 11. 12. 14. 17, 18, 23

No packets received: 10, 13, 15, 16, 19. 20, 21. 22