Greyhole is considering accessed images changed
Posted: Thu Nov 22, 2012 8:31 am
Hi,
Every time I just open an image on my HDA from my Win 7 64 bit computer through Windows Explorer, Greyhole considers the file changed and starts moving one copy of the file to trash, saving and copying etc.
Is this normal behavior? I don't like if Greyhole is doing a lot of unnecessary things every time I access a file. Using resources like disk access and cpu in vain (as it seems) and filling the trash.
The behavior can be seen in the following Greyhole log on Amahi Ubuntu. Note that I just open the image 20120915_143027.jpg to view the image in Windows Photo Viewer. I don't change the file. Not deliberately at least, maybe Windows Photo Viewer is changing some metadata like "last accessed" or something?:
Nov 22 16:16:05 7 sleep: Nothing to do... Sleeping.
Nov 22 16:16:15 7 read_smb_spool: Processing Samba spool...
Nov 22 16:16:15 7 read_smb_spool: Found 3 new tasks in spool.
Nov 22 16:16:15 7 simplify_tasks: Simplifying pending tasks.
Nov 22 16:16:16 7 sleep: Nothing to do... Sleeping.
Nov 22 16:16:26 7 sleep: Nothing to do... Sleeping.
Nov 22 16:16:36 7 read_smb_spool: Processing Samba spool...
Nov 22 16:16:36 6 write: Now working on task ID 302434: write Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 6 write: File changed: Foton/New2012/Mobilfoton/20120915_143027.jpg - 4.31MB
Nov 22 16:16:36 7 write: Will use source file: /var/hda/drives/drive2/gh/Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: Loading metafiles for Foton/New2012/Mobilfoton/20120915_143027.jpg ...
Nov 22 16:16:36 7 write: Got 2 metadata files: array ( '/var/hda/drives/drive2/gh/Foton/New2012/Mobilfoton/20120915_143027.jpg' => array ( 'path' => '/var/hda/drives/drive2/gh/Foton/New2012/Mobilfoton/20120915_143027.jpg', 'is_linked' => true, 'state' => 'OK', ), '/var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143027.jpg' => array ( 'path' => '/var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143027.jpg', 'is_linked' => false, 'state' => 'OK', ), )
Nov 22 16:16:36 7 write: Will remove copy at /var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: Moved copy from /var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143027.jpg to trash: /var/hda/drives/drive1/gh/.gh_trash/Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: Drives with available space: /var/hda/drives/drive2/gh (1.00TB avail) - /var/hda/drives/drive1/gh (1,021GB avail)
Nov 22 16:16:36 7 write: Saving 2 metadata files for Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: Saving metadata in /var/hda/drives/drive1/gh/.gh_metastore/Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: Saving metadata in /var/hda/drives/drive2/gh/.gh_metastore/Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: Copying 4.31MB file to /var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: Saving 2 metadata files for Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: Saving metadata in /var/hda/drives/drive1/gh/.gh_metastore/Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: Saving metadata in /var/hda/drives/drive2/gh/.gh_metastore/Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: File copy at /var/hda/drives/drive2/gh/Foton/New2012/Mobilfoton/20120915_143027.jpg is already up to date.
Nov 22 16:16:36 6 write: Now working on task ID 302435: write Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:36 6 write: File changed: Foton/New2012/Mobilfoton/20120915_143028.jpg - 4.31MB
Nov 22 16:16:36 7 write: Will use source file: /var/hda/drives/drive2/gh/Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:36 7 write: Loading metafiles for Foton/New2012/Mobilfoton/20120915_143028.jpg ...
Nov 22 16:16:36 7 write: Got 2 metadata files: array ( '/var/hda/drives/drive2/gh/Foton/New2012/Mobilfoton/20120915_143028.jpg' => array ( 'path' => '/var/hda/drives/drive2/gh/Foton/New2012/Mobilfoton/20120915_143028.jpg', 'is_linked' => true, 'state' => 'OK', ), '/var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143028.jpg' => array ( 'path' => '/var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143028.jpg', 'is_linked' => false, 'state' => 'OK', ), )
Nov 22 16:16:36 7 write: Will remove copy at /var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:36 7 write: Moved copy from /var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143028.jpg to trash: /var/hda/drives/drive1/gh/.gh_trash/Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:37 7 write: Drives with available space: /var/hda/drives/drive2/gh (1.00TB avail) - /var/hda/drives/drive1/gh (1,021GB avail)
Nov 22 16:16:37 7 write: Saving 2 metadata files for Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:37 7 write: Saving metadata in /var/hda/drives/drive1/gh/.gh_metastore/Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:37 7 write: Saving metadata in /var/hda/drives/drive2/gh/.gh_metastore/Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:37 7 write: Copying 4.31MB file to /var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:37 7 write: Saving 2 metadata files for Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:37 7 write: Saving metadata in /var/hda/drives/drive1/gh/.gh_metastore/Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:37 7 write: Saving metadata in /var/hda/drives/drive2/gh/.gh_metastore/Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:37 7 write: File copy at /var/hda/drives/drive2/gh/Foton/New2012/Mobilfoton/20120915_143028.jpg is already up to date.
Nov 22 16:16:37 7 sleep: Nothing to do... Sleeping.
Every time I just open an image on my HDA from my Win 7 64 bit computer through Windows Explorer, Greyhole considers the file changed and starts moving one copy of the file to trash, saving and copying etc.
Is this normal behavior? I don't like if Greyhole is doing a lot of unnecessary things every time I access a file. Using resources like disk access and cpu in vain (as it seems) and filling the trash.
The behavior can be seen in the following Greyhole log on Amahi Ubuntu. Note that I just open the image 20120915_143027.jpg to view the image in Windows Photo Viewer. I don't change the file. Not deliberately at least, maybe Windows Photo Viewer is changing some metadata like "last accessed" or something?:
Nov 22 16:16:05 7 sleep: Nothing to do... Sleeping.
Nov 22 16:16:15 7 read_smb_spool: Processing Samba spool...
Nov 22 16:16:15 7 read_smb_spool: Found 3 new tasks in spool.
Nov 22 16:16:15 7 simplify_tasks: Simplifying pending tasks.
Nov 22 16:16:16 7 sleep: Nothing to do... Sleeping.
Nov 22 16:16:26 7 sleep: Nothing to do... Sleeping.
Nov 22 16:16:36 7 read_smb_spool: Processing Samba spool...
Nov 22 16:16:36 6 write: Now working on task ID 302434: write Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 6 write: File changed: Foton/New2012/Mobilfoton/20120915_143027.jpg - 4.31MB
Nov 22 16:16:36 7 write: Will use source file: /var/hda/drives/drive2/gh/Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: Loading metafiles for Foton/New2012/Mobilfoton/20120915_143027.jpg ...
Nov 22 16:16:36 7 write: Got 2 metadata files: array ( '/var/hda/drives/drive2/gh/Foton/New2012/Mobilfoton/20120915_143027.jpg' => array ( 'path' => '/var/hda/drives/drive2/gh/Foton/New2012/Mobilfoton/20120915_143027.jpg', 'is_linked' => true, 'state' => 'OK', ), '/var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143027.jpg' => array ( 'path' => '/var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143027.jpg', 'is_linked' => false, 'state' => 'OK', ), )
Nov 22 16:16:36 7 write: Will remove copy at /var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: Moved copy from /var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143027.jpg to trash: /var/hda/drives/drive1/gh/.gh_trash/Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: Drives with available space: /var/hda/drives/drive2/gh (1.00TB avail) - /var/hda/drives/drive1/gh (1,021GB avail)
Nov 22 16:16:36 7 write: Saving 2 metadata files for Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: Saving metadata in /var/hda/drives/drive1/gh/.gh_metastore/Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: Saving metadata in /var/hda/drives/drive2/gh/.gh_metastore/Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: Copying 4.31MB file to /var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: Saving 2 metadata files for Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: Saving metadata in /var/hda/drives/drive1/gh/.gh_metastore/Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: Saving metadata in /var/hda/drives/drive2/gh/.gh_metastore/Foton/New2012/Mobilfoton/20120915_143027.jpg
Nov 22 16:16:36 7 write: File copy at /var/hda/drives/drive2/gh/Foton/New2012/Mobilfoton/20120915_143027.jpg is already up to date.
Nov 22 16:16:36 6 write: Now working on task ID 302435: write Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:36 6 write: File changed: Foton/New2012/Mobilfoton/20120915_143028.jpg - 4.31MB
Nov 22 16:16:36 7 write: Will use source file: /var/hda/drives/drive2/gh/Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:36 7 write: Loading metafiles for Foton/New2012/Mobilfoton/20120915_143028.jpg ...
Nov 22 16:16:36 7 write: Got 2 metadata files: array ( '/var/hda/drives/drive2/gh/Foton/New2012/Mobilfoton/20120915_143028.jpg' => array ( 'path' => '/var/hda/drives/drive2/gh/Foton/New2012/Mobilfoton/20120915_143028.jpg', 'is_linked' => true, 'state' => 'OK', ), '/var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143028.jpg' => array ( 'path' => '/var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143028.jpg', 'is_linked' => false, 'state' => 'OK', ), )
Nov 22 16:16:36 7 write: Will remove copy at /var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:36 7 write: Moved copy from /var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143028.jpg to trash: /var/hda/drives/drive1/gh/.gh_trash/Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:37 7 write: Drives with available space: /var/hda/drives/drive2/gh (1.00TB avail) - /var/hda/drives/drive1/gh (1,021GB avail)
Nov 22 16:16:37 7 write: Saving 2 metadata files for Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:37 7 write: Saving metadata in /var/hda/drives/drive1/gh/.gh_metastore/Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:37 7 write: Saving metadata in /var/hda/drives/drive2/gh/.gh_metastore/Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:37 7 write: Copying 4.31MB file to /var/hda/drives/drive1/gh/Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:37 7 write: Saving 2 metadata files for Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:37 7 write: Saving metadata in /var/hda/drives/drive1/gh/.gh_metastore/Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:37 7 write: Saving metadata in /var/hda/drives/drive2/gh/.gh_metastore/Foton/New2012/Mobilfoton/20120915_143028.jpg
Nov 22 16:16:37 7 write: File copy at /var/hda/drives/drive2/gh/Foton/New2012/Mobilfoton/20120915_143028.jpg is already up to date.
Nov 22 16:16:37 7 sleep: Nothing to do... Sleeping.