UTM icon indicating copy to clipboard operation
UTM copied to clipboard

6.4 TB limit on Shared Directories that are on APFS volume

Open elliotnev27 opened this issue 1 year ago • 0 comments

UTM 4.4.5 (94) Mac Mini M2 Pro Ventura 13.6.3

I was sharing directory to a that was external RAID enclosure that had formatted with an 24 TB APFS partition to a Ubuntu 20.04 ARM VM. In the Ubuntu VM that the directory was be registered as 6.4 TBs of total space. Which I could see by using os.statvfs in python3

drive = '/mnt/DRIVE'
os.statvfs(drive).f_frsize * os.statvfs(drive).f_blocks

6407847895040 bytes

If I reformat the drive as HFS+ the whole 24 TBs is available.

drive = '/mnt/DRIVE'
os.statvfs(drive).f_frsize * os.statvfs(drive).f_blocks

23999899697152 bytes

elliotnev27 avatar Feb 07 '24 17:02 elliotnev27