UTM
UTM copied to clipboard
6.4 TB limit on Shared Directories that are on APFS volume
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