Hallo,
ich habe folgendes Problem.
ich habe in OMV eine 4TB HDD angeschlossen und gemountet
habe dort dann 4 Freigaben erstellt.
Einmal MacBackup mit Time Machine Unterstützung
dann WindowsBackup, Filme und dann noch mal Daten.
Das funktioniert soweit einwandfrei.
Jetzt wollte ich noch eine weitere Freigabe Namens Nextcloud hinzufügen.
Ich bin vorgegangen wie immer, habe erst einen Ordner Freigegeben und dann unter SMB eine weitere Freigabe erstellt.
Habe auch immer wenn oben dann der gelbe Hinweis kam, das ganze bestätigt und so schritt für schritt durchgemacht
Bei letzterem also der SMB Freigabenerstellung kommt folgender Fehler:
Code
Fehler #0:
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color samba 2>&1' with exit code '1': raspberrypi:
----------
ID: configure_samba_global
Function: file.managed
Name: /etc/samba/smb.conf
Result: True
Comment: File /etc/samba/smb.conf updated
Started: 22:36:24.070069
Duration: 190.199 ms
Changes:
----------
diff:
---
+++
@@ -40,129 +40,3 @@
write cache size = 524288
getwd cache = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY
-#======================= Share Definitions =======================
-[Daten]
-path = /srv/dev-disk-by-uuid-b7158aa5-5c9b-4b66-94d9-9b8ba3d22e5e/Daten/
-guest ok = no
-guest only = no
-read only = no
-browseable = yes
-inherit acls = yes
-inherit permissions = no
-ea support = no
-store dos attributes = no
-vfs objects = fruit streams_xattr
-printable = no
-create mask = 0664
-force create mode = 0664
-directory mask = 0775
-force directory mode = 0775
-hide special files = yes
-follow symlinks = yes
-hide dot files = yes
-valid users =
-invalid users =
-read list =
-write list =
-
-[Filme]
-path = /srv/dev-disk-by-uuid-b7158aa5-5c9b-4b66-94d9-9b8ba3d22e5e/Filme/
-guest ok = no
-guest only = no
-read only = no
-browseable = yes
-inherit acls = yes
-inherit permissions = no
-ea support = no
-store dos attributes = no
-vfs objects = fruit streams_xattr
-printable = no
-create mask = 0664
-force create mode = 0664
-directory mask = 0775
-force directory mode = 0775
-hide special files = yes
-follow symlinks = yes
-hide dot files = yes
-valid users =
-invalid users =
-read list =
-write list =
-
-[MacBackup]
-path = /srv/dev-disk-by-uuid-b7158aa5-5c9b-4b66-94d9-9b8ba3d22e5e/MacBackup/
-guest ok = no
-guest only = no
-read only = no
-browseable = yes
-inherit acls = yes
-inherit permissions = no
-ea support = no
-store dos attributes = no
-fruit:encoding = private
-fruit:locking = none
-fruit:metadata = netatalk
-fruit:resource = file
-fruit:time machine = yes
-vfs objects = fruit streams_xattr
-printable = no
-create mask = 0664
-force create mode = 0664
-directory mask = 0775
-force directory mode = 0775
-hide special files = yes
-follow symlinks = yes
-hide dot files = yes
-valid users =
-invalid users =
-read list =
-write list =
-
-[WinBackup]
-path = /srv/dev-disk-by-uuid-b7158aa5-5c9b-4b66-94d9-9b8ba3d22e5e/WinBackup/
-guest ok = no
-guest only = no
-read only = no
-browseable = yes
-inherit acls = yes
-inherit permissions = no
-ea support = no
-store dos attributes = no
-vfs objects = fruit streams_xattr
-printable = no
-create mask = 0664
-force create mode = 0664
-directory mask = 0775
-force directory mode = 0775
-hide special files = yes
-follow symlinks = yes
-hide dot files = yes
-valid users =
-invalid users =
-read list =
-write list =
-
-[Nextcloud]
-path = /srv/dev-disk-by-uuid-b7158aa5-5c9b-4b66-94d9-9b8ba3d22e5e/Nextcloud/
-guest ok = no
-guest only = no
-read only = no
-browseable = yes
-inherit acls = yes
-inherit permissions = no
-ea support = no
-store dos attributes = no
-vfs objects = fruit streams_xattr
-printable = no
-create mask = 0664
-force create mode = 0664
-directory mask = 0775
-force directory mode = 0775
-hide special files = yes
-follow symlinks = yes
-hide dot files = yes
-valid users = "Kester","pi",@"pi"
-invalid users =
-read list =
-write list = "Kester","pi",@"pi"
-
----------
ID: configure_samba_shares
Function: file.append
Name: /etc/samba/smb.conf
Result: True
Comment: Appended 126 lines
Started: 22:36:24.260599
Duration: 581.631 ms
Changes:
----------
diff:
---
+++
@@ -40,3 +40,129 @@
write cache size = 524288
getwd cache = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY
+#======================= Share Definitions =======================
+[Daten]
+path = /srv/dev-disk-by-uuid-b7158aa5-5c9b-4b66-94d9-9b8ba3d22e5e/Daten/
+guest ok = no
+guest only = no
+read only = no
+browseable = yes
+inherit acls = yes
+inherit permissions = no
+ea support = no
+store dos attributes = no
+vfs objects = fruit streams_xattr
+printable = no
+create mask = 0664
+force create mode = 0664
+directory mask = 0775
+force directory mode = 0775
+hide special files = yes
+follow symlinks = yes
+hide dot files = yes
+valid users =
+invalid users =
+read list =
+write list =
+
+[Filme]
+path = /srv/dev-disk-by-uuid-b7158aa5-5c9b-4b66-94d9-9b8ba3d22e5e/Filme/
+guest ok = no
+guest only = no
+read only = no
+browseable = yes
+inherit acls = yes
+inherit permissions = no
+ea support = no
+store dos attributes = no
+vfs objects = fruit streams_xattr
+printable = no
+create mask = 0664
+force create mode = 0664
+directory mask = 0775
+force directory mode = 0775
+hide special files = yes
+follow symlinks = yes
+hide dot files = yes
+valid users =
+invalid users =
+read list =
+write list =
+
+[MacBackup]
+path = /srv/dev-disk-by-uuid-b7158aa5-5c9b-4b66-94d9-9b8ba3d22e5e/MacBackup/
+guest ok = no
+guest only = no
+read only = no
+browseable = yes
+inherit acls = yes
+inherit permissions = no
+ea support = no
+store dos attributes = no
+fruit:encoding = private
+fruit:locking = none
+fruit:metadata = netatalk
+fruit:resource = file
+fruit:time machine = yes
+vfs objects = fruit streams_xattr
+printable = no
+create mask = 0664
+force create mode = 0664
+directory mask = 0775
+force directory mode = 0775
+hide special files = yes
+follow symlinks = yes
+hide dot files = yes
+valid users =
+invalid users =
+read list =
+write list =
+
+[WinBackup]
+path = /srv/dev-disk-by-uuid-b7158aa5-5c9b-4b66-94d9-9b8ba3d22e5e/WinBackup/
+guest ok = no
+guest only = no
+read only = no
+browseable = yes
+inherit acls = yes
+inherit permissions = no
+ea support = no
+store dos attributes = no
+vfs objects = fruit streams_xattr
+printable = no
+create mask = 0664
+force create mode = 0664
+directory mask = 0775
+force directory mode = 0775
+hide special files = yes
+follow symlinks = yes
+hide dot files = yes
+valid users =
+invalid users =
+read list =
+write list =
+
+[Nextcloud]
+path = /srv/dev-disk-by-uuid-b7158aa5-5c9b-4b66-94d9-9b8ba3d22e5e/Nextcloud/
+guest ok = no
+guest only = no
+read only = no
+browseable = yes
+inherit acls = yes
+inherit permissions = no
+ea support = no
+store dos attributes = no
+vfs objects = fruit streams_xattr
+printable = no
+create mask = 0664
+force create mode = 0664
+directory mask = 0775
+force directory mode = 0775
+hide special files = yes
+follow symlinks = yes
+hide dot files = yes
+valid users = "Kester","pi",@"pi"
+invalid users =
+read list =
+write list = "Kester","pi",@"pi"
+
----------
ID: configure_samba_recyclebin_cron
Function: file.managed
Name: /etc/cron.daily/openmediavault-samba-recycle
Result: True
Comment: File /etc/cron.daily/openmediavault-samba-recycle is in the correct state
Started: 22:36:24.842624
Duration: 6.599 ms
Changes:
----------
ID: remove_samba_recyclebin_cron_scripts
Function: module.run
Result: True
Comment: file.find: []
Started: 22:36:24.851328
Duration: 4.273 ms
Changes:
----------
file.find:
----------
ID: configure_default_wsdd
Function: file.managed
Name: /etc/default/wsdd
Result: True
Comment: File /etc/default/wsdd is in the correct state
Started: 22:36:24.855997
Duration: 6.556 ms
Changes:
----------
ID: test_samba_service_config
Function: cmd.run
Name: samba-tool testparm --suppress-prompt
Result: False
Comment: Command "samba-tool testparm --suppress-prompt" run
Started: 22:36:24.864711
Duration: 220.317 ms
Changes:
----------
pid:
3095
retcode:
255
stderr:
netbios name RASPBERRYPI-KESTER is not a valid netbios name
ERROR: Invalid smb.conf
stdout:
# Global parameters
[global]
disable spoolss = Yes
encrypt passwords = Yes
getwd cache = Yes
guest account = nobody
log file = /var/log/samba/log.%m
logging = syslog
log level = 0
max log size = 1000
min receivefile size = 16384
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passdb backend = tdbsam
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
printcap name = /dev/null
server string = %h server
socket options = TCP_NODELAY IPTOS_LOWDELAY
unix extensions = Yes
workgroup = WORKGROUP
fruit:aapl = yes
aio read size = 16384
aio write size = 16384
create mask = 0777
directory mask = 0777
use sendfile = Yes
write cache size = 524288
[Daten]
create mask = 0664
directory mask = 0775
ea support = No
force create mode = 0664
force directory mode = 0775
hide special files = Yes
inherit acls = Yes
path = /srv/dev-disk-by-uuid-b7158aa5-5c9b-4b66-94d9-9b8ba3d22e5e/Daten/
read only = No
store dos attributes = No
vfs objects = fruit streams_xattr
[Filme]
create mask = 0664
directory mask = 0775
ea support = No
force create mode = 0664
force directory mode = 0775
hide special files = Yes
inherit acls = Yes
path = /srv/dev-disk-by-uuid-b7158aa5-5c9b-4b66-94d9-9b8ba3d22e5e/Filme/
read only = No
store dos attributes = No
vfs objects = fruit streams_xattr
[MacBackup]
create mask = 0664
directory mask = 0775
ea support = No
force create mode = 0664
force directory mode = 0775
hide special files = Yes
inherit acls = Yes
path = /srv/dev-disk-by-uuid-b7158aa5-5c9b-4b66-94d9-9b8ba3d22e5e/MacBackup/
read only = No
store dos attributes = No
vfs objects = fruit streams_xattr
fruit:time machine = yes
fruit:resource = file
fruit:metadata = netatalk
fruit:locking = none
fruit:encoding = private
[WinBackup]
create mask = 0664
directory mask = 0775
ea support = No
force create mode = 0664
force directory mode = 0775
hide special files = Yes
inherit acls = Yes
path = /srv/dev-disk-by-uuid-b7158aa5-5c9b-4b66-94d9-9b8ba3d22e5e/WinBackup/
read only = No
store dos attributes = No
vfs objects = fruit streams_xattr
[Nextcloud]
create mask = 0664
directory mask = 0775
ea support = No
force create mode = 0664
force directory mode = 0775
hide special files = Yes
inherit acls = Yes
path = /srv/dev-disk-by-uuid-b7158aa5-5c9b-4b66-94d9-9b8ba3d22e5e/Nextcloud/
read only = No
store dos attributes = No
valid users = Kester pi @pi
vfs objects = fruit streams_xattr
write list = Kester pi @pi
----------
ID: start_samba_service
Function: service.running
Name: smbd
Result: False
Comment: One or more requisite failed: omv.deploy.samba.default.test_samba_service_config
Started: 22:36:25.124249
Duration: 0.022 ms
Changes:
----------
ID: start_samba_service_nmbd
Function: service.running
Name: nmbd
Result: False
Comment: One or more requisite failed: omv.deploy.samba.default.start_samba_service
Started: 22:36:25.125108
Duration: 0.012 ms
Changes:
----------
ID: start_wsdd_service
Function: service.running
Name: wsdd
Result: True
Comment: The service wsdd is already running
Started: 22:36:25.125249
Duration: 104.539 ms
Changes:
Summary for raspberrypi
------------
Succeeded: 6 (changed=4)
Failed: 3
------------
Total states run: 9
Total run time: 1.114 s in /usr/share/php/openmediavault/system/process.inc:182
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
#2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatus0j...', '/tmp/bgoutputF1...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#12 {main}
Alles anzeigen
Kann mir jemand sagen was da schiefläuft?
Gibt es eine maximale grenze von Freigaben die sich erstellen lassen?
Gruß
Aladin