Metapod

From CSLabsWiki
Jump to: navigation, search


This wiki entry is being kept as a reference.

Summary

Metapod was our main storage server. It hosted our NFS home partitions for our lab build.

Inconsistencies

It should be noted that, at the time of this writing, Metapod is the only non-Debian server, running instead FreeBSD (to take advantage of its ZFS pool, and for other historical reasons). This means there are some things that should be taken into consideration:

  • Some of the configuration files that you'd expect to find under /etc are instead in /usr/local/etc, and, even more worrisome, some are in both, especially krb5.conf, as mentioned below.
  • BSD ships with Heimdal Kerberos, which is not directly compatible with the MIT Kerberos we're using on the Debian hosts. All of the MIT Kerberos tools are in /usr/local/bin, but they are preceded by the Heimdal Kerberos tools in /usr/bin, so you will need to use an absolute path to get the right tool (e.g., /usr/local/bin/kadmin).
  • Certain utilities present on Linux, especially for debugging (like strace, ltrace, lsof, etc.) aren't usually available on base FreeBSD, but are easily available through its package tool (pkg). To those familiar with apt, the usage is almost the same. (The tools listed here were already installed in these endeavors, along with other packages as pam_ldap, pam_krb5, nss_ldap, ...)
  • Certain utilities that depend on the Linux kernel are not present, period. Don't expect to be able to use ip a, and don't expect that the interface/arguments for mount will be the same (they certainly aren't), even if the syscalls resemble each other.

Pretty much everything else should be familiar, though, so don't let that deter you :)