Hi,
First of all thanks for great program!
I have problem with greyhole service which is not starting after AC power crashing.
Here is information from my HDA:
> uname -r; rpm -q samba hda-greyhole
2.6.32.26-175.fc12.x86_64
samba-3.4.9-60.fc12.x86_64
hda-greyhole-0.7.5-1.x86_64
> uname -r; rpm -q samba hda-greyhole
2.6.32.26-175.fc12.x86_64
samba-3.4.9-60.fc12.x86_64
hda-greyhole-0.7.5-1.x86_64
> yum -y install fpaste; fpaste /etc/samba/smb.conf; fpaste /etc/greyhole.conf
Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: ftp.uni-koeln.de
* rpmfusion-free: download1.rpmfusion.org
* rpmfusion-free-updates: download1.rpmfusion.org
* rpmfusion-nonfree: download1.rpmfusion.org
* rpmfusion-nonfree-updates: download1.rpmfusion.org
* updates: ftp.uni-koeln.de
Setting up Install Process
Package fpaste-0.3.4-1.fc12.noarch already installed and latest version
Nothing to do
Uploading (6.7K)...
http://fpaste.org/5fVC/
Uploading (1.7K)...
Server Error: 500 - INTERNAL SERVER ERROR
500 often means your paste was too large. You tried uploading 1KiB. A pastebin is NOT a file hosting service!
> yum -y install fpaste; fpaste /etc/samba/smb.conf; fpaste /etc/greyhole.conf
Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: ftp.uni-koeln.de
* rpmfusion-free: download1.rpmfusion.org
* rpmfusion-free-updates: download1.rpmfusion.org
* rpmfusion-nonfree: download1.rpmfusion.org
* rpmfusion-nonfree-updates: download1.rpmfusion.org
* updates: ftp.uni-koeln.de
Setting up Install Process
Package fpaste-0.3.4-1.fc12.noarch already installed and latest version
Nothing to do
Uploading (6.7K)...
http://fpaste.org/pu1y/
Uploading (1.7K)...
http://fpaste.org/CHO6/
> mount; fdisk -l; df -h; greyhole --stats
/dev/mapper/vg_home-lv_root on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext4 (rw)
/dev/sda3 on /var/hda/files type ext4 (rw)
/dev/sdb1 on /var/hda/files/drives/drive1 type ext4 (rw)
/dev/sdc1 on /var/hda/files/drives/drive2 type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x171e2c33
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 4615 36864000 8e Linux LVM
/dev/sda3 4615 243201 1916443201 83 Linux
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
81 heads, 63 sectors/track, 765633 cylinders
Units = cylinders of 5103 * 512 = 2612736 bytes
Disk identifier: 0x0008ae17
Device Boot Start End Blocks Id System
/dev/sdb1 1 765634 1953513560 83 Linux
Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0001046e
Device Boot Start End Blocks Id System
/dev/sdc1 1 243202 1953514552 83 Linux
Disk /dev/dm-0: 31.5 GB, 31453085696 bytes
255 heads, 63 sectors/track, 3823 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1: 6291 MB, 6291456000 bytes
255 heads, 63 sectors/track, 764 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_home-lv_root
29G 4.0G 24G 15% /
tmpfs 2.0G 0 2.0G 0% /dev/shm
/dev/sda1 194M 58M 127M 32% /boot
/dev/sda3 1.8T 1.7T 12G 100% /var/hda/files
/dev/sdb1 1.8T 1.4T 406G 77% /var/hda/files/drives/drive1
/dev/sdc1 1.8T 1.2T 613G 65% /var/hda/files/drives/drive2
Can't describe tasks with query: DESCRIBE tasks - Error: Table './greyhole/tasks' is marked as crashed and should be repaired
> mysql -u root -phda -e "select * from disk_pool_partitions" hda_production
id path minimum_free created_at updated_at
1 /var/hda/files 10 2010-11-09 20:04:47 2010-11-09 20:04:47
2 /var/hda/files/drives/drive1 10 2010-11-09 21:08:54 2010-11-09 21:08:54
3 /var/hda/files/drives/drive2 10 2010-11-09 21:33:11 2010-11-09 21:33:11
> mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" hda_production | grep -v 'concat(' | xargs ls -la | fpaste
Uploading (2.9K)...
http://fpaste.org/EWL4/
> greyhole --view-queue
Can't describe tasks with query: DESCRIBE tasks - Error: Table './greyhole/tasks' is marked as crashed and should be repaired
so, what I can do to repair greyhole service? thanks for the support!
Problem with start greyhole service
Re: Problem with start greyhole service
Code: Select all
mysql -u root -phda -e "repair table tasks" greyhole
mysql -u root -phda -e "repair table tasks_completed" greyhole
mysql -u root -phda -e "repair table settings" greyhole
greyhole --view-queue
Then restart the service:
Code: Select all
service greyhole restart
- Guillaume Boudreau
Who is online
Users browsing this forum: No registered users and 24 guests