Greyhole Configuration Instructions =================================== The following are instructions on how to configure and run Greyhole. You need Greyhole installed for those instructions to make sense. See https://github.com/gboudreau/Greyhole/wiki/Installing for details. Most of the commands below require root access, so now would be a good time to become root, if you're not already. 1. Setup Samba: Edit /etc/samba/smb.conf Change or add the following values in the [global] section: unix extensions = no wide links = yes For each of your shares, add a 'dfree command' and 'vfs objects' lines, as seen below. Example share definition: [share_name] path = /path/to/share_name create mask = 0770 directory mask = 0770 read only = no available = yes browseable = yes writable = yes guest ok = no printable = no dfree command = /usr/bin/greyhole-dfree vfs objects = greyhole Fedora: service smb restart Ubuntu (< 10): /etc/init.d/samba restart Ubuntu (10+): restart smbd Debian: service samba restart 2. Setup the database: If using MySQL: # Make sure your MySQL server service (mysqld) is running, and runs on boot. Fedora: service mysqld start; chkconfig mysqld on Ubuntu (< 10): /etc/init.d/mysqld start; update-rc.d mysqld defaults Ubuntu (10+): start mysql Debian: service mysql start # Remove the -p parameter if your MySQL root user doesn't require a password for local connections. mysql -u root -p -e "create database greyhole; grant all on greyhole.* to greyhole_user@localhost identified by '89y63jdwe';" mysql -u greyhole_user -p89y63jdwe greyhole < /usr/share/greyhole/schema-mysql.sql 3. Cutomize the Greyhole configuration file, /etc/greyhole.conf, as needed. 4. For each directory you defined as 'storage_pool_directories', execute the following command, to create a hidden file in the root directory of each partition: touch