convert share server in NFS

This commit is contained in:
vincent 2020-03-08 10:07:06 +01:00
parent 1e45deab55
commit a074095fce

View File

@ -18,59 +18,45 @@ systemd_mounts:
mount: /mnt/backup mount: /mnt/backup
type: ntfs-3g type: ntfs-3g
options: options:
- uid=1024 - "uid=1024
- guid=100 - guid=100
- vers=3.0 - vers=3.0"
automount: true automount: true
diskstation_home: diskstation_home:
share: //diskstation.ducamps.win/homes/admin share: diskstation.ducamps.win:/volume2/homes/admin
mount: /mnt/diskstation/home mount: /mnt/diskstation/home
type: cifs type: nfs
options: options:
- credentials=/etc/creds/.diskstation_credentials - " "
- uid=http
- gid=100
- vers=3.0
automount: true automount: true
diskstation_photo: diskstation_photo:
share: //diskstation.ducamps.win/photo share: diskstation.ducamps.win:/volume2/photo
mount: /mnt/diskstation/photo mount: /mnt/diskstation/photo
type: cifs type: nfs
options: options:
- credentials=/etc/creds/.diskstation_credentials - " "
- uid=http
- gid=100
- vers=3.0
automount: true automount: true
diskstation_music: diskstation_music:
share: //diskstation.ducamps.win/music share: diskstation.ducamps.win:/volume2/music
mount: /mnt/diskstation/music mount: /mnt/diskstation/music
type: cifs type: cifs
type: nfs
options: options:
- credentials=/etc/creds/.diskstation_credentials - " "
- uid=http
- gid=100
- vers=3.0
automount: true automount: true
diskstation_media: diskstation_media:
share: //diskstation.ducamps.win/media share: diskstation.ducamps.win:/volume2/media
mount: /mnt/diskstation/media mount: /mnt/diskstation/media
type: cifs type: nfs
options: options:
- credentials=/etc/creds/.diskstation_credentials - " "
- uid=http
- gid=100
- vers=3.0
automount: true automount: true
diskstation_ebook: diskstation_ebook:
share: //diskstation.ducamps.win/ebook share: diskstation.ducamps.win:/volume2/ebook
mount: /mnt/diskstation/ebook mount: /mnt/diskstation/ebook
type: cifs type: nfs
options: options:
- credentials=/etc/creds/.diskstation_credentials - " "
- uid=http
- gid=100
- vers=3.0
automount: true automount: true
systemd_mounts_enabled: systemd_mounts_enabled:
- diskstation_git - diskstation_git