Editing FAQ

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 23: Line 23:
 
   $ sudo zpool create tank raidz /tmp/aaa /tmp/bbb /tmp/ccc
 
   $ sudo zpool create tank raidz /tmp/aaa /tmp/bbb /tmp/ccc
 
   $
 
   $
 
===Q) I compiled from source, how do I know that I am running what I compiled?===
 
'''A)''' There are a couple of sysctls that can be read to determine what commit was compiled into your custom kexts. Assuming you used zfsadm to build, or that you executed the autoconf, and configure steps before compiling the following works.
 
 
  $ sysctl -a | grep kext
 
      spl.kext_version: 1.5.2-2_g'''115aa2f'''
 
      zfs.kext_version: 1.5.2-33_g'''9ac66a7'''
 
 
  $ cd <path to source code>/zfs
 
  $ git log -n 1
 
      commit '''9ac66a7'''1e53636eec04f4718b0b3870a18f07840
 
        Merge: 3326995 890ef86
 
        Author: zadmin <zadmin@jerry.local>
 
        Date:  Thu Jun 16 17:19:24 2016 +1000
 
 
        Merge branch 'master' of https://github.com/openzfsonosx/zfs
 
 
  $ cd <path to source code>/spl
 
  $ git log -n 2
 
      commit f1ff660a2f1fa340d451c2afa5f726f9bd3e609d
 
      Author: Brendon Humphrey <brendon.humphrey@mac.com>
 
      Date:  Sat Jun 18 20:25:09 2016 -0700
 
      ...
 
      commit '''115aa2f'''05b6f843e0d39d4f6bf999602db120113
 
      Author: Jorgen Lundman <lundman@lundman.net>
 
      Date:  Thu May 12 09:48:31 2016 +0900
 
      ...
 
 
I have highlighted the relevant text to match. You can see that this machine is running the latest ZFS, and is one commit behind the latest SPL.
 
 
If you make a small local change to the code then this technique will not work. One workaround for that is to edit your file(s) and commit them in your repository clone, that way it will have a commit id.
 
  
 
== Best practices ==
 
== Best practices ==
Line 104: Line 73:
 
'''A)''' Yes. O3X can import pool version 8, which means it can import MacZFS pools.
 
'''A)''' Yes. O3X can import pool version 8, which means it can import MacZFS pools.
  
===Q) Do HFS-only applications such as Photos, iCloud Drive and macOS Server work on ZFS?===
+
===Q) Do HFS only applications such as Photos, OSX server and others work on ZFS?===
 
'''A)''' Sometimes. Apple codes some software to only work when stored on HFS. We can't change that. We have provided a property that causes ZFS filesystems to identify themselves as a HFS when enabled. We are unable to guarantee that the application will work 100% correctly as HFS may have specific behaviours that the application depends on, and ZFS may not behave identically.
 
'''A)''' Sometimes. Apple codes some software to only work when stored on HFS. We can't change that. We have provided a property that causes ZFS filesystems to identify themselves as a HFS when enabled. We are unable to guarantee that the application will work 100% correctly as HFS may have specific behaviours that the application depends on, and ZFS may not behave identically.
 
    
 
    
Line 143: Line 112:
  
 
===Q) Can I boot my computer off of O3X?===
 
===Q) Can I boot my computer off of O3X?===
'''A)''' Yes. See https://openzfsonosx.org/wiki/ZFS_on_Boot
+
'''A)''' No. O3X cannot be used as your main system partition.
  
 
===Q) So if I use O3X, that means I don't need to back up, right? ===
 
===Q) So if I use O3X, that means I don't need to back up, right? ===

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)