Editing ZFS on Boot
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 53: | Line 53: | ||
# sudo zpool create -f -o ashift=12 -O casesensitivity=insensitive \ | # sudo zpool create -f -o ashift=12 -O casesensitivity=insensitive \ | ||
− | -O normalization=formD -O atime=off -O compression= | + | -O normalization=formD -O atime=off -O compression=lz4 \ |
-O mountpoint=none -O canmount=off rpool ${NEWDISK}s2 | -O mountpoint=none -O canmount=off rpool ${NEWDISK}s2 | ||
Line 59: | Line 59: | ||
# zfs create -o mountpoint=none -o canmount=off rpool/ROOT | # zfs create -o mountpoint=none -o canmount=off rpool/ROOT | ||
− | # zfs create -o mountpoint=legacy -o com.apple. | + | # zfs create -o mountpoint=legacy -o com.apple.mimic_hfs=on rpool/ROOT/Catalina |
# zpool set bootfs=rpool/ROOT/Catalina rpool | # zpool set bootfs=rpool/ROOT/Catalina rpool | ||
Line 195: | Line 195: | ||
Additional research is needed on atime, casesensitivity, and normalization (and probably more). | Additional research is needed on atime, casesensitivity, and normalization (and probably more). | ||
# sudo zpool create -f -o ashift=12 -O casesensitivity=insensitive \ | # sudo zpool create -f -o ashift=12 -O casesensitivity=insensitive \ | ||
− | -O normalization=formD -O atime=off -O compression= | + | -O normalization=formD -O atime=off -O compression=lz4 \ |
-O mountpoint=none -O canmount=off rpool disk1s2 | -O mountpoint=none -O canmount=off rpool disk1s2 | ||
Line 205: | Line 205: | ||
# sudo zpool set bootfs=rpool/ROOT/Capitan rpool | # sudo zpool set bootfs=rpool/ROOT/Capitan rpool | ||
− | Note: com.apple. | + | Note: com.apple.mimic_hfs may be set on the root mountpoint. Testing is still underway for ZFS Root both with or without mimic set. |
You probably want to relocate your home folder outside of the root dataset, for example rpool/HOME/username, or on ZVOL for compatibility. | You probably want to relocate your home folder outside of the root dataset, for example rpool/HOME/username, or on ZVOL for compatibility. |