Hi,
Firstly, I am having problems with files disappearing. Sabnzbd downloads them, they are processed correctly by SickBeard or CouchPotato, then they are moved into a share. After an fsck the files are gone. The directory structure is there and correctly named, but the folders are empty and I can't access the files from any of the networked PCs or Boxee box.
If I go into Webmin and look in the file manager the files (symlinks? They are all Kb, not Gb) are where they are supposed to be.
Secondly, I cannot delete some files. I can't delete them from the share because Nautilus tells me the directories aren't empty, but when I open a directory there is nothing there. Running greyhole -a doesn't remove the files, and I can't manually delete them from the "Greyhole Attic" samba share because they directory isn't empty.
Can anyone help me with this?
Thanks
James
uname -r; rpm -q samba hda-greyhole
2.6.35.14-106.fc14.x86_64
samba-3.5.11-79.fc14.x86_64
hda-greyhole-0.9.2-1.x86_64
yum -y install fpaste; fpaste /etc/samba/smb.conf; fpaste /etc/greyhole.conf
Uploading (4.4KiB)...
http://fpaste.org/HsuQ/
Uploading (1.5KiB)...
http://fpaste.org/WOIk/
mount; fdisk -l; df -h; greyhole --stats
/dev/mapper/VolGroup-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/mapper/VolGroup-lv_home on /home type ext4 (rw)
/dev/sda3 on /var/hda/files type ext4 (rw)
/dev/sdc1 on /var/hda/files/drives/drive1 type ext4 (rw)
/dev/sdb1 on /var/hda/files/drives/drive2 type ext4 (rw)
/dev/sde1 on /var/hda/files/drives/drive3 type ext4 (rw)
/dev/sdd1 on /var/hda/files/drives/drive4 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/sda: 160.0 GB, 160040803840 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312579695 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: 0x00057691
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 96053247 47513600 8e Linux LVM
/dev/sda3 96053248 312578047 108262400 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: 0x000927aa
Device Boot Start End Blocks Id System
/dev/sdb1 63 3907024064 1953512001 83 Linux
Disk /dev/sdd: 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: 0x000488be
Device Boot Start End Blocks Id System
/dev/sdd1 2048 3907028991 1953513472 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: 0x0005cee9
Device Boot Start End Blocks Id System
/dev/sdc1 2048 3907028991 1953513472 83 Linux
Disk /dev/sde: 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: 0x0004bd11
Device Boot Start End Blocks Id System
/dev/sde1 2048 3907028991 1953513472 83 Linux
Disk /dev/dm-0: 17.2 GB, 17179869184 bytes
255 heads, 63 sectors/track, 2088 cylinders, total 33554432 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: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 20.9 GB, 20937965568 bytes
255 heads, 63 sectors/track, 2545 cylinders, total 40894464 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: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 10.5 GB, 10502537216 bytes
255 heads, 63 sectors/track, 1276 cylinders, total 20512768 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: 0x00000000
Disk /dev/dm-2 doesn't contain a valid partition table
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
20G 2.5G 16G 14% /
tmpfs 3.8G 0 3.8G 0% /dev/shm
/dev/sda1 485M 29M 431M 7% /boot
/dev/mapper/VolGroup-lv_home
9.7G 151M 9.0G 2% /home
/dev/sda3 102G 70G 28G 72% /var/hda/files
/dev/sdc1 1.8T 686G 1.1T 40% /var/hda/files/drives/drive1
/dev/sdb1 1.8T 927G 814G 54% /var/hda/files/drives/drive2
/dev/sde1 1.8T 736G 1006G 43% /var/hda/files/drives/drive3
/dev/sdd1 1.8T 721G 1021G 42% /var/hda/files/drives/drive4
Greyhole Statistics
===================
Storage Pool
Total - Used = Free + Attic = Possible
/var/hda/files/drives/drive4/gh: 1834G - 720G = 1020G + 0G = 1020G
/var/hda/files/drives/drive3/gh: 1834G - 735G = 1005G + 0G = 1005G
/var/hda/files/drives/drive2/gh: 1834G - 927G = 814G + 133G = 947G
/var/hda/files/drives/drive1/gh: 1834G - 685G = 1055G + 0G = 1055G
==========================================
Total: 7335G - 3068G = 3895G + 133G = 4028G
mysql -u root -phda -e "select * from disk_pool_partitions" hda_production
id | path | minimum_free | created_at | updated_at |
+----+------------------------------+--------------+---------------------+---------------------+
| 1 | /var/hda/files/drives/drive4 | 10 | 2012-05-12 00:16:56 | 2012-05-12 00:16:56 |
| 2 | /var/hda/files/drives/drive3 | 10 | 2012-05-12 00:16:57 | 2012-05-12 00:16:57 |
| 3 | /var/hda/files/drives/drive2 | 10 | 2012-05-12 00:16:58 | 2012-05-12 00:16:58 |
| 4 | /var/hda/files/drives/drive1 | 10 | 2012-05-12 00:16:59 | 2012-05-12 00:16:59 |
mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" hda_production | grep -v 'concat(' | xargs ls -la | fpaste
Uploading (2.5KiB)...
http://fpaste.org/0O57/
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
Books 0 0 0
Docs 0 0 0
Movies 0 0 0
Music 0 0 0
Newsgroups 0 0 0
Pictures 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
tail /var/log/greyhole.log
Jun 29 11:41:42 7 sleep: Nothing to do... Sleeping.
Jun 29 11:41:52 7 sleep: Nothing to do... Sleeping.
Jun 29 11:42:02 7 sleep: Nothing to do... Sleeping.
Jun 29 11:42:12 7 sleep: Nothing to do... Sleeping.
Jun 29 11:42:22 7 sleep: Nothing to do... Sleeping.
Jun 29 11:42:32 7 sleep: Nothing to do... Sleeping.
Jun 29 11:42:43 7 sleep: Nothing to do... Sleeping.
Jun 29 11:42:53 7 sleep: Nothing to do... Sleeping.
Jun 29 11:43:03 7 sleep: Nothing to do... Sleeping.
Jun 29 11:43:13 7 sleep: Nothing to do... Sleeping.
greyhole --debug filename
greyhole --debug "Despicable Me 1080p.mkv"
Debugging file operations for file named "/Despicable Me 1080p.mkv"
From DB
=======
[2012-06-11 03:46:05] Task ID 37054: write Movies/Despicable Me (2010)/Despicable Me 1080P.mkv
From logs
=========
From filesystem
===============
Landing Zone:
lrwxrwxrwx 1 apache apache 83 Jun 11 05:03 /var/hda/files/Movies/Despicable Me (2010)/Despicable Me 1080P.mkv -> /var/hda/files/drives/drive2/gh/Movies/Despicable Me (2010)/Despicable Me 1080P.mkv
Graveyard:
-rw-rw-rw- 1 apache apache 343 Jun 11 05:03 /var/hda/files/drives/drive2/gh/.gh_graveyard/Movies/Despicable Me (2010)/Despicable Me 1080P.mkv
array (
0 =>
stdClass::__set_state(array(
'path' => '/var/hda/files/drives/drive2/gh/Movies/Despicable Me (2010)/Despicable Me 1080P.mkv',
'is_linked' => true,
'state' => 'OK',
)),
1 =>
stdClass::__set_state(array(
'path' => '/var/hda/files/drives/drive1/gh/Movies/Despicable Me (2010)/Despicable Me 1080P.mkv',
'is_linked' => false,
'state' => 'Pending',
)),
)
-rw-rw-rw- 1 apache apache 338 Jun 11 05:03 /var/hda/files/drives/drive1/gh/.gh_graveyard/Movies/Despicable Me (2010)/Despicable Me 1080P.mkv
array (
0 =>
stdClass::__set_state(array(
'path' => '/var/hda/files/drives/drive2/gh/Movies/Despicable Me (2010)/Despicable Me 1080P.mkv',
'is_linked' => true,
'state' => 'OK',
)),
1 =>
stdClass::__set_state(array(
'path' => '/var/hda/files/drives/drive1/gh/Movies/Despicable Me (2010)/Despicable Me 1080P.mkv',
'is_linked' => false,
'state' => 'OK',
)),
)
File copies:
-rw-rw-rw- 1 apache apache 408425978 Dec 10 2010 /var/hda/files/drives/drive2/gh/Movies/Despicable Me (2010)/Despicable Me 1080P.mkv
-rw-rw-rw- 1 apache apache 408425978 Dec 10 2010 /var/hda/files/drives/drive1/gh/Movies/Despicable Me (2010)/Despicable Me 1080P.mkv
Some files disappear, some I can't get rid of
Re: Some files disappear, some I can't get rid of
ensure permissions are good. do a search on permissions and shares in the storage and greyhole forum sections.
SgtFoo
HDA: VM inside oVirt FX-8300 95w (2 cores for HDA), 32GB RAM (2GB for HDA)
My PC: FX-8300, 16GB RAM, 3x 1TB HDDs, Radeon HD6970 2GB video; Win10 Pro x64
Other: PC, Asus 1215n (LXLE), Debian openZFS server (3x(2x2tb) mirrors)
Modem&Network: Thomson DCM475; Asus RT-AC66U; HP 1800-24G switch
HDA: VM inside oVirt FX-8300 95w (2 cores for HDA), 32GB RAM (2GB for HDA)
My PC: FX-8300, 16GB RAM, 3x 1TB HDDs, Radeon HD6970 2GB video; Win10 Pro x64
Other: PC, Asus 1215n (LXLE), Debian openZFS server (3x(2x2tb) mirrors)
Modem&Network: Thomson DCM475; Asus RT-AC66U; HP 1800-24G switch
Who is online
Users browsing this forum: No registered users and 17 guests