Where is it safe to store a Photos Library? Requirements for the location of a Photos Library - 2019 version

by: 
Last modified: Mar 6, 2021 11:14 AM
8 10095 Last modified Mar 6, 2021 11:14 AM

Photo Libraries tend to grow over the years, and sooner or later they will be too large to be stored on the system drive and we will need to move the library from our system drive. to an external storage. Do not move the library to a NAS or any other remotely mounted volume, and do not put it onto cloud volume (iCloud Drive, Dropbox, Google Drive). This will not work, because Photos is strictly a single user application and the Photos Library cannot be shared over the network.

There are only two safe options:

  1. Use iCloud Photos and keep the library in iCloud with optimize Mac storage enabled (Set up and use iCloud Photos - Apple Support)
  2. Use a directly plugged in external drive. The drive needs to be prepared as described here: (Move your Photos library to save space on your Mac - Apple Support)

Any other option, however tempting it may be, is currently (Photos 4.0 on macOS 10.14) not supported.


Considerations when preparing the external drive:


We can move our Photos Libraries to an external drive, but the drive needs to be correctly formatted as MacOS Extended (Journaled) or APFS and locally mounted. (Set up and use iCloud Photos - Apple Support)

  • Do not format the external drive for the Photos Library as case-sensitive, if the internal drive is not case-sensitive. A case-sensitive drive for the Photos Library can cause data-loss, because files may not be found. Videos and life-Photos may not be able to access the video component. And this will happen even if the system drive is also case-sensitive.
  • The drive must not be used for Time Machine backups.
  • Also, the drive must not be read-only, even if you just want to read the library and not edit the photos (If Photos can't create, upgrade, or open your library because of file system issues - Apple Support).



Why HFS+ or MacOS Extended (Journaled) or APFS?


Apple's support documents have been a bit vague about the requirements for a drive to host the Photos Library.

It is not even clear, if Photos can work with a file system, that is not HFS+: This restriction is only mentioned for system Photos Libraries, that sync with iCloud - an iCloud Photo Library needs to be on a drive formatted MacOS Extended (Journaled)(https://help.apple.com/photos/mac/1.2/?lang=en#/pht211de786)

By default, your System Photo Library is stored in the Pictures folder on your Mac, but you can move it to another location on your Mac or store it on an external storage device. However, to use iCloud services, the external storage device must be formatted using Mac OS Extended (Journaled) format, also known as HFS+.

But it is clear from experiments when migrating libraries, that Photos cannot migrate iPhoto Libraries or Aperture Libraries to a Photos Library, if the file system is not HFS+. It will try to create the migrated library on the system drive instead (probably because it cannot create hard links on the drive) and usually fail by running out of storage.


Why not store the library online in a synced storage( Google Drive, Dropbox, or iCloud Drive)


And Apple confirmed, that it is not safe to store the Photos Library in a synced Cloud storage, see:

https://web.archive.org/web/20180625125007/https://support.apple.com/en-gb/HT204655

(old, broken link: Updating from iPhoto to Photos for OS X - Apple Support)


If you store your Photos library in a location that's part of a cloud service (for example, Dropbox, Box, or Google Drive), your library might be damaged by the syncing process. As a result, you could lose photos.
To see your photos on all your devices, you can use iCloud Photo Library. To back up your library, you can use Time Machine.

And you cannot even use Apple's own iCloud Drive for your photo libraries: See iCloud Drive FAQ - Apple Support

You shouldn't store app folders, libraries, or .tmp files in iCloud Drive.

I tested this with a few small test libraries on iCloud Drive. Sooner or later they needed repairing.


Why not on a Network Share?


And Apple advises against storing the Photos Library on a network share as well, just like previously for iPhoto Libraries and Aperture Libraries.

This is documented in: Move your Photos library to save space on your Mac - Apple Support

You can store your library on an external storage device, such as a USB, FireWire, or Thunderbolt drive formatted as MacOS Extended (Journaled). Apple doesn't recommend storing photo libraries on external storage devices like SD cards and USB flash drives, or drives that are shared on a network.
You can't store your library on a disk that's used for Time Machine backups.

The previous version: Sharing photo libraries among multiple users - Apple Support


Connect an external USB, FireWire, or Thunderbolt drive which has enough free space to contain the library.
Be sure to choose a locally mounted drive. Storing your library on a network share can lead to poor performance, data corruption, or data loss.

The linke document also explains, how to format an external drive to be used for Photos Libraries and to set the "Ignore Ownership" flag, if the drive is to be used from different user accounts or computers.


Why not use the Time Machine Drive?


You should not use the drive you are using for Time Machine to host your Photos Library, or Time Machine cannot back up the library. And since Photos 3.0 and 4.0 the the permissions may conflict with the time machine backup. See: Back up the Photos library on Mac - Apple Support

WARNING: If a Photos library is located on an external drive, don’t use Time Machine to store a backup on that external drive. The permissions for your Photos library may conflict with those for the Time Machine backup.

Occasionally Photos will also not be able to connect to the library again, if you want to open it a second time.


This user tip was generated from the following discussion: Where is it save to store a Photos Library? Requirements for the external drive

The previous version of this user tip is here: Where is it safe to store a Photos Librar… - Apple Community

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