My main server has only a small SSD (512 gig) so I decided to add a 4TB disk to it. Intention was that it will be used as the main storage for zoneminder events. I mounted the new drive (sdb1), and it is seemingly OK:
df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 1,6G 1,4M 1,6G 1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 456G 340G 97G 78% /
tmpfs 7,8G 185M 7,6G 3% /dev/shm
tmpfs 5,0M 0 5,0M 0% /run/lock
/dev/sdb1 3,6T 36K 3,4T 1% /mnt/hdd_WD_4TB_NVR
/dev/sda2 2,0G 182M 1,7G 10% /boot
tmpfs 1,6G 20K 1,6G 1% /run/user/1000
And then I changed storage location in options/storage to this location. And then I restarted zoneminder (even restarted the ubuntu linux), but it is still saving to the old location. Here is my new location:
kapetan@serveronevallo:~$ sudo ls -l /mnt/hdd_WD_4TB_NVR/zoneminder/events
total 0
kapetan@serveronevallo:~$ sudo ls -l /mnt/hdd_WD_4TB_NVR/zoneminder
total 4
drwxr-x--- 2 www-data www-data 4096 jan 6 19:49 events
What do I miss?