Let me give you a little info on my setup before I post my problem: I'm running Amahi on Fedora 14 with a total of two 2TB drives. The boot, swap, /, and home partitions are on the first drive (taking up around 20GB), with the rest of that drive partitioned as /var/hda. The second drive is mounted as /var/hda/files/drives/drive1. Both of these partitions are in the Greyhole pool. The landing zone is on that second drive. I'm running VMware on the system, with WinXP installed on that, running iTunes (I'm serving a lot of media to an AppleTV, latest gen, and I haven't had any luck with Firefly and videos). The WinXP virtual disk is located in /home, but the iTunes media folder is mapped to the //Movies share, so all of the media is in the pool.
Here's the issue- normally, when I'm adding files to the iTunes library (which is set up to copy all new files to the media folder) from my other PC (or an external USB drive mounted in VMware), everything goes fine. The problem is that iTunes classifies all video files as movies. When I update the info for TV shows, iTunes goes ahead and moves the files from the //Movies/iTunes Media/Movies folder to //Movies/iTunes Media/TV Shows. However, the target folders always end up empty (with iTunes saying it can't locate the file when I try to play it), and the source folder is always gone. I'm not sure if this is a Greyhole problem or not. I've been getting around this by manually copying all of the files from the other computer into the newly created TV Shows folder after iTunes/Greyhole lose the originals. This is fine, but it's a pain and takes twice as long, since the VMware/Samba performance is very slow, even with the files being accessed locally.
A separate problem is a loop that seems to occur when using the Automatically Add to iTunes folder (iTunes moves any file placed in this folder and adds it to the library). When iTunes removes that file from the folder, Greyhole seems to be replacing it (not sure if it thinks there was a problem and is pulling the file from the other drive in the pool). iTunes then sees this "new" file, and again tries to add it to the library, resulting in n+1 copies in the library.
Any thoughts or assistance would be appreciated- thanks!
Files disappearing
Re: Files disappearing
Try greyhole --debug some_file_name
As some_file_name, use a file that disappeared, then run it again with some_file_name = a file that was in "Add automatically to iTunes" and that re-appeared.
Post the output of both commands here.
That should tell us what happened with those files.
As some_file_name, use a file that disappeared, then run it again with some_file_name = a file that was in "Add automatically to iTunes" and that re-appeared.
Post the output of both commands here.
That should tell us what happened with those files.
- Guillaume Boudreau
-
- Posts: 9
- Joined: Tue Feb 01, 2011 6:28 pm
Re: Files disappearing
Here's the output for a file that disappeared when iTunes moved it from the Movies to the TV Shows folder:
[Server@server ~]$ su
Password:
[root@server Server]# greyhole --debug Suffer the Little Children.m4v
Debugging file operations for file named "/Suffer"
From DB
=======
[2011-02-17 20:10:15] Task ID 3387: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
[2011-02-17 20:11:23] Task ID 3388: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
[2011-02-17 20:11:24] Task ID 3389: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
[2011-02-17 20:11:24] Task ID 3390: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
[2011-02-17 20:16:01] Task ID 3396: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
[2011-02-17 20:16:01] Task ID 3397: rename Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v -> Movies/iTunes/iTunes Media/TV Shows/Deadwood/Season 1/Suffer the Little Children.m4v
[2011-02-17 20:16:01] Task ID 3398: rmdir Movies/iTunes/iTunes Media/Movies/Suffer the Little Children
[2011-02-17 20:16:02] Task ID 3400: rename Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v -> Movies/iTunes/iTunes Media/TV Shows/Deadwood/Season 1/Suffer the Little Children.m4v
From logs
=========
Feb 17 20:11:23 7 simplify_tasks: Simplifying pending tasks.
Feb 17 20:11:23 7 write: Now working on task ID 3387: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:23 6 write: File created: Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v - 674MB
Feb 17 20:11:23 7 write: Loading tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v... Got 0 tombstones.
Feb 17 20:11:24 7 write: File /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v is locked by another process. Will wait until it's unlocked to work on it.
Feb 17 20:11:24 7 write: Now working on task ID 3388: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:24 6 write: File created: Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v - 674MB
Feb 17 20:11:24 7 write: Loading tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v... Got 0 tombstones.
Feb 17 20:11:24 7 write: File /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v is locked by another process. Will wait until it's unlocked to work on it.
Feb 17 20:11:24 7 sleep: Only locked files operations pending... Sleeping.
Feb 17 20:11:34 7 write: Now working on task ID 3389: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:34 6 write: File created: Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v - 674MB
Feb 17 20:11:34 7 write: Loading tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v... Got 0 tombstones.
Feb 17 20:11:34 7 write: Drives with available space: /var/hda/files/drives/drive1/gh (1.54TB avail) - /var/hda/gh (1.52TB avail)
Feb 17 20:11:34 7 write: Saving 2 tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:34 7 write: Saving tombstones in /var/hda/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:34 7 write: Saving tombstones in /var/hda/files/drives/drive1/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:34 7 write: Copying file to /var/hda/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:49 7 write: Creating symlink in share pointing to the above file copy.
Feb 17 20:11:49 7 write: Saving 2 tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:49 7 write: Saving tombstones in /var/hda/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:49 7 write: Saving tombstones in /var/hda/files/drives/drive1/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:49 7 write: Copying file to /var/hda/files/drives/drive1/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:58 7 write: Saving 2 tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:58 7 write: Saving tombstones in /var/hda/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:58 7 write: Saving tombstones in /var/hda/files/drives/drive1/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:59 7 read_smb_spool: Processing Samba spool...
Feb 17 20:11:59 7 write: Now working on task ID 3390: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:59 6 write: File changed: Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v - 674MB
Feb 17 20:11:59 7 write: Will use source file: /var/hda/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:59 7 write: Loading tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v... Got 2 tombstones.
Feb 17 20:11:59 7 write: Saving 2 tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:59 7 write: Saving tombstones in /var/hda/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:59 7 write: Saving tombstones in /var/hda/files/drives/drive1/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:59 7 write: File copy at /var/hda/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v is already up to date.
Feb 17 20:11:59 7 write: Copying file to /var/hda/files/drives/drive1/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:12:17 7 write: Saving 2 tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:12:17 7 write: Saving tombstones in /var/hda/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:12:17 7 write: Saving tombstones in /var/hda/files/drives/drive1/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:12:17 7 sleep: Nothing to do... Sleeping.
--
Feb 17 20:16:02 7 rmdir: Removed tombstones directory /var/hda/files/drives/drive1/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/No Other Sons or Daughters
Feb 17 20:16:02 7 write: Now working on task ID 3396: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:16:02 6 write: /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v doesn't exist anymore.
--
Feb 17 20:16:02 4 write: PHP Warning [2]: symlink(): No such file or directory in /usr/bin/greyhole on line 1729
Feb 17 20:16:02 6 write: File created: Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4vPHP Warning [2]: filesize(): stat failed for /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v in /usr/bin/greyhole on line 423
Feb 17 20:16:02 7 write: - 0.00B
Feb 17 20:16:02 7 write: Loading tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v... Got 2 tombstones.
Feb 17 20:16:02 7 write: Moved copy from /var/hda/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v to attic: /var/hda/gh/.gh_attic/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:16:02 7 write: Moved copy from /var/hda/files/drives/drive1/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v to attic: /var/hda/files/drives/drive1/gh/.gh_attic/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:16:02 7 write: Removing tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:16:02 7 write: Removed tombstone at /var/hda/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:16:02 7 write: Removed tombstone at /var/hda/files/drives/drive1/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:16:02 7 write: Drives with available space: /var/hda/files/drives/drive1/gh (1.54TB avail) - /var/hda/gh (1.51TB avail)
Feb 17 20:16:02 7 write: Saving 2 tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:16:02 7 write: Saving tombstones in /var/hda/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:16:02 7 write: Saving tombstones in /var/hda/files/drives/drive1/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:16:02 6 write: /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v doesn't exist anymore. Aborting.
Feb 17 20:16:02 7 rename: Now working on task ID 3397: rename Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v -> Movies/iTunes/iTunes Media/TV Shows/Deadwood/Season 1/Suffer the Little Children.m4v
Feb 17 20:16:02 6 rename: File renamed: /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v -> /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/TV Shows/Deadwood/Season 1/Suffer the Little Children.m4v
Feb 17 20:16:02 7 rename: File /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/TV Shows/Deadwood/Season 1/Suffer the Little Children.m4v is locked by another process. Will wait until it's unlocked to work on it.
Feb 17 20:16:02 7 rmdir: Now working on task ID 3398: rmdir Movies/iTunes/iTunes Media/Movies/Suffer the Little Children
Feb 17 20:16:02 6 rmdir: Directory deleted: /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/Movies/Suffer the Little Children
Feb 17 20:16:02 7 rmdir: Removed copy at /var/hda/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children
Feb 17 20:16:02 7 rmdir: Removed copy at /var/hda/files/drives/drive1/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children
Feb 17 20:16:02 7 rename: Now working on task ID 3400: rename Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v -> Movies/iTunes/iTunes Media/TV Shows/Deadwood/Season 1/Suffer the Little Children.m4v
Feb 17 20:16:02 6 rename: File renamed: /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v -> /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/TV Shows/Deadwood/Season 1/Suffer the Little Children.m4v
From filesystem
===============
Landing Zone:
lrwxrwxrwx 1 root root 103 Feb 17 20:11 /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/TV Shows/Deadwood/Season 1/Suffer the Little Children.m4v -> /var/hda/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Graveyard:
File copies:
[root@server Server]#
[Server@server ~]$ su
Password:
[root@server Server]# greyhole --debug Suffer the Little Children.m4v
Debugging file operations for file named "/Suffer"
From DB
=======
[2011-02-17 20:10:15] Task ID 3387: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
[2011-02-17 20:11:23] Task ID 3388: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
[2011-02-17 20:11:24] Task ID 3389: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
[2011-02-17 20:11:24] Task ID 3390: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
[2011-02-17 20:16:01] Task ID 3396: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
[2011-02-17 20:16:01] Task ID 3397: rename Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v -> Movies/iTunes/iTunes Media/TV Shows/Deadwood/Season 1/Suffer the Little Children.m4v
[2011-02-17 20:16:01] Task ID 3398: rmdir Movies/iTunes/iTunes Media/Movies/Suffer the Little Children
[2011-02-17 20:16:02] Task ID 3400: rename Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v -> Movies/iTunes/iTunes Media/TV Shows/Deadwood/Season 1/Suffer the Little Children.m4v
From logs
=========
Feb 17 20:11:23 7 simplify_tasks: Simplifying pending tasks.
Feb 17 20:11:23 7 write: Now working on task ID 3387: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:23 6 write: File created: Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v - 674MB
Feb 17 20:11:23 7 write: Loading tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v... Got 0 tombstones.
Feb 17 20:11:24 7 write: File /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v is locked by another process. Will wait until it's unlocked to work on it.
Feb 17 20:11:24 7 write: Now working on task ID 3388: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:24 6 write: File created: Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v - 674MB
Feb 17 20:11:24 7 write: Loading tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v... Got 0 tombstones.
Feb 17 20:11:24 7 write: File /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v is locked by another process. Will wait until it's unlocked to work on it.
Feb 17 20:11:24 7 sleep: Only locked files operations pending... Sleeping.
Feb 17 20:11:34 7 write: Now working on task ID 3389: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:34 6 write: File created: Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v - 674MB
Feb 17 20:11:34 7 write: Loading tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v... Got 0 tombstones.
Feb 17 20:11:34 7 write: Drives with available space: /var/hda/files/drives/drive1/gh (1.54TB avail) - /var/hda/gh (1.52TB avail)
Feb 17 20:11:34 7 write: Saving 2 tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:34 7 write: Saving tombstones in /var/hda/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:34 7 write: Saving tombstones in /var/hda/files/drives/drive1/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:34 7 write: Copying file to /var/hda/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:49 7 write: Creating symlink in share pointing to the above file copy.
Feb 17 20:11:49 7 write: Saving 2 tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:49 7 write: Saving tombstones in /var/hda/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:49 7 write: Saving tombstones in /var/hda/files/drives/drive1/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:49 7 write: Copying file to /var/hda/files/drives/drive1/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:58 7 write: Saving 2 tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:58 7 write: Saving tombstones in /var/hda/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:58 7 write: Saving tombstones in /var/hda/files/drives/drive1/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:59 7 read_smb_spool: Processing Samba spool...
Feb 17 20:11:59 7 write: Now working on task ID 3390: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:59 6 write: File changed: Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v - 674MB
Feb 17 20:11:59 7 write: Will use source file: /var/hda/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:59 7 write: Loading tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v... Got 2 tombstones.
Feb 17 20:11:59 7 write: Saving 2 tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:59 7 write: Saving tombstones in /var/hda/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:59 7 write: Saving tombstones in /var/hda/files/drives/drive1/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:11:59 7 write: File copy at /var/hda/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v is already up to date.
Feb 17 20:11:59 7 write: Copying file to /var/hda/files/drives/drive1/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:12:17 7 write: Saving 2 tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:12:17 7 write: Saving tombstones in /var/hda/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:12:17 7 write: Saving tombstones in /var/hda/files/drives/drive1/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:12:17 7 sleep: Nothing to do... Sleeping.
--
Feb 17 20:16:02 7 rmdir: Removed tombstones directory /var/hda/files/drives/drive1/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/No Other Sons or Daughters
Feb 17 20:16:02 7 write: Now working on task ID 3396: write Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:16:02 6 write: /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v doesn't exist anymore.
--
Feb 17 20:16:02 4 write: PHP Warning [2]: symlink(): No such file or directory in /usr/bin/greyhole on line 1729
Feb 17 20:16:02 6 write: File created: Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4vPHP Warning [2]: filesize(): stat failed for /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v in /usr/bin/greyhole on line 423
Feb 17 20:16:02 7 write: - 0.00B
Feb 17 20:16:02 7 write: Loading tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v... Got 2 tombstones.
Feb 17 20:16:02 7 write: Moved copy from /var/hda/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v to attic: /var/hda/gh/.gh_attic/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:16:02 7 write: Moved copy from /var/hda/files/drives/drive1/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v to attic: /var/hda/files/drives/drive1/gh/.gh_attic/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:16:02 7 write: Removing tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:16:02 7 write: Removed tombstone at /var/hda/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:16:02 7 write: Removed tombstone at /var/hda/files/drives/drive1/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:16:02 7 write: Drives with available space: /var/hda/files/drives/drive1/gh (1.54TB avail) - /var/hda/gh (1.51TB avail)
Feb 17 20:16:02 7 write: Saving 2 tombstones for Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:16:02 7 write: Saving tombstones in /var/hda/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:16:02 7 write: Saving tombstones in /var/hda/files/drives/drive1/gh/.gh_graveyard/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Feb 17 20:16:02 6 write: /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v doesn't exist anymore. Aborting.
Feb 17 20:16:02 7 rename: Now working on task ID 3397: rename Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v -> Movies/iTunes/iTunes Media/TV Shows/Deadwood/Season 1/Suffer the Little Children.m4v
Feb 17 20:16:02 6 rename: File renamed: /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v -> /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/TV Shows/Deadwood/Season 1/Suffer the Little Children.m4v
Feb 17 20:16:02 7 rename: File /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/TV Shows/Deadwood/Season 1/Suffer the Little Children.m4v is locked by another process. Will wait until it's unlocked to work on it.
Feb 17 20:16:02 7 rmdir: Now working on task ID 3398: rmdir Movies/iTunes/iTunes Media/Movies/Suffer the Little Children
Feb 17 20:16:02 6 rmdir: Directory deleted: /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/Movies/Suffer the Little Children
Feb 17 20:16:02 7 rmdir: Removed copy at /var/hda/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children
Feb 17 20:16:02 7 rmdir: Removed copy at /var/hda/files/drives/drive1/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children
Feb 17 20:16:02 7 rename: Now working on task ID 3400: rename Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v -> Movies/iTunes/iTunes Media/TV Shows/Deadwood/Season 1/Suffer the Little Children.m4v
Feb 17 20:16:02 6 rename: File renamed: /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v -> /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/TV Shows/Deadwood/Season 1/Suffer the Little Children.m4v
From filesystem
===============
Landing Zone:
lrwxrwxrwx 1 root root 103 Feb 17 20:11 /var/hda/files/drives/drive1/movies/iTunes/iTunes Media/TV Shows/Deadwood/Season 1/Suffer the Little Children.m4v -> /var/hda/gh/Movies/iTunes/iTunes Media/Movies/Suffer the Little Children/Suffer the Little Children.m4v
Graveyard:
File copies:
[root@server Server]#
Re: Files disappearing
Try the latest version of Greyhole:
That should help.
Code: Select all
rpm -Uvh http://www.greyhole.net/releases/hda-greyhole-0.9.0-1.`uname -i`.rpm
- Guillaume Boudreau
-
- Posts: 9
- Joined: Tue Feb 01, 2011 6:28 pm
Re: Files disappearing
I gave that a shot, but it turns out I already have 0.9.0. On a slightly different note, I found that if I quickly change the media type from "movie" to "TV show" after importing the file in iTunes, the file won't disappear.
Thanks
Thanks
Re: Files disappearing
The problems seems to be caused by the locked files checks.
Your --debug output above seems to be missing some lines. Could you post your complete greyhole.log ?
Might be greyhole.log.1.gz or something, if you send it tomorrow.
Just upload it anywhere, and post a link.
Your --debug output above seems to be missing some lines. Could you post your complete greyhole.log ?
Might be greyhole.log.1.gz or something, if you send it tomorrow.
Just upload it anywhere, and post a link.
- Guillaume Boudreau
-
- Posts: 9
- Joined: Tue Feb 01, 2011 6:28 pm
Re: Files disappearing
I added some files yesterday at around 11 PM, and the same thing happened when iTunes moved them from Movies to TV Shows. Here's the link to the greyhole log from yesterday.
http://dl.dropbox.com/u/21998068/greyhole.log-20110226
http://dl.dropbox.com/u/21998068/greyhole.log-20110226
Re: Files disappearing
I can see you writing the files into iTunes (the Planet Earth episodes), but I don't see iTunes moving the files.
For example, the Caves.mp4 file was added on 23:04 into iTunes (Movies/iTunes/iTunes Media/Movies/Caves/Caves.m4v)
But it wasn't moved after that. Not before Feb 26 03:36 anyway, where this log file ends.
Did you maybe convert the Movies into TV Shows in iTunes only this morning ?
If so, I'd need today's greyhole.log to see what happened.
For example, the Caves.mp4 file was added on 23:04 into iTunes (Movies/iTunes/iTunes Media/Movies/Caves/Caves.m4v)
But it wasn't moved after that. Not before Feb 26 03:36 anyway, where this log file ends.
Did you maybe convert the Movies into TV Shows in iTunes only this morning ?
If so, I'd need today's greyhole.log to see what happened.
- Guillaume Boudreau
-
- Posts: 9
- Joined: Tue Feb 01, 2011 6:28 pm
Re: Files disappearing
Sorry about that, I forgot that I did the move this morning. Here's today's log so far:
http://dl.dropbox.com/u/21998068/greyhole.log
http://dl.dropbox.com/u/21998068/greyhole.log
Re: Files disappearing
I found the problem. This is a bug in Greyhole.
To be able to work with renamed files, Greyhole assumes that the directory where the file was previously is still available.
If your case, this is Movies/iTunes/iTunes Media/Movies/Some Name/, which was removed by iTunes when you changed the type to TV Show. So when GH tries to work on that file, it assumes this folder is still available, and since it isn't, this causes GH to misbehave.
I should have a new version with this fixed soon.
I'll post here when I do.
To be able to work with renamed files, Greyhole assumes that the directory where the file was previously is still available.
If your case, this is Movies/iTunes/iTunes Media/Movies/Some Name/, which was removed by iTunes when you changed the type to TV Show. So when GH tries to work on that file, it assumes this folder is still available, and since it isn't, this causes GH to misbehave.
I should have a new version with this fixed soon.
I'll post here when I do.
- Guillaume Boudreau
Who is online
Users browsing this forum: No registered users and 12 guests