# Auf dirac: cat << EOF >> /etc/exports /mnt/hda3 192.168.0.3(no_root_squash,rw) EOF # snfs login ermöglichen: mkdir /usr/etc/snfs/home chmod 700 /usr/etc/snfs/home chown snfs.snfs /usr/etc/snfs/home # passwd: # snfs:x:12:22::/usr/etc/snfs/home:/bin/bash su - snfs scp root@backup:~snfs/.ssh/id_rsa.pub authorized_keys mv authorized_keys .ssh/ # Auf backup, zunächst Test: mkdir /mnt/dirac snfshost 192.168.0.3:200000 cat << EOF >> /etc/fstab backup.mylinuxproject.de:/mnt/hda3 /mnt/dirac nfs user,noauto,hard,intr,rsize=8192,wsize=8192,mountprog=200000,nfsprog=250000 0 0 EOF smkdirall # Warning: password prompt at next command! rpc_psrv -r -d /usr/etc/snfs/192.168.0.3 mount /mnt/dirac mkdir /usr/etc/snfs/home chmod 700 /usr/etc/snfs/home chown snfs.snfs /usr/etc/snfs/home # passwd: # snfs:x:12:22::/usr/etc/snfs/home:/bin/bash su - snfs ssh-keygen -b 2048 -t rsa # vorsicht interaktiv, 3x return # Test + Host Key übernehmen: ssh dirac # Test: nohup rpc_psrv -d /usr/etc/snfs/192.168.0.3 > /var/log/rpc_pcl/log 2>&1 & mount /mnt/dirac