Lab | Due date | Check Grade |
Lab 1: lock server | Feb 4 |
Lab 2: barebone file server | Feb 18 |
Lab 3: reading, writing and sharing files | Feb 25 |
Lab 4: mkdir, remove and locking | Mar 4 |
Lab 5: cache consistency | Mar 11 |
For the brave souls
Class machines are shared and will be slow when everybody starts to compile codes before the lab deadlines.
This is for people who want to compile and run the labs on their own Linux machines (You will still need to
submit your code on the class machines though.). All the source files for the labs and its infrastructure are
available here.
The steps:
- Root access on at least two Linux boxes.
- You need the right version of the compilers: gcc-3.3.6 g++-3.3.6 cpp-3.3.6 (if you run Ubuntu, "apt-get install gcc-3.3 g++-3.3 cpp-3.3" will do.) Make sure the symbolic links (/usr/bin/gcc /usr/bin/cpp /usr/bin/g++) all point to the right binary.
- You need libgmp. (again, on Ubuntu, you do "apt-get install libgmp3-dev" will do.)
- You probably need dmalloc. If you don't, disable dmalloc link options in all labs' Makefiles.
- untar, compile and install sfs-0.8pre.tar.gz. You need to create user sfs on your system.
- untar, compile and install classfs-0.1.tar.gz
- Start the classfs daemon on all Linux boxes by typing "classfsd"
- You need to modify the Makefiles included in all the labs appropriately to point to the sfs/classfs install path on your machine.
Thanks
This set of labs are originally designed by rtm for 6.824
Lab logistics
Class Machines
brain.news.cs.nyu.edu
hand.news.cs.nyu.edu
heart.news.cs.nyu.edu
eye.news.cs.nyu.edu
Labs must be completed and submited on these class machines.
Follow these two steps to get an account:
1. Register here and you will receive an email with a temporary password. This step must be done before Tue Jan 23rd noon
2. Log on to brain.news.cs.nyu.edu using your temporary passwd.
Change your password to a good solid real password. This step must be completed before Wed Jan 24th noon
You must complete both step 1 & 2 before the deadlines, otherwise, we'll assume you are no longer taking the class and deactivate your account.