OSStatus 28 Error on Restore Mac Mojave APFS

Bit Baby

OSStatus 28 Error on Restore Mac Mojave APFS


I’m having problems performing a restore operation using Mac Disk utility.

I initialised the drive ok as name ‘SDD’ (typo) and on restore when ‘Validating sizes...’ get error “Not enough space on /volume/SDD/ContainerToInvert to restore. The operation could not be completed. (OSStatus error 28.)”

The existing hard drive is 500gb SATA, formatted as AFPS. New SSD is 500gb.

I can’t see why system thinks new SSD is too small.

Have cloned successfully 3 other drives to new Crucial SSDs with no problems. I’m assuming this error may be due to the APFS format?

Help much appreciated.


Edit 1

I have now erased the SSD (appears as ‘ASMT 2115 Media’ ) from scratch, name ‘Aidan SSD’, Format MAC OS extended (journaled), scheme GUID partition map.

What I now notice is that the new volume/partition is 499.76GB, whereas the hard-drive Macintosh HD is 499.99GB.

Is this the cause of the error on restore? How do I format the new SDD to have 499.99GB?

Edit 2

Solved. Erased and created new APFS volume directly, not by creating OS Extended Journalled first (this is then changed on Restore to APFS but retains smaller size). Creates as 499.99 GB needed and restore now running.