From eedf3185d2a2dbe00f3c55fe2178afe74677bcb7 Mon Sep 17 00:00:00 2001 From: Ariane Troche Date: Thu, 18 Mar 2021 21:28:51 +0100 Subject: [PATCH] nfs und fstab von ssd-homeserver --- .etckeeper | 2 ++ exports | 3 +++ exports.orig | 10 ++++++++++ fstab | 4 ++++ fstab.orig | 5 +++++ 5 files changed, 24 insertions(+) create mode 100644 exports.orig create mode 100644 fstab.orig diff --git a/.etckeeper b/.etckeeper index 47532a7..49c090a 100755 --- a/.etckeeper +++ b/.etckeeper @@ -252,8 +252,10 @@ maybe chmod 0644 'etckeeper/update-ignore.d/README' maybe chmod 0755 'etckeeper/vcs.d' maybe chmod 0755 'etckeeper/vcs.d/50vcs-cmd' maybe chmod 0644 'exports' +maybe chmod 0644 'exports.orig' maybe chmod 0644 'fb.modes' maybe chmod 0644 'fstab' +maybe chmod 0644 'fstab.orig' maybe chmod 0644 'fuse.conf' maybe chmod 0644 'gai.conf' maybe chmod 0755 'gdb' diff --git a/exports b/exports index 9bff680..7070864 100644 --- a/exports +++ b/exports @@ -8,3 +8,6 @@ # /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check) # /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check) # + +# Homeserver fuer Linux-Rechner +/media/ssd-homeserver 192.168.188.22(rw,all_squash,anonuid=1001,anongid=1001) diff --git a/exports.orig b/exports.orig new file mode 100644 index 0000000..9bff680 --- /dev/null +++ b/exports.orig @@ -0,0 +1,10 @@ +# /etc/exports: the access control list for filesystems which may be exported +# to NFS clients. See exports(5). +# +# Example for NFSv2 and NFSv3: +# /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check) +# +# Example for NFSv4: +# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check) +# /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check) +# diff --git a/fstab b/fstab index 491dd33..1b444f7 100644 --- a/fstab +++ b/fstab @@ -3,3 +3,7 @@ PARTUUID=738a4d67-01 /boot vfat defaults 0 2 PARTUUID=738a4d67-02 / ext4 defaults,noatime 0 1 # a swapfile is not a swap partition, no line here # use dphys-swapfile swap[on|off] for that + +# SSD Homeserver +UUID=66c9dd11-8f24-4c50-a8a0-dca48aae8bbd /media/ssd-homeserver ext4 nofail,auto,noatime,rw,user 0 0 + diff --git a/fstab.orig b/fstab.orig new file mode 100644 index 0000000..491dd33 --- /dev/null +++ b/fstab.orig @@ -0,0 +1,5 @@ +proc /proc proc defaults 0 0 +PARTUUID=738a4d67-01 /boot vfat defaults 0 2 +PARTUUID=738a4d67-02 / ext4 defaults,noatime 0 1 +# a swapfile is not a swap partition, no line here +# use dphys-swapfile swap[on|off] for that