Greyhole Troubleshooter - Files stuck in LZ

faulknerm
Posts: 7
Joined: Sun Jan 08, 2012 12:49 pm

Greyhole Troubleshooter - Files stuck in LZ

Postby faulknerm » Sun Jan 29, 2012 2:29 pm

Have copied my output from the troubleshooter commands below.

Issue appears to be that files aren't being moved from the LZ into the pool when an fsck is carried out. I can see the data is still in the LZ (40GB approx, in /var/LZ which is mounted on the 180GB partition), however the output for 7. below shows no sign of the file?

Any idea's appreciated. :)



1.
2.6.35.14-106.fc14.x86_64
samba-3.5.11-79.fc14.x86_64
hda-greyhole-0.9.2-1.x86_64

2.
http://fpaste.org/0F4i/
http://fpaste.org/i0g5/

3.
mount
/dev/sda1 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/sda3 on /var type ext4 (rw)
/dev/sdc1 on /var/hda/files/drives/drive2 type ext4 (rw)
/dev/sdb1 on /var/hda/files/drives/drive1 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)
nfsd on /proc/fs/nfsd type nfsd (rw)

fdisk -l

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00049e2c

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 81922047 40960000 83 Linux
/dev/sda2 81922048 102402047 10240000 82 Linux swap / Solaris
/dev/sda3 102402048 488396799 192997376 83 Linux

Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x90909090

Device Boot Start End Blocks Id System
/dev/sdc1 * 63 3907024064 1953512001 83 Linux

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0007760c

Device Boot Start End Blocks Id System
/dev/sdb1 63 3907024064 1953512001 83 Linux


df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 39G 3.8G 33G 11% /
tmpfs 1004M 88K 1004M 1% /dev/shm
/dev/sda3 182G 45G 128G 26% /var
/dev/sdc1 1.8T 334G 1.4T 20% /var/hda/files/drives/drive2
/dev/sdb1 1.8T 335G 1.4T 20% /var/hda/files/drives/drive1

greyhole --stats

Greyhole Statistics
===================

Storage Pool
Total - Used = Free + Attic = Possible
/var/hda/files/drives/drive1/gh: 1834G - 335G = 1406G + 2G = 1408G
/var/hda/files/drives/drive2/gh: 1834G - 334G = 1407G + 0G = 1407G
==========================================
Total: 3668G - 668G = 2813G + 2G = 2815G


4.
mysql -u root -phda -e "select * from disk_pool_partitions" hda_production
+----+------------------------------+--------------+---------------------+---------------------+
| id | path | minimum_free | created_at | updated_at |
+----+------------------------------+--------------+---------------------+---------------------+
| 8 | /var/hda/files/drives/drive1 | 10 | 2012-01-25 02:14:51 | 2012-01-25 02:14:51 |
| 9 | /var/hda/files/drives/drive2 | 10 | 2012-01-28 17:37:13 | 2012-01-28 17:37:13 |
+----+------------------------------+--------------+---------------------+---------------------+


5.
http://fpaste.org/OYRb/


6.
greyhole --view-queue

Greyhole Work Queue Statistics
==============================

This table gives you the number of pending operations queued for the Greyhole daemon, per share.

Write Delete Rename
Docs 0 0 0
Films 0 0 0
Music 0 0 0
TV 0 0 0
=======
Total 0 + 0 + 0 = 0

The following is the number of pending operations that the Greyhole daemon still needs to parse.
Until it does, the nature of those operations is unknown.
Spooled operations that have been parsed will be listed above and disappear from the count below.

Spooled 0

7.
greyhole --debug lycan-cont
Debugging file operations for file named "/lycan-cont"

From DB
=======
[2012-01-29 17:02:51] Task ID 30765: write Films/Contagion (2011/lycan-cont.avi
[2012-01-29 17:09:21] Task ID 30777: write Films/Contagion (2011/lycan-cont.nfo
[2012-01-29 17:09:21] Task ID 30778: write Films/Contagion (2011/lycan-cont.nzb
[2012-01-29 17:09:21] Task ID 30779: write Films/Contagion (2011/lycan-cont.part001.sfv
[2012-01-29 17:09:21] Task ID 30780: write Films/Contagion (2011/lycan-cont.sample.avi

From logs
=========
grep: Unmatched ( or \(

gzip: stdout: Broken pipe
grep: Unmatched ( or \(

gzip: stdout: Broken pipe
grep: Unmatched ( or \(

gzip: stdout: Broken pipe
grep: Unmatched ( or \(

gzip: stdout: Broken pipe
grep: Unmatched ( or \(

From filesystem
===============
Landing Zone:
ls: cannot access /var/LZ/Films/Contagion (2011/lycan-cont.sample.avi: No such file or directory

Graveyard:

File copies:

bigmango
Posts: 62
Joined: Wed Aug 31, 2011 11:36 am

Re: Greyhole Troubleshooter - Files stuck in LZ

Postby bigmango » Wed Feb 01, 2012 9:04 am

For one, do a:

Code: Select all

yum update
on your system. You will get many bug fixes, and especially security issues fixes (which Amahi doesn't seem to care about, surprising for a "server" :roll: )

Then update to the latest version of greyhole (it has improvements and fixes several issues, perhaps yours is included):

Code: Select all

yum update http://www.greyhole.net/releases/rpm/x86_64/hda-greyhole-0.9.20-1.x86_64.rpm
Finally, do a greyhole fsck again to see if it fixes the problem. Perhaps it will, perhaps not. In any case you will still be left with improvements and security fixes.

Who is online

Users browsing this forum: No registered users and 14 guests