pkas

Untitled

May 17th, 2021 (edited)
840
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Rechte der Dirs auf dem OMV-Server:
  2.  
  3. root@omv-vbox:/srv/dev-disk-by-id-ata-VBOX_HARDDISK_VBdab1437a-5427cf14-part1# ls -l
  4. drwxrwsr-x  2 root users  4096 Mai 17 12:07 nfs-Daten
  5. drwxrwsrwx+ 7 root users  4096 Mai 17 13:25 plex
  6.  
  7. #Die exports hat omv angelegt:
  8.  
  9. cat /etc/exports
  10. # This file is auto-generated by openmediavault (https://www.openmediavault.org)
  11. # WARNING: Do not edit this file, your changes will get lost.
  12.  
  13. # /etc/exports: the access control list for filesystems which may be exported
  14. #               to NFS clients.  See exports(5).
  15. /export/NFS-Daten 192.168.178.0/24(fsid=1,rw,subtree_check,insecure)
  16. /export/plex-Data 192.168.178.0/24(fsid=2,rw,subtree_check,insecure)
  17.  
  18. # NFSv4 - pseudo filesystem root
  19. /export 192.168.178.0/24(ro,fsid=0,root_squash,no_subtree_check,hide)
  20.  
  21.  
  22. #Rechte der Dirs auf dem Client (Manjaro):
  23.  
  24. [peter@Peter-Medion-Buero Mount]$ ls -l
  25. drwxrwsrwx 7 root    100 4096 17. Mai 13:25 plex-data
  26. drwxrwsr-x 2 root    100 4096 17. Mai 12:07 test
  27. [peter@Peter-Medion-Buero Mount]$ sudo mount -t nfs 192.168.178.90:/NFS-Daten test
  28. [peter@Peter-Medion-Buero Mount]$ ls test
  29. test.txt
  30. [peter@Peter-Medion-Buero Mount]$ sudo mount -t nfs 192.168.178.90:/plex-Data plex-data
  31. [peter@Peter-Medion-Buero Mount]$ ls plex-data
  32. ls: Öffnen von Verzeichnis 'plex-data' nicht möglich: Keine Berechtigung
  33. [peter@Peter-Medion-Buero Mount]$ sudo ls plex-data
  34. [sudo] Passwort für peter:
  35. Config  Movies  Music  Transcode  TV
RAW Paste Data