I think the OP was about making a bootable Fusion drive with the internal drive + an external drive... does that work, or not?You don't need to boot into Recovery Mode to create a Fusion drive from external drives.
I think the OP was about making a bootable Fusion drive with the internal drive + an external drive... does that work, or not?You don't need to boot into Recovery Mode to create a Fusion drive from external drives.
I agree. However I just wanted to add that you did not need to if you wanted to create a Fusion drive from external drives. I just felt it wasn't clear.I think the OP was about making a bootable Fusion drive with the internal drive + an external drive... does that work, or not?
A standard install has multiple volumes inside the APFS container. So I was asking if that is what happens with a Fusion drive. I agree that, from the user perspective, all that is wanted is for the Data volume to be in the container in the Fusion drive. But can macOS install and boot in that situation?I don't see why ALL of the volumes have to be on the Fusion container for this to be useful. Why does Preboot, for example, need to be in the Fusion container for this the idea to be useful, as long as the Data partition is.
I am sure that is true for a data only Fusion drive. What about the combination of small internal and large external for the boot/system container?You don't need to boot into Recovery Mode to create a Fusion drive from external drives.
Yes, you're right, and I mis-spoke. I shouldn't have suggested breaking up the volumes within the APFS Volume Group (e.g, Preboot, Recovery, Data, VM).A standard install has multiple volumes inside the APFS container.
diskutil apfs createContainer
command is what makes a Fusion container, so I suppose it would go something likediskutil apfs createContainer -main disk0s2 -secondary disk4
, where "disk4" is some external drive.Recovery should be separate now, it will be created by the macOS installer if it's missing but you should try to avoid having to, I've updated the command to better reflect that. Though you do still end up with a recovery volume under the main container as well.Do all the APFS volumes end up in the Fusion container or are some (e.g. VM, Recovery, Preboot) in an APFS container just on the internal SSD?
You can buy an external SSD with the same performance as the internal. But not all external SSDs are that fast. I got mine from OWC. It comes with a cable, use that cable.I'm not interested in using a traditional HDD. My Mac Mini has 256GB internally, and I was thinking about getting a Thunderbolt external NVMe drive to try to increase my OS and Application partition. I could always just extend the OS partition across both drives, but I'm not sure if the Thunderbolt drive will run at the same speed as the internal drive (which can't be upgraded). I was thinking that doing the traditional Fusion Drive setup would handle moving the regularly used files to the internal storage for me.
In my view, the 256GB is already minimal and I would not be willing to give up part of it to a Fusion Drive. Better to use a fast as possible external SSD which is large enough to include all your active files. I assume you also have an even larger HDD for your backups.That is great info. For home server I was thinking of M4 Mac mini 256GB and using 64GB (or 128GB) fused with external 24TB HD. And putting home folder on it.
While I have not actually tried this, I am quite confident that it would NOT be usable. My understanding is that fusion drives work at the block level, not the file level. The most used blocks of data are on the high-speed portion. Files may be made up of many blocks; That implies that a given file may be spread between high-speed portion and the remainder of the fusion drive. Also, fusion drivesdo not work as a high-speed cache. That is, the blocks exist on either the high-speed portion, or the slow speed portion, and not on both.If the fusion is partition of internal SSD and an external. Does anyone know what happens if the exernal is plugged into another Mac? Is it useable?
Definitely unusable. It is file tiering technology, not a cache. The size of Fusion Drive is equal to sum of size of the two drives. Data exists on one or other component, not both.While I have not actually tried this, I am quite confident that it would NOT be usable.
My understanding is somewhere in between. Basically it is file based, but moves chunks of large files back and forth. While I can mostly understand this for files, I am at aMy understanding is that fusion drives work at the block level, not the file level.
Well, I thought I had read that the the older CoreStorage (HFS+) Fusion drives moved files but that the newer (APFS) system moved blocks, but I can't find any references for that at the moment. However, if by moving "chunks of large files" means moving portions of files (not complete files), then to me that seems the same as moving (some number) of blocks. So we basically agree?My understanding is somewhere in between. Basically it is file based, but moves chunks of large files back and forth. While I can mostly understand this for files, I am at abit of acomplete loss as to how it manages the file system structure (B-trees, folders, forks, attributes, etc.)
Edit: Someone who obviously understands a lot more about Fusion Drives than me (in particular with APFS): https://talk.tidbits.com/t/fusion-d...orth-it-or-perhaps-even-more-worth-it/17398/2
...
Huh. In that posting, the author claims that while the usable size of a CoreStorage Fusion drive (actually, volume) is the sum of the components' sizes, he claims the usable size of an APFS Fusion volume is only equal to the size of the (presumably larger) "HDD" portion, and that the SSD only acts as a cache, and that all of the files exist on the "HDD" portion. I.e., it's a cached storage system but not tiered storage.
I'm highly skeptical of that. I'll try to throw together an APFS fusion drive and at least see what the usable capacity is...
/dev/disk6 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk6
1: EFI EFI 209.7 MB disk6s1
2: Apple_APFS Container disk8 2.0 TB disk6s2
/dev/disk7 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *256.1 GB disk7
1: EFI EFI 209.7 MB disk7s1
2: Apple_APFS Container disk8 255.9 GB disk7s2
/dev/disk8 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +2.3 TB disk8
Physical Stores disk7s2, disk6s2
1: APFS Volume Fusion - Data 303.8 GB disk8s1
2: APFS Volume Fusion 11.2 GB disk8s2
3: APFS Snapshot com.apple.os.update-... 11.2 GB disk8s2s1
4: APFS Volume Preboot 8.2 GB disk8s3
5: APFS Volume Recovery 2.0 GB disk8s4
6: APFS Volume VM 20.5 KB disk8s5
disk7 (SSD) disk6 (HDD)
KB/t tps MB/s KB/t tps MB/s
4.00 0 0.00 4.00 0 0.00
24.72 132 3.19 16.00 2 0.04
32.77 2272 72.72 28.14 74 2.03
73.96 1023 73.87 28.19 113 3.12
26.15 2195 56.05 48.62 99 4.72
60.18 906 53.25 33.01 95 3.07
39.90 1506 58.70 42.78 92 3.84
62.08 1741 105.56 30.97 169 5.11
21.86 1370 29.25 37.90 393 14.55
4.82 211 0.99 10.67 1 0.02
The Ars Technica article linked above mentions some tests that involve reading the first sections of large files, and measuring the speed at which data is returned. Search for the word "redirected" in the article. It's that paragraph and the subsequent one.It's an interesting question, though off the top of my head I can't think of any way to empirically test whether entire files are moved or portions of files.
I don't quite agree, but let's not get tangled up in splitting hairs!However, if by moving "chunks of large files" means moving portions of files (not complete files), then to me that seems the same as moving (some number) of blocks. So we basically agree?
I also am sceptical.Huh. In that posting, the author claims that while the usable size of a CoreStorage Fusion drive (actually, volume) is the sum of the components' sizes, he claims the usable size of an APFS Fusion volume is only equal to the size of the (presumably larger) "HDD" portion, and that the SSD only acts as a cache, and that all of the files exist on the "HDD" portion. I.e., it's a cached storage system but not tiered storage.
I'm highly skeptical of that. I'll try to throw together an APFS fusion drive and at least see what the usable capacity is..
Can you fill it with nearly 2.3 TB of data? (I am hoping the answer is yes)You can see that the size of the drive is 2.3 Tb, the sum of the two component drives.
I don't quite agree, but let's not get tangled up in splitting hairs!
I also am sceptical.
But it is clear that Fusion with APFS is subtly different to Fusion with HFS+. Something that I had not appreciated.
Howard Oakley discusses it here https://eclecticlight.co/2018/10/15/fusion-drives-in-apfs/ and shows the size of the APFS container to be the sum of the two parts. But can you use that full size?
And more recently from Howard: https://eclecticlight.co/2024/04/26/was-the-fusion-drive-a-good-idea/. I think I am correctly summarising that as: It was great, but now don't.
Can you fill it with nearly 2.3 TB of data? (I am hoping the answer is yes)
Can you fill it with nearly 2.3 TB of data? (I am hoping the answer is yes)
Seems the answer is no. Surprise for me, though maybe not for others elsewhere.I haven't tried. Even the full collections of Dr Who would only take up about 500 Gb. Project Gutenberg in Zim format is only 67 Gb.
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: *10.7 GB disk0
/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: *64.4 GB disk1
% diskutil apfs createContainer -main disk0 -secondary disk1
/dev/disk6 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +75.2 GB disk6
Physical Stores disk0, disk1
% diskutil apfs addVolume disk6 APFS MyFusionDrive
/dev/disk6 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +75.2 GB disk6
Physical Stores disk0, disk1
1: APFS Volume MyFusionDrive 868.4 KB disk6s1
/dev/disk6 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +75.2 GB disk6
Physical Stores disk0, disk1
1: APFS Volume MyFusionDrive 64.4 GB disk6s1
% diskutil apfs list
+-- Container disk6 70B0B252-FAA9-4EC6-ABBE-BEA3F6F38BF2
====================================================
APFS Container Reference: disk6 (Fusion)
Size (Capacity Ceiling): 75161927680 B (75.2 GB)
Capacity In Use By Volumes: 66706821120 B (66.7 GB) (88.8% used)
Capacity Not Allocated: 8455106560 B (8.5 GB) (11.2% free)
|
+-< Physical Store disk1 (No UUID)
| ------------------------------
| APFS Physical Store Disk: disk1 (Secondary, Designated Aux Use)
| Size: 64424509440 B (64.4 GB)
|
+-< Physical Store disk0 (No UUID)
| ------------------------------
| APFS Physical Store Disk: disk0 (Main, "Faster" Disk Use)
| Size: 10737418240 B (10.7 GB)
|
+-> Volume disk6s1 C66C6360-1242-4A3C-B817-078E7ADCEE3B
---------------------------------------------------
APFS Volume Disk (Role): disk6s1 (No specific role)
Name: MyFusionDrive (Case-insensitive)
Mount Point: /Volumes/MyFusionDrive
Capacity Consumed: 64429219840 B (64.4 GB)
Sealed: No
FileVault: No
I am coming round to it being a cache in APFS Fusion Drive. Certainly my experiment confirms size of volume is sum of primary + secondary, but the usable size is that of the secondary.Huh. In that posting, the author claims that while the usable size of a CoreStorage Fusion drive (actually, volume) is the sum of the components' sizes, he claims the usable size of an APFS Fusion volume is only equal to the size of the (presumably larger) "HDD" portion, and that the SSD only acts as a cache, and that all of the files exist on the "HDD" portion. I.e., it's a cached storage system but not tiered storage.
I'm highly skeptical of that. I'll try to throw together an APFS fusion drive and at least see what the usable capacity is...
I created two virtual disks in a VMware Sequoia client (I don't have spare drives lying around). In VMware they are 10GB and 60GB (base2?). In macOS they are 10.7 GB and 64.4 GB (base 10?). Made a Fusion Drive APFS container of 75.2 GB with one APFS volume.
I copied files (RAW photos and XMP files) onto it. I could only get as far as 64.4 GB before the drive became full. So can only get as far as filling the secondary storage.
I don't think this proves or disproves either cache or "smeared between both" storage though it is very suggestive of cache.
I am coming round to it being a cache in APFS Fusion Drive. Certainly my experiment confirms size of volume is sum of primary + secondary, but the usable size is that of the secondary.
% diskutil apfs createContainer -main disk1s2 -secondary disk0s2
% diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *85.9 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 85.7 GB disk0s2
/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *21.5 GB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_APFS Container disk2 21.3 GB disk1s2
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +107.0 GB disk2
Physical Stores disk1s2, disk0s2
1: APFS Volume Macintosh HD — Data 5.8 GB disk2s1
2: APFS Volume Preboot 2.4 GB disk2s2
3: APFS Volume Recovery 1.3 GB disk2s3
4: APFS Volume Macintosh HD 11.2 GB disk2s4
5: APFS Snapshot com.apple.os.update-... 11.2 GB disk2s4s1
6: APFS Volume VM 1.1 MB disk2s6