[Eisfair] E1: nfsserver mount funktioniert nicht mehr

Thomas Zweifel t2fel at gmx.net
Mo Mai 4 14:07:36 CEST 2015


Hallo Marcus

Am 03.05.2015 um 19:52 schrieb Marcus Roeckrath:
> Jürgen Witt wrote:
>> das passiert alles auf einen E1-Server.
> 
> Das verwirrt mich noch mehr.
> Warum mountet man auf einem Server ein Verzeichnis per NFS?

z.B. damit sich die User (oder Virale einflüsse) nicht die
Backup-Rotation zerschiessen können.

backup06 2.6.0 # cat /etc/exports
#------------------------------------------------------------------
# /etc/exports file generated by nfsserver.sh v1.4.1
#
# Do not edit this file, edit /etc/config.d/nfsserver
# Creation Date: 2015-04-12 Time: 05:15:40
#------------------------------------------------------------------
....
/home/rotation/pub      127.0.0.1(sync,ro,subtree_check,no_root_squash)
....

backup06 2.6.0 # mount
.....
127.0.0.1:/home/rotation/pub on /home/pub/rotation type nfs4
(rw,addr=127.0.0.1,clientaddr=127.0.0.1)
.....

backup06 2.6.0 # cd /home/pub/rotation/3_Monat_9/Test/
backup06 2.6.0 # pwd
/home/pub/rotation/3_Monat_9/Test

backup06 2.6.0 # ls -la
total 688724
dr-xr-xr-x  2 tom    users        4096 Apr 14 19:11 .
dr-xr-xr-x  3 nobody nogroup      4096 Apr 14 20:42 ..
-r-xr-xr-x 20 tom    users   705239309 Mar  9  2014 test.txt

backup06 2.6.0 # rm test.txt
rm: cannot remove `test.txt': Read-only file system

backup06 2.6.0 # su tom
backup06 2.6.0 # id
uid=2006(tom) gid=100(users) groups=100(users)

backup06 2.6.0 # rm test.txt
rm: remove write-protected regular file `test.txt'? y
rm: cannot remove `test.txt': Read-only file system




Gruss Thomas


Mehr Informationen über die Mailingliste Eisfair