iCloud Drive bug?

Discussion in 'macOS Sierra (10.12)' started by LarrikinAus, Jun 15, 2016.

  1. LarrikinAus macrumors member

    Joined:
    Jun 11, 2016
    #1
    Hi Folks,


    As you may be aware, the iCloud drive stores the actual files in this location:

    ~/users/username/library/mobiledocuments/

    Since upgrading to Sierra, I notice the same documents are DUPLICATED TWICE in the following directory:

    ~/Users/username/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs/9fadf220be21a0ed291ebfeafdfdsf434sa

    My icloud drive is 24 gig.

    That cache directory is 60 gig.

    I presume this is a bug?
     
  2. blasto2236 macrumors 6502a

    Joined:
    Nov 4, 2012
    #2
    Difficult to say. Given that iCloud backups don't exist yet for Macs, maybe this is a failsafe in case any weird issues happen with the files, or if a bug causes the OS to think there is low storage and starts deleting things?
     
  3. grahamperrin macrumors 601

    grahamperrin

    Joined:
    Jun 8, 2007
    #3
    No comparable multiplication here:

    Code:
    sh-3.2$ find ~/Library/Mobile\ Documents/ -type file
    /Users/grahamperrin/Library/Mobile Documents//com~apple~CloudDocs/8,817M resident memory used by Firefox.png
    sh-3.2$ find ~/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs -name "*resident*"
    sh-3.2$ find ~/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs -type f
    /Users/grahamperrin/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs/9fadf220be21a0ed291ebfea5f836e034473cd93/AssetsDb/Assets.db
    /Users/grahamperrin/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs/9fadf220be21a0ed291ebfea5f836e034473cd93/AssetsDb/Assets.db-shm
    /Users/grahamperrin/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs/9fadf220be21a0ed291ebfea5f836e034473cd93/AssetsDb/Assets.db-wal
    /Users/grahamperrin/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs/9fadf220be21a0ed291ebfea5f836e034473cd93/MMCS/.cs/ChunkStoreDatabase
    /Users/grahamperrin/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs/9fadf220be21a0ed291ebfea5f836e034473cd93/MMCS/.cs/ChunkStoreDatabase-wal
    /Users/grahamperrin/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs/9fadf220be21a0ed291ebfea5f836e034473cd93/Records/pcs.db
    /Users/grahamperrin/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs/9fadf220be21a0ed291ebfea5f836e034473cd93/Records/pcs.db-shm
    /Users/grahamperrin/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs/9fadf220be21a0ed291ebfea5f836e034473cd93/Records/pcs.db-wal
    /Users/grahamperrin/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs/9fadf220be21a0ed291ebfea5f836e034473cd93/Records/Records.db
    /Users/grahamperrin/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs/9fadf220be21a0ed291ebfea5f836e034473cd93/Records/Records.db-shm
    /Users/grahamperrin/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs/9fadf220be21a0ed291ebfea5f836e034473cd93/Records/Records.db-wal
    sh-3.2$ ls -hlR ~/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs/9fadf220be21a0ed291ebfea5f836e034473cd93/
    total 0
    drwxr-xr-x  2 grahamperrin  staff    68B 30 Jun 01:09 Assets
    drwxr-xr-x  5 grahamperrin  staff   170B 30 Jun 00:55 AssetsDb
    drwxr-xr-x  3 grahamperrin  staff   102B 30 Jun 01:09 MMCS
    drwxr-xr-x  8 grahamperrin  staff   272B 30 Jun 00:55 Records
    drwxr-xr-x  2 grahamperrin  staff    68B 30 Jun 00:54 StagingAssets
    
    /Users/grahamperrin/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs/9fadf220be21a0ed291ebfea5f836e034473cd93//Assets:
    
    /Users/grahamperrin/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs/9fadf220be21a0ed291ebfea5f836e034473cd93//AssetsDb:
    total 160
    -rw-r--r--  1 grahamperrin  staff    48K 30 Jun 01:09 Assets.db
    -rw-r--r--  1 grahamperrin  staff    32K 30 Jun 01:09 Assets.db-shm
    -rw-r--r--  1 grahamperrin  staff     0B 30 Jun 01:09 Assets.db-wal
    
    /Users/grahamperrin/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs/9fadf220be21a0ed291ebfea5f836e034473cd93//MMCS:
    
    /Users/grahamperrin/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs/9fadf220be21a0ed291ebfea5f836e034473cd93//Records:
    total 272
    -rw-r--r--  1 grahamperrin  staff    28K 30 Jun 01:09 Records.db
    -rw-r--r--  1 grahamperrin  staff    32K 30 Jun 01:10 Records.db-shm
    -rw-r--r--  1 grahamperrin  staff     0B 30 Jun 01:09 Records.db-wal
    -rw-r--r--  1 grahamperrin  staff    24K 30 Jun 01:09 pcs.db
    -rw-r--r--  1 grahamperrin  staff    32K 30 Jun 01:09 pcs.db-shm
    -rw-r--r--  1 grahamperrin  staff    16K 30 Jun 01:09 pcs.db-wal
    
    /Users/grahamperrin/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs/9fadf220be21a0ed291ebfea5f836e034473cd93//StagingAssets:
    sh-3.2$ find ~/Library/Caches/CloudKit/com.apple.bird/com.apple.CloudDocs -name "*resident*"
    sh-3.2$ 
     

Share This Page