Editing ZFS on Boot

Jump to: navigation, search

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=zstd \
+
   -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.mimic=hfs rpool/ROOT/Catalina
+
  # 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=zstd \
+
   -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.mimic=hfs may be set on the root mountpoint. Testing is still underway for ZFS Root both with or without mimic set.
+
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.

Please note that all contributions to OpenZFS on OS X may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenZFS on OS X:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)