Hey,
hab jetzt manuel das Mounten auf den Pfad in der Synology hinbekommen:
Code: Alles auswählen
root@ccu3-webui:~# mount -t nfs -o nolock,hard,intr,relatime 192.168.178.110:/vo
lume1/backupiobroker /mnt
root@ccu3-webui:~# df -h /mnt
Filesystem Size Used Available Use% Mounted on
192.168.178.110:/volume1/backupiobroker
3.5T 145.5G 3.3T 4% /mnt
root@ccu3-webui:~# cronBackup.sh
root@ccu3-webui:~# ls
root@ccu3-webui:~# cd /mnt
root@ccu3-webui:/mnt# ls
root@ccu3-webui:/mnt# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 973.4M 762.4M 143.8M 84% /
devtmpfs 440.8M 0 440.8M 0% /dev
tmpfs 474.7M 1.7M 473.0M 0% /tmp
tmpfs 474.7M 0 474.7M 0% /dev/shm
tmpfs 474.7M 132.0K 474.6M 0% /run
tmpfs 474.7M 9.2M 465.5M 2% /var
tmpfs 474.7M 0 474.7M 0% /media
/dev/mmcblk0p3 13.3G 4.6G 8.1G 36% /usr/local
/dev/mmcblk0p1 255.7M 76.8M 178.9M 30% /boot
/dev/sda1 28.7G 15.0G 13.6G 52% /media/usb1
192.168.178.110:/volume1/backupiobroker 3.5T 145.5G 3.3T 4% /mnt
und versuche dann das ganze zu umounten und die Datei rc.prelocal zu starten, damit durch die
Datei der Mount angelegt wird, kommt die Fehlermeldung:
Code: Alles auswählen
root@ccu3-webui:~# umount /mnt
root@ccu3-webui:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 973.4M 762.4M 143.8M 84% /
devtmpfs 440.8M 0 440.8M 0% /dev
tmpfs 474.7M 1.7M 473.0M 0% /tmp
tmpfs 474.7M 0 474.7M 0% /dev/shm
tmpfs 474.7M 132.0K 474.6M 0% /run
tmpfs 474.7M 9.2M 465.5M 2% /var
tmpfs 474.7M 0 474.7M 0% /media
/dev/mmcblk0p3 13.3G 4.6G 8.1G 36% /usr/local
/dev/mmcblk0p1 255.7M 76.8M 178.9M 30% /boot
/dev/sda1 28.7G 15.0G 13.6G 52% /media/usb1
root@ccu3-webui:~# /usr/local/etc/rc.prelocal
-sh: /usr/local/etc/rc.prelocal: not found
Hier ist der Pfad wo die Datei korrekt liegt:
Hab ich sie falsch benannt?
Wenn ich jetzt weiterdenke und wir bekommen das Mounten mit der rc.prelocal hin,
und ich soll das Backup mit dem Befehl manuell zum Testen starten:
Wo kommt denn diese Datei her, ich hab sie nicht angelegt und gefunden habe ich solch eine Datei auch nicht!