utmapp / utmapp/UTM

6.4 TB limit on Shared Directories that are on APFS volume

Open
#6,074 1 comment 0 reactions 0 assignees View on GitHub
spice
Dominant language
Swift
Stars
35.5k
Forks
1.8k
Avg merge
5d 5h
Merged PRs (30d)
7

Description

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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.