5b14 - Mover moving, but not cleaning up


Recommended Posts

The mover is not moving files of my cache drive or is copying and leaving files on the cache drive.

 

- Log on to the server using telnet, use root or SU to root after logging in;

- go to /mnt

 

Do you see a directory called "USER0" ?

If not: you need to reboot your system.

 

If yes:

 

- issue the following commands:

 

chgrp -R users cache

chown -R nobody cache

chmod -R 770 cache

 

- Log off from telnet

- Try the mover again

Link to comment

Okay... As far I can see your files are indeed copied off the cache drive but remain there for some reason.. Your syslog is full with messages from the mover:

 

Nov 18 19:50:06 HAL_9000 logger: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1042) [sender=3.0.7]
Nov 18 19:50:06 HAL_9000 logger: ./Video_Library/Media Center - TV Series/Grimm/.AppleDouble/Grimm.S02E12.Season.of.the.Hexenbiest.mkv
Nov 18 19:50:06 HAL_9000 logger: rsync: get_xattr_data: lgetxattr(".","user.org.netatalk.supports-eas.Li7wKT",0) failed: Exec format error (
Nov 18 19:50:06 HAL_9000 logger: rsync: get_xattr_data: lgetxattr("Video_Library","user.org.netatalk.supports-eas.9yY58I",0) failed: Exec format error (
Nov 18 19:50:06 HAL_9000 logger: .d..t...... Video_Library/Media Center - TV Series/
Nov 18 19:50:06 HAL_9000 logger: .d..t...... Video_Library/Media Center - TV Series/Grimm/
Nov 18 19:50:06 HAL_9000 logger: >f...p..... Video_Library/Media Center - TV Series/Grimm/.AppleDouble/Grimm.S02E12.Season.of.the.Hexenbiest.mkv
Nov 18 19:50:07 HAL_9000 logger: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1042) [sender=3.0.7]
Nov 18 19:50:07 HAL_9000 logger: ./Video_Library/Media Center - TV Series/Grimm/.AppleDouble/.Parent

 

Since you reset rights as described in my previous post and that did not work I suspect something specific to the AppleTalk protocol, and I am sorry to say I do not know anything about that..

Link to comment

Seems the only way I can clean this up is to turn off caching and delete the files on the cache drive, then restart caching.  It works for the files on hand, but when more files are deposited on the cache drive, then moved, same issue.

 

Help appreciated from the Appletalk gurus.

 

Thanks,

 

SH

 

here is the syslog when mover starts.

 

Nov 21 03:40:01 HAL_9000 logger: mover started
Nov 21 03:40:01 HAL_9000 logger: moving Audio_Library/
Nov 21 03:40:01 HAL_9000 logger: ./Audio_Library/.AppleDouble/.Parent
Nov 21 03:40:01 HAL_9000 logger: rsync: get_xattr_data: lgetxattr(".","user.org.netatalk.supports-eas.Li7wKT",0) failed: Exec format error ( (Errors)
Nov 21 03:40:01 HAL_9000 logger: .d..t.....x Audio_Library/
Nov 21 03:40:01 HAL_9000 logger: >f..t...... Audio_Library/.AppleDouble/.Parent
Nov 21 03:40:10 HAL_9000 logger: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1042) [sender=3.0.7] (Errors)
Nov 21 03:40:10 HAL_9000 logger: ./Audio_Library/Library/.AppleDouble/iTunes Library.xml
Nov 21 03:40:10 HAL_9000 logger: rsync: get_xattr_data: lgetxattr(".","user.org.netatalk.supports-eas.Li7wKT",0) failed: Exec format error ( (Errors)
Nov 21 03:40:10 HAL_9000 logger: .d........x Audio_Library/
Nov 21 03:40:10 HAL_9000 logger: .d..t...... Audio_Library/Library/
Nov 21 03:40:10 HAL_9000 logger: .d..t...... Audio_Library/Library/.AppleDouble/
Nov 21 03:40:10 HAL_9000 logger: >f..t...... Audio_Library/Library/.AppleDouble/iTunes Library.xml
Nov 21 03:40:11 HAL_9000 logger: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1042) [sender=3.0.7] (Errors)
Nov 21 03:40:11 HAL_9000 logger: ./Audio_Library/Library/.AppleDouble/.Parent
Nov 21 03:40:11 HAL_9000 logger: rsync: get_xattr_data: lgetxattr(".","user.org.netatalk.supports-eas.Li7wKT",0) failed: Exec format error ( (Errors)
Nov 21 03:40:11 HAL_9000 logger: .d........x Audio_Library/
Nov 21 03:40:11 HAL_9000 logger: >f..t...... Audio_Library/Library/.AppleDouble/.Parent
Nov 21 03:40:11 HAL_9000 logger: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1042) [sender=3.0.7] (Errors)
Nov 21 03:40:11 HAL_9000 logger: ./Audio_Library/Library/Music/The Rolling Stones/.AppleDouble/.Parent
Nov 21 03:40:11 HAL_9000 logger: rsync: get_xattr_data: lgetxattr(".","user.org.netatalk.supports-eas.Li7wKT",0) failed: Exec format error ( (Errors)
Nov 21 03:40:11 HAL_9000 logger: .d........x Audio_Library/
Nov 21 03:40:11 HAL_9000 logger: >f......... Audio_Library/Library/Music/The Rolling Stones/.AppleDouble/.Parent
Nov 21 03:40:11 HAL_9000 logger: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1042) [sender=3.0.7] (Errors)
Nov 21 03:40:11 HAL_9000 logger: ./Audio_Library/Library/Music/The Rolling Stones/Grrr!/3-13 Love Is Strong.mp3
Nov 21 03:40:11 HAL_9000 logger: rsync: get_xattr_data: lgetxattr(".","user.org.netatalk.supports-eas.Li7wKT",0) failed: Exec format error ( (Errors)
Nov 21 03:40:11 HAL_9000 logger: .d........x Audio_Library/
Nov 21 03:40:11 HAL_9000 logger: >f......... Audio_Library/Library/Music/The Rolling Stones/Grrr!/3-13 Love Is Strong.mp3
Nov 21 03:40:11 HAL_9000 logger: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1042) [sender=3.0.7] (Errors)

 

 

Later in the syslog - duplicates that are not cleaned up.

Nov 21 06:58:13 HAL_9000 kernel: mdcmd (1327): spindown 0 (Routine)
Nov 21 06:58:14 HAL_9000 kernel: mdcmd (1328): spindown 5 (Routine)
Nov 21 07:02:25 HAL_9000 shfs/user: duplicate object: /mnt/disk4/Audio_Library/Library/Music/The Rolling Stones/Grrr!/3-13 Love Is Strong.mp3 (Minor Issues)
Nov 21 07:02:25 HAL_9000 shfs/user: duplicate object: /mnt/disk4/Audio_Library/Library/Music/The Rolling Stones/Grrr!/3-01 Miss You.mp3 (Minor Issues)

Link to comment

I'm running into the same issue as well. I've ran reiserfsck and SMART checks on all my drives and they all seem normal. I've also deleted all of the .AppleDB, .AppleDouble, and .AppleDesktop files on my drives. But I'm still getting errors with mover and my cache drive. The files get copied over and correct folders get created, however, they simply do not get deleted from the cache drive.

 

If we can't fix this, is there a way to modify mover to forcefully delete the files on the cache drive if they were moved (hacky but will get us what we want)?

 

I've also attached my syslog.

syslog.txt

Link to comment
  • 4 months later...

@ShanHangin & @oov

 

You have corrupted/damaged extended attributes.

 

Run the following command:

 

getfattr -d /mnt/user0/%name of your share%

 

See if you have any entries come back with "user.org.netatalk.supports-eas.%%%%%%: Exec format er"

 

or post your results.

Link to comment
  • 2 months later...

Sorry for digging up a bit of an old thread but im having this problem.

 

When i run getfattr -d /mnt/user0/ i get this as a reply.

 

/mnt/user0/: user.org.netatalk.supports-eas.8zx5HS: Exec format error
/mnt/user0/: user.org.netatalk.supports-eas.JCsmSd: Exec format error
/mnt/user0/: user.org.netatalk.supports-eas.kK8L4B: Exec format error
/mnt/user0/: user.org.netatalk.supports-eas.obOnsR: Exec format error
/mnt/user0/: user.org.netatalk.supports-eas.sg3qQ5: Exec format error
/mnt/user0/: user.org.netatalk.supports-eas.vaj6PS: Exec format error

 

Would really like to get the cache drive working properly, so any help would be great.

 

Cheers

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.