Photos app not working on zfs 2.1.0 / M1 Pro / Monterey
Posted: Sat Dec 04, 2021 2:57 pm
I loaded my Photos library, which had been on a Big Sur Intel-based system, on my new M1 Pro macbook which shipped with Monterey installed. I am unable to import new photos into the Photos app when the library is on a zfs filesystem.
I tried creating a new Photos library both on and off of the ZFS fs. The non-ZFS library does fine but the ZFS-hosted library will not import a photo. I have been able to reproduce this with a fresh Photos library created on my ZFS filesystem and attempted to import a single photo. It never imports it and never fails with an error message. If I try to import the photo a second time, Photos complains that "Another import session is in progress. Please try again when the current task is complete." It will try again if I quit Photos and restart it. But, it is still the same result. It will not import anything.
I tried off, hfs, and apfs for com.apple.mimic. Normally, I have used hfs.
I am a developer but somewhat unfamiliar with Apple development and troubleshooting file systems. Please help me know what I can do to help troubleshoot this issue.
Thanks,
Carl
Following is some information about my installation (the laptop belongs to Emily but I'm trying to troubleshoot on her behalf).
emilybaldwin@Emily ~ % id
uid=501(emilybaldwin) gid=20(staff) groups=20(staff),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),701(com.apple.sharepoint.group.1),33(_appstore),100(_lpoperator),204(_developer),250(_analyticsusers),395(com.apple.access_ftp),398(com.apple.access_screensharing),399(com.apple.access_ssh),400(com.apple.access_remote_ae)
emilybaldwin@Emily ~ % uname -a
Darwin Emily.ecbaldwin.net 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:01 PDT 2021; root:xnu-8019.41.5~1/RELEASE_ARM64_T6000 arm64
emilybaldwin@Emily ~ % zfs version
zfs-macOS-2.1.0-1
zfs-kmod-2.1.0-1
emilybaldwin@Emily ~ % zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
emilyzpool 1.36T 557G 835G - - 2% 39% 1.00x ONLINE -
emilybaldwin@Emily ~ % zfs list
NAME USED AVAIL REFER MOUNTPOINT
emilyzpool 557G 792G 2.92M /Volumes/emilyzpool
emilyzpool/photos 557G 792G 496G /Volumes/emilyzpool/photos
emilybaldwin@Emily ~ % ls -l /Volumes/emilyzpool/photos
total 119
drwxr-xr-x@ 9 emilybaldwin staff 18 Mar 17 2020 Carl
drwxr-xr-x@ 8 emilybaldwin staff 11 Nov 8 08:44 Lydias iPhoto.photoslibrary
drwxr-xr-x@ 6 emilybaldwin staff 7 Mar 16 2020 Misc
drwxr-xr-x@ 8 emilybaldwin wheel 8 Dec 2 20:21 Photos Library 2.photoslibrary
drwxr-xr-x@ 8 emilybaldwin wheel 8 Dec 4 15:36 Photos Library 2021-11.photoslibrary
drwxr-xr-x@ 5 emilybaldwin staff 6 Mar 17 2020 Wedding Photos
drwxr-xr-x@ 11 emilybaldwin staff 27 Dec 4 15:34 iPhoto Library.photoslibrary
emilybaldwin@Emily ~ % sudo zfs get all emilyzpool/photos | awk '$NF != "default" {print}'
NAME PROPERTY VALUE SOURCE
emilyzpool/photos type filesystem -
emilyzpool/photos creation Sat Nov 6 17:05 2021 -
emilyzpool/photos used 557G -
emilyzpool/photos available 792G -
emilyzpool/photos referenced 496G -
emilyzpool/photos compressratio 1.00x -
emilyzpool/photos mounted yes -
emilyzpool/photos devices off local
emilyzpool/photos createtxg 906 -
emilyzpool/photos canmount on received
emilyzpool/photos version 5 -
emilyzpool/photos utf8only off -
emilyzpool/photos normalization none -
emilyzpool/photos casesensitivity sensitive -
emilyzpool/photos guid 12403212368317359934 -
emilyzpool/photos usedbysnapshots 60.6G -
emilyzpool/photos usedbydataset 496G -
emilyzpool/photos usedbychildren 0B -
emilyzpool/photos usedbyrefreservation 0B -
emilyzpool/photos objsetid 101 -
emilyzpool/photos refcompressratio 1.00x -
emilyzpool/photos written 2.05G -
emilyzpool/photos logicalused 548G -
emilyzpool/photos logicalreferenced 489G -
emilyzpool/photos com.apple.mimic hfs local
I tried creating a new Photos library both on and off of the ZFS fs. The non-ZFS library does fine but the ZFS-hosted library will not import a photo. I have been able to reproduce this with a fresh Photos library created on my ZFS filesystem and attempted to import a single photo. It never imports it and never fails with an error message. If I try to import the photo a second time, Photos complains that "Another import session is in progress. Please try again when the current task is complete." It will try again if I quit Photos and restart it. But, it is still the same result. It will not import anything.
I tried off, hfs, and apfs for com.apple.mimic. Normally, I have used hfs.
I am a developer but somewhat unfamiliar with Apple development and troubleshooting file systems. Please help me know what I can do to help troubleshoot this issue.
Thanks,
Carl
Following is some information about my installation (the laptop belongs to Emily but I'm trying to troubleshoot on her behalf).
emilybaldwin@Emily ~ % id
uid=501(emilybaldwin) gid=20(staff) groups=20(staff),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),701(com.apple.sharepoint.group.1),33(_appstore),100(_lpoperator),204(_developer),250(_analyticsusers),395(com.apple.access_ftp),398(com.apple.access_screensharing),399(com.apple.access_ssh),400(com.apple.access_remote_ae)
emilybaldwin@Emily ~ % uname -a
Darwin Emily.ecbaldwin.net 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:01 PDT 2021; root:xnu-8019.41.5~1/RELEASE_ARM64_T6000 arm64
emilybaldwin@Emily ~ % zfs version
zfs-macOS-2.1.0-1
zfs-kmod-2.1.0-1
emilybaldwin@Emily ~ % zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
emilyzpool 1.36T 557G 835G - - 2% 39% 1.00x ONLINE -
emilybaldwin@Emily ~ % zfs list
NAME USED AVAIL REFER MOUNTPOINT
emilyzpool 557G 792G 2.92M /Volumes/emilyzpool
emilyzpool/photos 557G 792G 496G /Volumes/emilyzpool/photos
emilybaldwin@Emily ~ % ls -l /Volumes/emilyzpool/photos
total 119
drwxr-xr-x@ 9 emilybaldwin staff 18 Mar 17 2020 Carl
drwxr-xr-x@ 8 emilybaldwin staff 11 Nov 8 08:44 Lydias iPhoto.photoslibrary
drwxr-xr-x@ 6 emilybaldwin staff 7 Mar 16 2020 Misc
drwxr-xr-x@ 8 emilybaldwin wheel 8 Dec 2 20:21 Photos Library 2.photoslibrary
drwxr-xr-x@ 8 emilybaldwin wheel 8 Dec 4 15:36 Photos Library 2021-11.photoslibrary
drwxr-xr-x@ 5 emilybaldwin staff 6 Mar 17 2020 Wedding Photos
drwxr-xr-x@ 11 emilybaldwin staff 27 Dec 4 15:34 iPhoto Library.photoslibrary
emilybaldwin@Emily ~ % sudo zfs get all emilyzpool/photos | awk '$NF != "default" {print}'
NAME PROPERTY VALUE SOURCE
emilyzpool/photos type filesystem -
emilyzpool/photos creation Sat Nov 6 17:05 2021 -
emilyzpool/photos used 557G -
emilyzpool/photos available 792G -
emilyzpool/photos referenced 496G -
emilyzpool/photos compressratio 1.00x -
emilyzpool/photos mounted yes -
emilyzpool/photos devices off local
emilyzpool/photos createtxg 906 -
emilyzpool/photos canmount on received
emilyzpool/photos version 5 -
emilyzpool/photos utf8only off -
emilyzpool/photos normalization none -
emilyzpool/photos casesensitivity sensitive -
emilyzpool/photos guid 12403212368317359934 -
emilyzpool/photos usedbysnapshots 60.6G -
emilyzpool/photos usedbydataset 496G -
emilyzpool/photos usedbychildren 0B -
emilyzpool/photos usedbyrefreservation 0B -
emilyzpool/photos objsetid 101 -
emilyzpool/photos refcompressratio 1.00x -
emilyzpool/photos written 2.05G -
emilyzpool/photos logicalused 548G -
emilyzpool/photos logicalreferenced 489G -
emilyzpool/photos com.apple.mimic hfs local