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