| | 66 | |
| | 67 | |
| | 68 | ==== Version mit NFS4-Anbindung (derzeit bei uns genutzt) |
| | 69 | {{{ |
| | 70 | # cat > /etc/fstab << EOF |
| | 71 | # /etc/fstab: static file system information. |
| | 72 | # |
| | 73 | # Use 'blkid -o value -s UUID' to print the universally unique identifier |
| | 74 | # for a device; this may be used with UUID= as a more robust way to name |
| | 75 | # devices that works even if disks are added and removed. See fstab(5). |
| | 76 | # |
| | 77 | # <file system> <mount point> <type> <options> <dump> <pass> |
| | 78 | /dev/sda1 / ext4 errors=remount-ro 0 1 |
| | 79 | /dev/sda2 /usr/share/virtualbox-vdi/ ext4 defaults 0 2 |
| | 80 | /dev/sda3 none swap sw 0 0 |
| | 81 | |
| | 82 | paedml:/home/students /home/students nfs _netdev,bg 0 0 |
| | 83 | paedml:/home/teachers /home/teachers nfs _netdev,bg 0 0 |
| | 84 | paedml:/home/share /home/share nfs _netdev,bg 0 0 |
| | 85 | paedml:/tasks /var/cache/sophomorix/tasks nfs _netdev,bg 0 0 |
| | 86 | # paedml:/nfsexport/home/students /nfs/home/students nfs _netdev,bg,noauto 0 0 |
| | 87 | # paedml:/nfsexport/home/teachers /nfs/home/teachers nfs _netdev,bg,noauto 0 0 |
| | 88 | # paedml:/nfsexport/home/share /nfs/home/share nfs _netdev,bg,noauto 0 0 |
| | 89 | # paedml:/nfsexport/tasks /nfs/var/cache/sophomorix/tasks nfs _netdev,bg,noauto 0 0 |
| | 90 | ###paedml:/nfsexport/home/ftp/Scans /home/ftp/Scans nfs _netdev,bg,noauto 0 0 |
| | 91 | ###paedml:/nfsexport/home/cds /home/cds nfs _netdev,bg,noauto 0 0 |
| | 92 | EOF |
| | 93 | }}} |
| | 94 | |
| | 95 | |