SOLVED: WARN initialize: Deprecated option found in greyhole.conf
Posted: Tue Feb 28, 2017 3:47 pm
Today when I noticed some files disappearing overnight (-fsck -o restored them) I noticed an issue in the logfile.
Entry in /var/log/greyhole.log
This is repeated several times a minute, the log file is growing rapidly.
Entries in /etc/greyhole.conf
Can't find the entry in /var/hda/platform/html/config/greyhole.yml that affects this.
Versions
result from
mysql -u root -phda -e "select * from disk_pool_partitions" hda_production
/var/hda/files/drives/drive1, /var/hda/files/drives/drive2 and /var/hda/files/drives/drive3 where from a previous version of Amahi and don't exist physically
Results from mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" \
hda_production | grep -v 'concat(' | xargs ls -la
Any advice? Anyone else seen this in their logfile? Thanks in advance.
Entry in /var/log/greyhole.log
Code: Select all
WARN initialize: Deprecated option found in greyhole.conf: storage_pool_directory. You should change that to: storage_pool_drive
Entries in /etc/greyhole.conf
Code: Select all
storage_pool_directory = /var/hda/files/drives/nas1/gh, min_free: 10gb
storage_pool_directory = /var/hda/files/drives/nas2/gh, min_free: 10gb
storage_pool_directory = /var/hda/files/drives/nas3/gh, min_free: 10gb
Versions
Code: Select all
4.4.9-300.fc23.x86_64
samba-4.3.9-0.fc23.x86_64
amahi-greyhole-0.10.2-1.x86_64
mysql -u root -phda -e "select * from disk_pool_partitions" hda_production
Code: Select all
+----+------------------------------+--------------+---------------------+---------------------+
| id | path | minimum_free | created_at | updated_at |
+----+------------------------------+--------------+---------------------+---------------------+
| 1 | /var/hda/files/drives/nas1 | 10 | 2016-05-15 20:56:07 | 2016-05-15 20:56:07 |
| 3 | /var/hda/files/drives/drive3 | 10 | 2016-05-15 21:05:36 | 2016-05-15 21:05:36 |
| 6 | /var/hda/files/drives/nas2 | 10 | 2016-05-17 17:59:30 | 2016-05-17 17:59:30 |
| 8 | /var/hda/files/drives/nas3 | 10 | 2016-05-18 17:52:39 | 2016-05-18 17:52:39 |
+----+------------------------------+--------------+---------------------+---------------------+
Results from mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" \
hda_production | grep -v 'concat(' | xargs ls -la
Code: Select all
ls: cannot access /var/hda/files/drives/drive3/gh: No such file or directory
/var/hda/files/drives/nas1/gh:
total 108
/var/hda/files/drives/nas2/gh:
total 108
/var/hda/files/drives/nas3/gh:
total 96