Initialize the basic settings for Greyhole, configure /etc/greyhole.conf:
* Make sure the settings for the database are correct: <u>db_user</u> and <u>db_password</u> should be <i>greyhole</i>
* Add a line for each drive (go [[Adding_a_second_hard_drive_to_your_HDA|here]] for adding new hard drives) in the storage pool at the end of the file. The example below is for two drives:
<pre>storage_pool_drive = /var/hda/files/drives/drive2/gh, min_free: 10gb
storage_pool_drive = /var/hda/files/drives/drive3/gh, min_free: 10gb</pre>
:'''NOTE''': If you have not initialized your newly added hard drives, refer to [[Adding_a_second_hard_drive_to_your_HDA|adding new hard drives]].
<!--<b>NOTE:</b> Although the /etc/greyhole.conf contents indicate <b>storage_pool_drive</b>, it should be <b>storage_pool_directory</b>. If you don't set it correctly, Greyhole will not work.
<b>NOTE:</b> For a system with 2 Greyhole drives, 1 copy is the max. The first Greyhole drive holds the master copy and the second a copy. The share will contain a symbolic link to the master.
* In the Dashboard, Shares tab add the following to <b>[[Share_Extra_Parameters|Extra Parameters</b> ]] for each share you will be configuring to use Greyhole:
<pre>dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole</pre>