Files "missing" after rename

techlife
Posts: 63
Joined: Sat Dec 18, 2010 3:26 pm

Files "missing" after rename

Postby techlife » Sun Jan 09, 2011 10:45 am

After renaming a file this morning, it disappeared. This happened 13 times in a row actually. I noticed it after I renamed the first (that it vanished) but I figured it would reappear after a few seconds or after refreshing the folder view. Well, after even a reboot of the client, they are still missing. I say missing because I don't think they are actually gone.

An example:
\\HDA\Music\Add to iTunes\Dave Matthews Band\Big Whiskey And The GrooGrux King (Super\1-13 You & Me.mp3

renamed (from an explorer window on a W7 client)

\\HDA\Music\Add to iTunes\Dave Matthews Band\Big Whiskey And The GrooGrux King (Super\13 You & Me.mp3

This was done with tracks 1~13 and they are all missing. Please note this is NOT the "Automatically Add to iTunes" directory. It is a pile of music that I need to add to iTunes. I should also note this isn't a big deal...as it turns out I had a higher bitrate copy of these tracks that I added so I really don't need these files but I would like to get to the bottom of this. It makes me a little nervous as I am about to pull the drives from my old WHS and add them to this server for folder duplication so I won't have anything to fall back on if something happens to "disappear into the greyhole". LOL

EDIT: I have renamed several files in other directories since and haven't had any issue. In looking more in what I see below (though I really don't know what I'm looking at) I think there is a good possibility this happened as a result of the directory name. The directory name was truncated at some point in time so that it now includes an "(" but not an ")"

EDIT: I'm not sure how accurate that assessment is...please see the next post.

Code: Select all

# greyhole --debug "13 You & Me.mp3" Debugging file operations for file named "/13 You & Me.mp3" From DB ======= [2011-01-09 09:34:53] Task ID 885984: rename Music/Add to iTunes/Dave Matthews Band/Big Whiskey And The GrooGrux King (Super/1-13 You & Me.mp3 -> Music/Add to iTunes/Dave Matthews Band/Big Whiskey And The GrooGrux King (Super/13 You & Me.mp3 [2011-01-09 09:34:53] Task ID 885985: write Music/Add to iTunes/Dave Matthews Band/Big Whiskey And The GrooGrux King (Super/13 You & Me.mp3 [2011-01-09 09:34:55] Task ID 885988: rename Music/Add to iTunes/Dave Matthews Band/Big Whiskey And The GrooGrux King (Super/1-13 You & Me.mp3 -> Music/Add to iTunes/Dave Matthews Band/Big Whiskey And The GrooGrux King (Super/13 You & Me.mp3 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 \( 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: lrwxrwxrwx 1 root root 127 2011-01-09 10:26 /var/hda/files/music/Add to iTunes/Dave Matthews Band/Big Whiskey And The GrooGrux King (Super/13 You & Me.mp3 -> /var/hda/files/drives/drive3/gh/Music/Add to iTunes/Dave Matthews Band/Big Whiskey And The GrooGrux King (Super/13 You & Me.mp3 Graveyard: -rw-rw-rw- 1 root root 349 2011-01-09 10:26 /var/hda/files/drives/drive3/gh/.gh_graveyard/Music/Add to iTunes/Dave Matthews Band/Big Whiskey And The GrooGrux King (Super/13 You & Me.mp3 array ( '/var/hda/files/drives/drive3/gh/Music/Add to iTunes/Dave Matthews Band/Big Whiskey And The GrooGrux King (Super/13 You & Me.mp3' => stdClass::__set_state(array( 'path' => '/var/hda/files/drives/drive3/gh/Music/Add to iTunes/Dave Matthews Band/Big Whiskey And The GrooGrux King (Super/13 You & Me.mp3', 'is_linked' => true, 'state' => 'OK', )), ) File copies:
And the other info:

Code: Select all

# uname -r; rpm -q samba hda-greyhole 2.6.32.26-175.fc12.x86_64 samba-3.4.9-60.fc12.x86_64 hda-greyhole-0.8.3-2.x86_64

Code: Select all

# fpaste /etc/samba/smb.conf; fpaste /etc/greyhole.conf Uploading (4.4K)... http://fpaste.org/JzC1/ Uploading (1.5K)... http://fpaste.org/yT9Z/

Code: Select all

# mount; fdisk -l; df -h; greyhole --stats /dev/mapper/vg_xavier-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/sdb1 on /boot type ext4 (rw) /dev/sde1 on /var/hda/files/drives/drive1 type ext4 (rw) /dev/sdc1 on /var/hda/files/drives/drive2 type ext4 (rw) /dev/sda1 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) gvfs-fuse-daemon on /home/bigdaddy/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=bigdaddy) Disk /dev/sda: 1500.3 GB, 1500301910016 bytes 255 heads, 63 sectors/track, 182401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000e7bc0 Device Boot Start End Blocks Id System /dev/sda1 1 182402 1465137152 83 Linux Disk /dev/sdc: 1000.2 GB, 1000200658432 bytes 255 heads, 63 sectors/track, 121600 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x9d994cdf Device Boot Start End Blocks Id System /dev/sdc1 1 121601 976756736 83 Linux Disk /dev/sdb: 320.1 GB, 320071851520 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xcb8bc459 Device Boot Start End Blocks Id System /dev/sdb1 * 1 26 204800 83 Linux Partition 1 does not end on cylinder boundary. /dev/sdb2 26 38913 312363841 8e Linux LVM Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0002c68f Device Boot Start End Blocks Id System /dev/sdd1 1 243202 1953513472 83 Linux Disk /dev/sde: 1500.3 GB, 1500297682432 bytes 255 heads, 63 sectors/track, 182400 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0006196a Device Boot Start End Blocks Id System /dev/sde1 1 182401 1465133056 83 Linux Disk /dev/dm-0: 311.4 GB, 311435460608 bytes 255 heads, 63 sectors/track, 37863 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: 8422 MB, 8422162432 bytes 255 heads, 63 sectors/track, 1023 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-1 doesn't contain a valid partition table Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_xavier-lv_root 286G 53G 219G 20% / tmpfs 3.0G 888K 3.0G 1% /dev/shm /dev/sdb1 194M 40M 144M 22% /boot /dev/sde1 1.4T 1.2T 126G 91% /var/hda/files/drives/drive1 /dev/sdc1 917G 774G 98G 89% /var/hda/files/drives/drive2 /dev/sda1 1.4T 1.2T 112G 92% /var/hda/files/drives/drive3 /dev/sdd1 1.8T 1.5T 304G 83% /var/hda/files/drives/drive4 Greyhole Statistics =================== Storage Pool Total - Used = Free + Attic = Possible /var/hda/files/drives/drive1/gh: 1375G - 1180G = 125G + 7G = 132G /var/hda/files/drives/drive2/gh: 917G - 773G = 97G + 6G = 103G /var/hda/files/drives/drive3/gh: 1375G - 1194G = 111G + 10G = 121G /var/hda/files/drives/drive4/gh: 1834G - 1437G = 303G + 12G = 315G

Code: Select all

# 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/drive1 | 10 | 2010-12-27 00:16:44 | 2010-12-27 00:16:44 | | 2 | /var/hda/files/drives/drive2 | 10 | 2010-12-27 21:49:01 | 2010-12-27 21:49:01 | | 3 | /var/hda/files/drives/drive3 | 10 | 2010-12-27 23:03:52 | 2010-12-27 23:03:52 | | 4 | /var/hda/files/drives/drive4 | 10 | 2011-01-06 01:31:42 | 2011-01-06 01:31:42 | +----+------------------------------+--------------+---------------------+---------------------+

Code: Select all

# mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" hda_production | grep -v 'concat(' | xargs ls -la | fpaste Uploading (2.8K)... http://fpaste.org/aifn/

Code: Select all

# 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 Bluray 0 0 0 Documents 0 0 0 DVD 0 0 0 Music 0 0 0 Pictures 0 0 0 Software 0 0 0 TV 0 0 0 Videos 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

techlife
Posts: 63
Joined: Sat Dec 18, 2010 3:26 pm

Re: Files "missing" after rename

Postby techlife » Sun Jan 09, 2011 10:49 pm

It happened again. There was nothing funky that I can see with the directory this time either. It happened to 4 files in the directory before I noticed and stopped. Fortunately I still had the backup...

Ex: "04 Lithium 3.m4a" renamed to "04 Lithium.m4a"

Code: Select all

# greyhole --debug "04 Lithium.m4a" Debugging file operations for file named "/04 Lithium.m4a" From DB ======= [2010-12-28 11:05:49] Task ID 54772: rename Documents/FSP3FBC27CC2F8F4CF989F156B40198457E.tmp -> Documents/Sort/External/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a [2010-12-28 11:05:49] Task ID 54773: write Documents/Sort/External/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a [2010-12-28 16:50:02] Task ID 271499: rename Documents/FSP6A8D7BA6EFF147908BDE5A946C364D0A.tmp -> Documents/Sort/Old Server Backup/2010-07-11_1136/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a [2010-12-28 16:50:02] Task ID 271500: write Documents/Sort/Old Server Backup/2010-07-11_1136/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a [2010-12-29 01:40:29] Task ID 507038: rename Documents/FSPFEE2AA4D6E7B4A83B004ACC79111591E.tmp -> Documents/Sort/Old Server Backup/2010-07-11_1254/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a [2010-12-29 01:40:29] Task ID 507039: write Documents/Sort/Old Server Backup/2010-07-11_1254/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a [2011-01-01 10:36:55] Task ID 855450: write Documents/Sort/External/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a [2011-01-01 10:36:55] Task ID 855451: write Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a [2011-01-01 10:36:58] Task ID 855452: unlink Documents/Sort/External/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a [2011-01-09 22:23:44] Task ID 894351: write Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a [2011-01-09 22:24:05] Task ID 894366: unlink Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a [2011-01-09 22:24:16] Task ID 894391: rename Music/Add to iTunes/Evanescence/The Open Door/04 Lithium 3.m4a -> Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a From logs ========= Jan 6 19:04:45 7 fsck: Loading tombstones for Music/Add to iTunes/Evanescence/The Open Door/01 Sweet Sacrifice 2.m4a... Got 1 tombstones. Jan 6 19:04:45 7 fsck: Found /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium 3.m4a Jan 6 19:04:45 7 fsck: Loading tombstones for Music/Add to iTunes/Evanescence/The Open Door/04 Lithium 3.m4a... Got 1 tombstones. Jan 6 19:04:45 7 fsck: Found /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/13 Good Enough 2.m4a -- Jan 6 19:04:45 7 fsck: Loading tombstones for Music/Add to iTunes/Evanescence/The Open Door/11 Your Star 3.m4a... Got 1 tombstones. Jan 6 19:04:45 7 fsck: Found /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 6 19:04:45 7 fsck: Loading tombstones for Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a... Got 1 tombstones. Jan 6 19:04:45 7 fsck: Found /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/12 All That I'm Living For 2.m4a -- Jan 6 19:12:10 7 fsck: Loading tombstones for Documents/Sort/Old Server Backup/2010-07-11_1136/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/03 Weight of the World.m4a... Got 1 tombstones. Jan 6 19:12:10 7 fsck: Found /var/hda/files/drives/drive3/gh/Documents/Sort/Old Server Backup/2010-07-11_1136/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a Jan 6 19:12:10 7 fsck: Loading tombstones for Documents/Sort/Old Server Backup/2010-07-11_1136/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a... Got 1 tombstones. Jan 6 19:12:10 7 fsck: Found /var/hda/files/drives/drive1/gh/Documents/Sort/Old Server Backup/2010-07-11_1136/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/09 Lose Control.m4a -- Jan 6 19:15:40 7 fsck: Loading tombstones for Documents/Sort/Old Server Backup/2010-07-11_1254/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/03 Weight of the World.m4a... Got 1 tombstones. Jan 6 19:15:40 7 fsck: Found /var/hda/files/drives/drive3/gh/Documents/Sort/Old Server Backup/2010-07-11_1254/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a Jan 6 19:15:40 7 fsck: Loading tombstones for Documents/Sort/Old Server Backup/2010-07-11_1254/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a... Got 1 tombstones. Jan 6 19:15:40 7 fsck: Found /var/hda/files/drives/drive3/gh/Documents/Sort/Old Server Backup/2010-07-11_1254/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/09 Lose Control.m4a Jan 8 02:45:38 7 fsck: Loading tombstones for Music/Add to iTunes/Evanescence/The Open Door/01 Sweet Sacrifice 2.m4a... Got 1 tombstones. Jan 8 02:45:38 7 fsck: Found /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium 3.m4a Jan 8 02:45:38 7 fsck: Loading tombstones for Music/Add to iTunes/Evanescence/The Open Door/04 Lithium 3.m4a... Got 1 tombstones. Jan 8 02:45:38 7 fsck: Found /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/13 Good Enough 2.m4a -- Jan 8 02:45:38 7 fsck: Loading tombstones for Music/Add to iTunes/Evanescence/The Open Door/11 Your Star 3.m4a... Got 1 tombstones. Jan 8 02:45:38 7 fsck: Found /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 8 02:45:38 7 fsck: Loading tombstones for Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a... Got 1 tombstones. Jan 8 02:45:38 7 fsck: Found /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/12 All That I'm Living For 2.m4a -- Jan 8 02:51:41 7 fsck: Loading tombstones for Documents/Sort/Old Server Backup/2010-07-11_1136/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/03 Weight of the World.m4a... Got 1 tombstones. Jan 8 02:51:41 7 fsck: Found /var/hda/files/drives/drive3/gh/Documents/Sort/Old Server Backup/2010-07-11_1136/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a Jan 8 02:51:41 7 fsck: Loading tombstones for Documents/Sort/Old Server Backup/2010-07-11_1136/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a... Got 1 tombstones. Jan 8 02:51:41 7 fsck: Found /var/hda/files/drives/drive1/gh/Documents/Sort/Old Server Backup/2010-07-11_1136/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/09 Lose Control.m4a -- Jan 8 02:54:54 7 fsck: Loading tombstones for Documents/Sort/Old Server Backup/2010-07-11_1254/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/03 Weight of the World.m4a... Got 1 tombstones. Jan 8 02:54:54 7 fsck: Found /var/hda/files/drives/drive3/gh/Documents/Sort/Old Server Backup/2010-07-11_1254/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a Jan 8 02:54:54 7 fsck: Loading tombstones for Documents/Sort/Old Server Backup/2010-07-11_1254/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a... Got 1 tombstones. Jan 8 02:54:54 7 fsck: Found /var/hda/files/drives/drive3/gh/Documents/Sort/Old Server Backup/2010-07-11_1254/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/09 Lose Control.m4a Jan 9 03:42:20 7 fsck: Loading tombstones for Music/Add to iTunes/Evanescence/The Open Door/01 Sweet Sacrifice 2.m4a... Got 1 tombstones. Jan 9 03:42:20 7 fsck: Found /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium 3.m4a Jan 9 03:42:20 7 fsck: Loading tombstones for Music/Add to iTunes/Evanescence/The Open Door/04 Lithium 3.m4a... Got 1 tombstones. Jan 9 03:42:20 7 fsck: Found /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/13 Good Enough 2.m4a -- Jan 9 03:42:20 7 fsck: Loading tombstones for Music/Add to iTunes/Evanescence/The Open Door/11 Your Star 3.m4a... Got 1 tombstones. Jan 9 03:42:20 7 fsck: Found /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 9 03:42:20 7 fsck: Loading tombstones for Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a... Got 1 tombstones. Jan 9 03:42:20 7 fsck: Found /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/12 All That I'm Living For 2.m4a -- Jan 9 03:47:58 7 fsck: Loading tombstones for Documents/Sort/Old Server Backup/2010-07-11_1136/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/03 Weight of the World.m4a... Got 1 tombstones. Jan 9 03:47:58 7 fsck: Found /var/hda/files/drives/drive3/gh/Documents/Sort/Old Server Backup/2010-07-11_1136/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a Jan 9 03:47:58 7 fsck: Loading tombstones for Documents/Sort/Old Server Backup/2010-07-11_1136/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a... Got 1 tombstones. Jan 9 03:47:58 7 fsck: Found /var/hda/files/drives/drive1/gh/Documents/Sort/Old Server Backup/2010-07-11_1136/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/09 Lose Control.m4a -- Jan 9 03:51:01 7 fsck: Loading tombstones for Documents/Sort/Old Server Backup/2010-07-11_1254/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/03 Weight of the World.m4a... Got 1 tombstones. Jan 9 03:51:01 7 fsck: Found /var/hda/files/drives/drive3/gh/Documents/Sort/Old Server Backup/2010-07-11_1254/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a Jan 9 03:51:01 7 fsck: Loading tombstones for Documents/Sort/Old Server Backup/2010-07-11_1254/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/04 Lithium.m4a... Got 1 tombstones. Jan 9 03:51:01 7 fsck: Found /var/hda/files/drives/drive3/gh/Documents/Sort/Old Server Backup/2010-07-11_1254/shares/Personal Archive/Favor's Drive Complete/Documents and Settings/Owner/My Documents/My Music/iTunes/iTunes Music/Evanescence/The Open Door/09 Lose Control.m4a -- Jan 9 22:23:55 7 check_pool: SELECT * FROM tasks WHERE complete = 'yes' AND share = 'Music' AND action IN ('write','rename','unlink') AND full_path = 'Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a' AND id > 894351 ORDER BY id Jan 9 22:23:55 7 check_pool: Found no more upcoming tasks for Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a after write task (ID 894351) Jan 9 22:23:55 7 write: Now working on task ID 894351: write Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 9 22:23:55 6 write: File changed: Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a - 28.1MB Jan 9 22:23:55 7 write: Will use source file: /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 9 22:23:55 7 write: Loading tombstones for Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a... Got 1 tombstones. Jan 9 22:23:55 7 write: Saving 1 tombstones for Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 9 22:23:55 7 write: Saving tombstones in /var/hda/files/drives/drive1/gh/.gh_graveyard/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 9 22:23:55 7 write: Saving tombstones (backup) in /var/hda/files/drives/drive2/gh/.gh_graveyard_backup/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 9 22:23:55 7 write: File copy at /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a is already up to date. Jan 9 22:23:55 7 check_pool: SELECT * FROM tasks WHERE complete = 'yes' AND share = 'Music' AND action IN ('write','rename','unlink') AND full_path = 'Add to iTunes/Evanescence/The Open Door/05 Cloud Nine 2.m4a' AND id > 894352 ORDER BY id -- Jan 9 22:24:05 7 check_pool: SELECT * FROM tasks WHERE complete = 'yes' AND share = 'Music' AND action IN ('write','rename','unlink') AND full_path = 'Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a' AND id > 894366 ORDER BY id Jan 9 22:24:05 7 check_pool: Found no more upcoming tasks for Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a after unlink task (ID 894366) Jan 9 22:24:05 7 unlink: Now working on task ID 894366: unlink Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 9 22:24:05 6 unlink: File deleted: /var/hda/files/music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 9 22:24:05 7 unlink: Loading tombstones for Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a... Got 1 tombstones. Jan 9 22:24:05 7 unlink: Moved copy from /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a to attic: /var/hda/files/drives/drive1/gh/.gh_attic/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 9 22:24:05 7 unlink: Removing tombstones for Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 9 22:24:05 7 unlink: Removed tombstone at /var/hda/files/drives/drive1/gh/.gh_graveyard/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 9 22:24:05 7 unlink: Removed tombstone at /var/hda/files/drives/drive2/gh/.gh_graveyard_backup/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 9 22:24:05 7 check_pool: SELECT * FROM tasks WHERE complete = 'yes' AND share = 'Music' AND action IN ('write','rename','unlink') AND full_path = 'Add to iTunes/Evanescence/The Open Door/05 Cloud Nine 2.m4a' AND id > 894367 ORDER BY id -- Jan 9 22:24:16 7 check_pool: SELECT * FROM tasks WHERE complete = 'yes' AND share = 'Music' AND action IN ('write','rename','unlink') AND full_path = 'Add to iTunes/Evanescence/The Open Door/04 Lithium 3.m4a' AND id > 894390 ORDER BY id Jan 9 22:24:16 7 check_pool: Found an upcoming task for Music/Add to iTunes/Evanescence/The Open Door/04 Lithium 3.m4a after write task (ID 894390): rename > Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a (ID 894391) Jan 9 22:24:16 7 check_pool: DELETE FROM tasks WHERE id = 894390 Jan 9 22:24:16 7 check_pool: SELECT * FROM tasks WHERE complete = 'yes' AND share = 'Music' AND action IN ('write','rename','unlink') AND full_path = 'Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a' AND id > 894391 ORDER BY id Jan 9 22:24:16 7 check_pool: Found no more upcoming tasks for Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a after rename task (ID 894391) Jan 9 22:24:16 7 check_pool: SELECT * FROM tasks WHERE complete = 'yes' AND share = 'Music' AND action IN ('write','rename','unlink') AND full_path = 'Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a' AND id > 894391 ORDER BY id Jan 9 22:24:16 7 check_pool: Found no more upcoming tasks for Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a after rename task (ID 894391) Jan 9 22:24:16 7 rename: Now working on task ID 894391: rename Music/Add to iTunes/Evanescence/The Open Door/04 Lithium 3.m4a -> Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 9 22:24:16 6 rename: File renamed: /var/hda/files/music/Add to iTunes/Evanescence/The Open Door/04 Lithium 3.m4a -> /var/hda/files/music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 9 22:24:16 7 rename: Loading tombstones for Music/Add to iTunes/Evanescence/The Open Door/04 Lithium 3.m4a... Got 1 tombstones. Jan 9 22:24:16 7 rename: Loading tombstones for Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a... Got 0 tombstones. Jan 9 22:24:16 7 rename: Renaming copy at /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium 3.m4a to /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 9 22:24:16 4 rename: PHP Warning [2]: rename(/var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium 3.m4a,/var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a): No such file or directory in /usr/bin/greyhole on line 1481 Jan 9 22:24:16 4 rename: Warning! An error occured while renaming file copy /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium 3.m4a to /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a. Jan 9 22:24:16 7 rename: Updating symlink at /var/hda/files/music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a to point to /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 9 22:24:16 7 rename: Removing tombstones for Music/Add to iTunes/Evanescence/The Open Door/04 Lithium 3.m4a Jan 9 22:24:16 7 rename: Removed tombstone at /var/hda/files/drives/drive1/gh/.gh_graveyard/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium 3.m4a Jan 9 22:24:16 7 rename: Removed tombstone at /var/hda/files/drives/drive2/gh/.gh_graveyard_backup/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium 3.m4a Jan 9 22:24:16 7 rename: Saving 1 tombstones for Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 9 22:24:16 7 rename: Saving tombstones in /var/hda/files/drives/drive1/gh/.gh_graveyard/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 9 22:24:16 7 rename: Saving tombstones (backup) in /var/hda/files/drives/drive2/gh/.gh_graveyard_backup/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Jan 9 22:24:16 7 check_pool: SELECT * FROM tasks WHERE complete = 'yes' AND share = 'Music' AND action IN ('write','rename','unlink') AND full_path = 'Add to iTunes/Evanescence/The Open Door/05 Cloud Nine 3.m4a' AND id > 894392 ORDER BY id From filesystem =============== Landing Zone: lrwxrwxrwx 1 root root 92 2011-01-09 22:24 /var/hda/files/music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a -> /var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a Graveyard: -rw-rw-rw- 1 root root 181 2011-01-09 22:24 /var/hda/files/drives/drive1/gh/.gh_graveyard/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a array ( 0 => stdClass::__set_state(array( 'path' => '/var/hda/files/drives/drive1/gh/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a', 'is_linked' => true, 'state' => 'OK', )), ) File copies:

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Files "missing" after rename

Postby gboudreau » Tue Jan 18, 2011 7:30 pm

This is a know bug in Greyhole itself.
Renames, when executed too soon after other file operations affecting the same file / directories, could cause such disappearing files.
You'll probably see your files in your look in the attic. For example, for your latest debug output, the disappeared file would be there: /var/hda/files/drives/drive1/gh/.gh_attic/Music/Add to iTunes/Evanescence/The Open Door/04 Lithium.m4a

This issue has been fixed recently in Greyhole's codebase, but there hasn't been a release that include the changes yet, since it's been too soon since the changes were made.

Until your Greyhole (hda-greyhole) package gets updated to a new version, you can mitigate this issue by waiting a while (until greyhole sleeps in /var/log/greyhole.log) before renaming files that you played with recently.
i.e. allow GH the time to process the latest changes you made before you make more changes.
- Guillaume Boudreau

Who is online

Users browsing this forum: No registered users and 25 guests