I am unclear about something in the instructions for creating a pool:
-f instructs ZFS to label the disk for you
...
Note that if you partition the disk yourself, and specify a slice for ZFS, you are responsible for making sure the partition table shows the partition type is ZFS.
Does the -f flag make sure the partition table shows the partition type is ZFS? Or do I still need to do something since I'm creating it on a partition? Here's my actual command:
- Code: Select all
$ diskutil list
...
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *250.0 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_APFS Container disk3 124.9 GB disk2s2
3: Apple_HFS 124.5 GB disk2s3
$ zpool create -f -o ashift=12 -O compression=lz4 -O casesensitivity=insensitive -O atime=off -O normalization=formD zfit disk2s3
Or when partitioning should I use the "ZFS Dataset" partition type instead? Which results in:
- Code: Select all
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *250.0 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_APFS Container disk3 124.9 GB disk2s2
3: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF 124.4 GB disk2s3
4: Apple_Boot Boot OS X 134.2 MB disk2s4
I am using Catalina and ZFS 2.0.1-1