Project

General

Profile

Bug #706

Files being moved

Added by drumplayr over 9 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
12/24/2010
Due date:
% Done:

0%


Description

I uploaded pictures to /var/hda/files/drives/drive1/Pictures
A few days later, they disappeared. I restored from backup.
They disappeared again. I just found all my pictures under /var/hda/files/drives/drive1/gh/pictures

Config file:
# This file is automatically generated by Amahi on Fri Nov 12 00:20:00 -0600 2010
# Any manual changes WILL BE OVERWRITTEN!
# Set the defaults (carefully) in /var/hda/platform/html/config/greyhole.yml
db_engine = sqlite
db_path = /var/cache/greyhole.sqlite
balance_modified_files = false
email_to = root
samba_log_file = /var/log/messages
greyhole_log_file = /var/log/greyhole.log
log_level = DEBUG
log_memory_usage = false
dir_selection_algorithm = most_available_space
df_cache_time = 15
delete_moves_to_attic = true
# sticky_files and stick_into options are nested - see http://wiki.amahi.org/index.php/Greyhole#Greyhole_advanced_options
sticky_files = Music/
# add any group of other settings
# here in multiple lines
storage_pool_directory = /var/hda/files/drives/drive1/gh, min_free: 10gb
num_copies[music] = 1
num_copies[pictures] = 1

I don't know where to go from here.

History

#2 Updated by gboudreau over 9 years ago

Also, do a 'greyhole --debug some_file_name'
with some_file_name being the filename of a file that disappeared.

#3 Updated by drumplayr over 9 years ago

gboudreau wrote:

http://forums.amahi.org/viewtopic.php?f=39&t=1989

2.6.32.11-99.fc12.i686.PAE
samba-3.4.7-58.fc12.i686
hda-greyhole-0.7.5-1.i386
Smb Conf: http://fpaste.org/Aru0/
Greyhole.conf: http://fpaste.org/5PXI/
/dev/mapper/vg_amahi-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)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
gvfs-fuse-daemon on /home/thomas/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=thomas)
funionfs on /var/hda/apps/ushare/files type fuse.funionfs (rw,nosuid,nodev,allow_other)
/dev/sdb1 on /var/hda/files/drives/drive1 type vfat (rw)

Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd0f4738c

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 12161 97478401 8e Linux LVM

Disk /dev/dm-0: 97.7 GB, 97702117376 bytes
255 heads, 63 sectors/track, 11878 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 2113 MB, 2113929216 bytes
255 heads, 63 sectors/track, 257 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7c308188

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1 1 121601 976760001 c W95 FAT32 (LBA)
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_amahi-lv_root
90G 29G 57G 34% /
tmpfs 497M 100K 497M 1% /dev/shm
/dev/sda1 194M 39M 146M 21% /boot
df: `/var/hda/apps/ushare/files': Operation not permitted
/dev/sdb1 932G 113G 819G 13% /var/hda/files/drives/drive1

--------------------------------+--------------+---------------------+---------------------+ | id | path | minimum_free | created_at | updated_at |
--------------------------------+--------------+---------------------+---------------------+ | 1 | /var/hda/files/drives/drive1 | 10 | 2010-11-12 06:19:59 | 2010-11-12 06:19:59 |
--------------------------------+--------------+---------------------+---------------------+

http://fpaste.org/kgZY/

greyhole --view-queue produces no results


I just noticed greyhole is not running. It will not start.
I'm going to reboot the server.

#4 Updated by gboudreau over 9 years ago

Check /var/log/greyhole.log when you execute greyhole --view-queue.
It's not normal for that command to return nothing, and you'll see why Greyhole isn't running in that log file.
My guess: missing php_mbstring dependency. If that is your problem, solution is here: http://forums.amahi.org/viewtopic.php?f=39&t=2202

Also available in: Atom