Difference between revisions of "Greyhole troubleshooting"

From Amahi Wiki
Jump to: navigation, search
(Created page with "s")
 
Line 1: Line 1:
s
+
When reporting an issue with Greyhole, or asking for help regarding Greyhole, you should provide the following. You'll need to execute the given commands as root.
 +
 
 +
1. What version of Fedora, Samba & Greyhole are you running?
 +
      uname -r; rpm -q samba hda-greyhole
 +
 
 +
2. The content of the /etc/samba/smb.conf & /etc/greyhole.conf files (provide paste URLs):
 +
      yum -y install fpaste; fpaste /etc/samba/smb.conf; fpaste /etc/greyhole.conf
 +
 
 +
3. The result of the following commands:
 +
      mount; fdisk -l; df -h; greyhole --stats
 +
 
 +
4. The list drives in your storage pool (per Amahi platform):
 +
      mysql -u root -phda -e "select * from disk_pool_partitions" hda_production
 +
 
 +
5. A list of the directories on the root of the drives included in your storage pool, obtained with the following command (provide a paste URL):
 +
      mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" hda_production | grep -v 'concat(' | xargs ls -la | fpaste
 +
 
 +
6. The Greyhole work queue:
 +
      greyhole --view-queue
 +
 
 +
Back to the [[Greyhole]] page

Revision as of 22:47, 24 December 2010

When reporting an issue with Greyhole, or asking for help regarding Greyhole, you should provide the following. You'll need to execute the given commands as root.

1. What version of Fedora, Samba & Greyhole are you running?

     uname -r; rpm -q samba hda-greyhole

2. The content of the /etc/samba/smb.conf & /etc/greyhole.conf files (provide paste URLs):

     yum -y install fpaste; fpaste /etc/samba/smb.conf; fpaste /etc/greyhole.conf

3. The result of the following commands:

     mount; fdisk -l; df -h; greyhole --stats

4. The list drives in your storage pool (per Amahi platform):

     mysql -u root -phda -e "select * from disk_pool_partitions" hda_production

5. A list of the directories on the root of the drives included in your storage pool, obtained with the following command (provide a paste URL):

     mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" hda_production | grep -v 'concat(' | xargs ls -la | fpaste

6. The Greyhole work queue:

     greyhole --view-queue

Back to the Greyhole page