Showing a HUGE Library file in Migration Assistant!

Using Migration Assistant to upgrade a 2013 MacBook Pro to a 2020 MacBook Pro, both with Monterey 12.1 & 512 SSD, I keep getting a 4.7PB file size for my User Library. Obviously the SSD can't hold a file this size. Is this a bug in Migration Assistant?

Posted on Feb 10, 2022 12:42 PM

Reply
Question marked as Top-ranking reply

Posted on Apr 2, 2022 11:27 AM

It turns out that my problem was caused by Microsoft's OneDrive application. If there are folders on your computer that you are syncing to the Cloud using OneDrive, you have the option of saying "Free Disk Space" and have files be downloaded on-demand—only when you use them. This does indeed free disk-space. However, there is a bug: when Migration Assistant do the volume size accounting on your disk, they count the full size of files on the cloud. I believe this is due to the metadata/headers of the small place-holder files that OneDrive keeps on your computer for the on-demand files on the cloud. Interestingly, the Disk Utility and the "**" command do not make this mistake (ostensibly because they don't count size file-by-file or calculate actual file size on disk).


Anways, you have several solutions in this case. One is to unlink your old mac from OneDrive, migrate, and then re-link. Another is to unselect the large on-demand folders in OneDrive "Manage Storage" before migration and re-select afterwards.


I suspect this problem could be similarly caused by other cloud-storage apps from Google or Dropbox when you choose any kind of "download on demand" option.


I hope apple addresses this issue by altering their Migration Assistant settings.

9 replies
Question marked as Top-ranking reply

Apr 2, 2022 11:27 AM in response to crashtested

It turns out that my problem was caused by Microsoft's OneDrive application. If there are folders on your computer that you are syncing to the Cloud using OneDrive, you have the option of saying "Free Disk Space" and have files be downloaded on-demand—only when you use them. This does indeed free disk-space. However, there is a bug: when Migration Assistant do the volume size accounting on your disk, they count the full size of files on the cloud. I believe this is due to the metadata/headers of the small place-holder files that OneDrive keeps on your computer for the on-demand files on the cloud. Interestingly, the Disk Utility and the "**" command do not make this mistake (ostensibly because they don't count size file-by-file or calculate actual file size on disk).


Anways, you have several solutions in this case. One is to unlink your old mac from OneDrive, migrate, and then re-link. Another is to unselect the large on-demand folders in OneDrive "Manage Storage" before migration and re-select afterwards.


I suspect this problem could be similarly caused by other cloud-storage apps from Google or Dropbox when you choose any kind of "download on demand" option.


I hope apple addresses this issue by altering their Migration Assistant settings.

Feb 11, 2022 1:20 PM in response to skypanda47

Hi skypanda47,


We see when trying to transfer data via Migration Assistant from one Mac to another, you're getting an extremely large file size.


To start, there is a later patch for macOS Monterey, we'd recommend updating both devices to it:


After updating, try Migration Assistant again. If you still receive the larger file size, let us know.


Take care.

Mar 20, 2022 12:50 PM in response to skypanda47

Hi Skypanda47,


Thanks for the heads up.


I gave in too, and took the slow route using my Timemachine backup (via a Synology NAS).


Looking up the available backups: 1h

Calculating the size of the selected backup: 1h

Migrating the backup to my MacBook: ~6h


So not as fast as the direct copy from Macbook to Macbook (I did one a week ago that took me less than 1h).


But at least this option was successful.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Showing a HUGE Library file in Migration Assistant!

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.