5. An NFS server
Although I like to try a different stuff (see further), I need a reliable nfs server for archiving purposes.
Debian has proved to be a reliable installation, so I decided to go back to debian for my NFS.
First install the nfs server:
apt-get install nfs-kernel-server nfs-common portmap
All my disks are on a USB-hub. For a reliable boot, I have to unplug the hub and plug it in when the
system is up. That means that the disks cannot be in /etc/fstab. I decided to make a little
script that automatically mounts all that is connected and exports them as well (edit for your own use if you want it).
For those interested:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 2064144 351024 1608216 18% /
tmpfs 14992 0 14992 0% /lib/init/rw
udev 10240 92 10148 1% /dev
tmpfs 14992 0 14992 0% /dev/shm
/dev/sda6 4610360 9144 4367016 1% /home
/dev/sdb1 480719056 95838860 360460996 22% /media/MAXTOR_B
/dev/sdc1 961432072 117935664 794658408 13% /media/WD_ELEMENTS_A
/dev/sdd1 961432072 110090048 802504024 13% /media/WD_ELEMENTS_C
/dev/sde1 2071384 68700 1897460 4% /media/Elements_D_sys
/dev/sde6 958318668 204568 909434344 1% /media/WD_ELEMENTES_D
/dev/sdf1 961432072 204568 912389504 1% /media/WD_ELEMENTES_E
That's 4.5 Terra.
For mounting the stuff on clients, I use this script.
Why would anyone put so much diskspace on a relative slow access, you might ask. Well, as backup.
I backup my important data every day with
cp -rup --backup=numbered
to those nfs-mounted disks. It is faster and less cumbersome
than using tapes.
One drawback is that
the nslu2 has not enough memmory to do an fsck on this kind of disks. So, when you
reboot, you'll need to do the fsck on another computer before plugging them in.
Of course, if you had a recent reboot and a clean shutdown, you do not
need a complete fsck.