AFP TimeMachine share spinning up every 30 minutes


Recommended Posts

Been trying to work out how to prevent this.

I have a time machine share set up and confined to a single disk.

Nothing else is on that disk.

 

If I do not connect my laptop to the server, it spins down as normal.

However, once I connect my laptop the disk will spin up every ~30 minutes or so, even after the laptop is powered off/wifi turned off.

inotify says the file being accessed is:

/mnt/disk9/TimeCapsule/.AppleDB/ MODIFY __db.002

 

lsof lists the files open on that drive as all being open under shfs:

shfs      2139        root    4u      REG                9,9        0        11 /mnt/disk9/TimeCapsule/.AppleDB/lock

shfs      2139        root    5w      REG                9,9    2379        12 /mnt/disk9/TimeCapsule/.AppleDB/db_errlog

shfs      2139        root    7w      REG                9,9    2379        12 /mnt/disk9/TimeCapsule/.AppleDB/db_errlog

shfs      2139        root    8u      REG                9,9  3653632        14 /mnt/disk9/TimeCapsule/.AppleDB/__db.002

shfs      2139        root    9u      REG                9,9    24576        13 /mnt/disk9/TimeCapsule/.AppleDB/__db.001

shfs      2139        root  10u      REG                9,9 10493952        15 /mnt/disk9/TimeCapsule/.AppleDB/__db.003

shfs      2139        root  11u      REG                9,9  163840        16 /mnt/disk9/TimeCapsule/.AppleDB/__db.004

shfs      2139        root  12u      REG                9,9 12337152        17 /mnt/disk9/TimeCapsule/.AppleDB/__db.005

shfs      2139        root  13u      REG                9,9    49152        18 /mnt/disk9/TimeCapsule/.AppleDB/__db.006

shfs      2139        root  14u      REG                9,9 10485760      76101 /mnt/disk9/TimeCapsule/.AppleDB/log.0000000012

shfs      2139        root  16u      REG                9,9  8863744        20 /mnt/disk9/TimeCapsule/.AppleDB/cnid2.db

 

 

My laptop is powered off with the wifi turned off, so I'm fairly sure it's not the laptop doing it, plus checking TimeMachine itself indicates that it is not making backups during this time.

 

This seems similar to the issues seen here:

http://lime-technology.com/forum/index.php?topic=21479.0

http://lime-technology.com/forum/index.php?topic=23132.0

 

I haven't been able to catch anything interested in lsof other than the above. I tried to do an inotifywait -> lsof to catch what is accessing the file, but didn't get anything different than normal when doing:

inotifywait -r -e modify /mnt/disk9/TimeCapsule ; lsof | grep disk9

 

I'm open to suggestions on how to debug this or if it's just a quirk of the shfs program or something.

Needless to say I'd be really happy if it didn't do this. :P

 

Attached diagnostics for good measure.

 

Any ideas?

 

(yes, i realized I posted this in the wrong forum. Darn tempting v5 AFP subforum. :(

tower-diagnostics-20150718-2003.zip

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.