I created a sparse disk image of 400 GB with hdiutil (terminal) on a 500 GB external drive.
After I have attached the disk image, I copy data to it. After about 17 GB of data I get an error 'No space left on device'. Why is it that I cannot fully utilize the 400 GB and is it raising this error?
Any help much appreciated!
After I have attached the disk image, I copy data to it. After about 17 GB of data I get an error 'No space left on device'. Why is it that I cannot fully utilize the 400 GB and is it raising this error?
Code:
hdiutil create -size 400g -type SPARSE -fs APFS -volname test /Volumes/data/test.dmg
hdiutil attach /Volumes/data/test.dmg
Any help much appreciated!
Last edited: