Thursday, November 21, 2024

New Macbook Pro is case-insensitive but Time Machine backup is case-sensitive

There are related questions here, but many are dated and none seems to quite cover my situation.

I have an early 2015 MacBook Pro that has been kept as up to date as possible, currently running 12.6.7. The file system is case sensitive. I have always used Time Machine to back it up; apparently TM always uses case sensitive file system.

The 2015 machine is dying due to an expanding battery. So, I have a new MacBook Pro. I fired it up, plugged in the TM drive and it complained that the new machine was case insensitive but the backup was case sensitive. Fine. Launched the new machine into recovery mode, erased the drive and reformatted as case sensitive. Then installed Ventura, which apparently converted the drive to case insensitive, as trying to use the TM backup gave the same error.

The old machine shows the following:

~> diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.3 GB   disk0
   1:                        EFI ⁨EFI⁩                     209.7 MB   disk0s1
   2:                 Apple_APFS ⁨Container disk1⁩         500.1 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +500.1 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume ⁨Untitled - Data⁩         411.8 GB   disk1s1
   2:                APFS Volume ⁨Preboot⁩                 612.1 MB   disk1s2
   3:                APFS Volume ⁨Recovery⁩                1.1 GB     disk1s3
   4:                APFS Volume ⁨VM⁩                      1.1 GB     disk1s4
   5:                APFS Volume ⁨BryanHD⁩                 15.4 GB    disk1s5
   6:              APFS Snapshot ⁨com.apple.os.update-...⁩ 15.4 GB    disk1s5s1

and the details for the relevant data volume:

~> diskutil info disk1s1
   Device Identifier:         disk1s1
   Device Node:               /dev/disk1s1
   Whole:                     No
   Part of Whole:             disk1

   Volume Name:               Untitled - Data
   Mounted:                   Yes
   Mount Point:               /System/Volumes/Data

   Partition Type:            41504653-0000-11AA-AA11-00306543ECAC
   File System Personality:   Case-sensitive APFS
   Type (Bundle):             apfs
   Name (User Visible):       APFS (Case-sensitive)
   Owners:                    Enabled

   OS Can Be Installed:       Yes
   Booter Disk:               disk1s2
   Recovery Disk:             disk1s3
   Media Type:                Generic
   Protocol:                  PCI
   SMART Status:              Verified
   Volume UUID:               48C0C04E-5D1C-3FA9-9339-93B1BD12E05A
   Disk / Partition UUID:     48C0C04E-5D1C-3FA9-9339-93B1BD12E05A

   Disk Size:                 500.1 GB (500068036608 Bytes) (exactly 976695384 512-Byte-Units)
   Device Block Size:         4096 Bytes

   Container Total Space:     500.1 GB (500068036608 Bytes) (exactly 976695384 512-Byte-Units)
   Container Free Space:      70.3 GB (70319427584 Bytes) (exactly 137342632 512-Byte-Units)
   Allocation Block Size:     4096 Bytes

   Media OS Use Only:         No
   Media Read-Only:           No
   Volume Read-Only:          No

   Device Location:           Internal
   Removable Media:           Fixed

   Solid State:               Yes
   Hardware AES Support:      No

   This disk is an APFS Volume.  APFS Information:
   APFS Container:            disk1
   APFS Physical Store:       disk0s2
   Fusion Drive:              No
   APFS Volume Group:         48C0C04E-5D1C-3FA9-9339-93B1BD12E05A
   Encrypted:                 No
   FileVault:                 No
   Sealed:                    No
   Locked:                    No

   APFS Snapshots are defined upon this APFS Volume.  Snapshot list:
   Snapshot UUID:             7EB6E3E4-2450-4FD9-8D86-B698FC2AAADB
   Name:                      com.apple.TimeMachine.2023-07-03-151546.local
   XID:                       1595566
   Snapshot UUID:             AD44753D-4F92-4295-99AC-F641395D46DB
   Name:                      com.apple.TimeMachine.2023-07-03-152211.local
[ other snapshots deleted for space ]

This info seems reasonable, it’s the modern APFS system and case sensitive as I expected.

Now, on the new machine, boot into recovery mode, erase and format to AFPS (Case-sensitive), restart, activate mac, reboots back into recovery mode, reinstall macOS Ventura, answer the questions, skipping anything I can, then

diskutil info disk3s1

and see that its name is “Untitled – Data” and it is formatted case insensitive!

I tried to reformat via

diskutil eraseVolume APFSX "Untitled - Data" disk3s1

but this fails because launchd is running on this volume.

Looking for help getting this TM backup onto the new machine in a case sensitive manner.

Related Articles

Latest Articles