mysql -u greyhole -pgreyhole greyhole < /usr/share/greyhole/schema-mysql.sql
* Initialize the basic settings for Greyhole, configure /etc/greyhole.conf:** Change <u>db_user</u> and <u>db_password</u> to <i>greyhole</i>.<br /> ** 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:
storage_pool_drive = /var/hda/files/drives/drive2/gh, min_free: 10gb
storage_pool_drive = /var/hda/files/drives/drive3/gh, min_free: 10gb<br />** Now configure the number of copies per share. The example below sets the shares as follows:*** Books for max copies (which is 1 for 2 drives)*** Pictures for 1 copy (which is the same as max)*** Movies for no copies
num_copies[Books] = 999
num_copies[Pictures] = 2