Hi,
I have two PIs.
On one of PI I have OH and on the second OMV (openmediavault).
I would like to use OMV as a NAS that will store backup copies from first PI.
NFS shared folder is mounted. The problem is that I can’t setup correct permissions to install Amanda (installation is aborted).
Below you can see details of Amanda installation process:
[08:49:31] openhabian@openhab:/mnt/ext-storage$ sudo openhabian-config
2020-12-14_08:51:39_CET [openHABian] Checking for root privileges… OK
2020-12-14_08:51:40_CET [openHABian] Loading configuration file ‘/etc/openhabian.conf’… OK
2020-12-14_08:51:40_CET [openHABian] openHABian configuration tool version: [stable]v1.6.1-963(1fa8959)
2020-12-14_08:51:40_CET [openHABian] Checking for changes in origin branch HEAD… OK
2020-12-14_08:51:41_CET [openHABian] Switching to branch stable… OK
2020-12-14_08:51:46_CET [openHABian] Updating Linux package information… OK
2020-12-14_08:51:47_CET [openHABian] Beginning setup of the Amanda backup system… OK
2020-12-14_08:51:48_CET [openHABian] Configuring Amanda backup system prerequisites… 2020-12-14_08:52:10_CET [openHABian] Configuring Amanda backup system prerequisites…
$ chpasswd$ usermod --append --groups backup openhabian
$ usermod --append --groups backup backup
$ chsh --shell /bin/bash backup
OK
2020-12-14_08:52:26_CET [openHABian] Creating Amanda filesystem…
$ mkdir -p /etc/amanda/openhab-dir /var/lib/amanda/openhab-dir/curinfo /var/log/amanda/openhab-dir /var/lib/amanda/openhab-dir/index$ touch /etc/amanda/openhab-dir/tapelist
$ chown --recursive backup:backup /var/backups/.amandahosts /etc/amanda/openhab-dir /var/lib/amanda/openhab-dir/curinfo /var/lib/amanda/openhab-dir/index /var/log/amanda
$ chown --recursive backup:backup /mnt/ext-storage
chown: cannot read directory ‘/mnt/ext-storage’: Permission denied
FAILED (chown)
2020-12-14_08:52:30_CET [openHABian] We hope you got what you came for! See you again soon
I’m not sure if it is a problem with OH or OMV configuration.
Thanks for any help!