Distributed Storage System tools

This page describes how to install the software used in the Distributed Storage Systems class. The software is already installed on the class machines, so you will only need to follow these instructions if you want to do assignments on other machines.

This page is kind of thin right now, but ideally more information will appear as the term goes on...

Dmalloc

You should first install the Debug Malloc Library.

SFS

You must then compile SFS for debugging, against the dmalloc libraries you installed. To do so, you can download this snapshot of SFS. (Alternatively, you can use anonymous CVS to get a snapshot of SFS, as described here.) Then:
% gzip -dc sfs-0.8pre.tar.gz | tar xf -
% cd sfs-0.8pre
% setenv DEBUG -g
% ./configure --with-dmalloc
creating cache ./config.cache
checking host system type... i386-unknown-openbsd3.5
checking target system type... i386-jos-elf
checking build system type... i386-unknown-openbsd3.5
...
updating cache ./config.cache
creating ./config.status
creating Makefile
% make
...
% 
Now when configuring lab software, you should specify --with-sfs=/.../sfs-0.8pre/, using the full pathname of wherever you compiled SFS.