<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://openzfsonosx.org/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://openzfsonosx.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=217.226.87.46</id>
		<title>OpenZFS on OS X - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://openzfsonosx.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=217.226.87.46"/>
		<link rel="alternate" type="text/html" href="https://openzfsonosx.org/wiki/Special:Contributions/217.226.87.46"/>
		<updated>2026-05-09T21:14:46Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.22.3</generator>

	<entry>
		<id>https://openzfsonosx.org/wiki/Creating_user_privileges</id>
		<title>Creating user privileges</title>
		<link rel="alternate" type="text/html" href="https://openzfsonosx.org/wiki/Creating_user_privileges"/>
				<updated>2014-05-28T15:26:12Z</updated>
		
		<summary type="html">&lt;p&gt;217.226.87.46: Typo fixed.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A freshly installed ZFS volume comes with restrictive user privileges. To use it normally, you will have to create new user privileges.&lt;br /&gt;
&lt;br /&gt;
Click at the icon of your mounted ZFS pool on your desktop, select in the menu bar File &amp;gt; Information.&lt;br /&gt;
&lt;br /&gt;
Click at the little lock icon at the bottom, type in an admin username and password.&lt;br /&gt;
&lt;br /&gt;
Click at the Plus icon at the bottom on the left. &lt;br /&gt;
&lt;br /&gt;
Add a your own user name or all administrators with read and write privileges.&lt;br /&gt;
&lt;br /&gt;
Try to copy some file to your pool.&lt;/div&gt;</summary>
		<author><name>217.226.87.46</name></author>	</entry>

	<entry>
		<id>https://openzfsonosx.org/wiki/User_talk:Ilovezfs</id>
		<title>User talk:Ilovezfs</title>
		<link rel="alternate" type="text/html" href="https://openzfsonosx.org/wiki/User_talk:Ilovezfs"/>
				<updated>2014-05-28T14:36:29Z</updated>
		
		<summary type="html">&lt;p&gt;217.226.87.46: Why did you delete the page Preparing a drive?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Why did you delete the page [[Preparing a drive]]?&lt;/div&gt;</summary>
		<author><name>217.226.87.46</name></author>	</entry>

	<entry>
		<id>https://openzfsonosx.org/wiki/Documentation</id>
		<title>Documentation</title>
		<link rel="alternate" type="text/html" href="https://openzfsonosx.org/wiki/Documentation"/>
				<updated>2014-05-28T13:52:48Z</updated>
		
		<summary type="html">&lt;p&gt;217.226.87.46: You cannot start with any storage device, you must prepare it.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:About O3X]]&lt;br /&gt;
[[Category:Getting and installing O3X]]&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
General OpenZFS usage can be found on the [http://open-zfs.org OpenZFS wiki]. But we do need to document some Apple OS X specific things.&lt;br /&gt;
&lt;br /&gt;
=== Getting started ===&lt;br /&gt;
&lt;br /&gt;
* [[Preparing a storage device for ZFS]]&lt;br /&gt;
* [[zpool#Creating_a_pool|Creating a pool]]&lt;br /&gt;
* [[Creating user privileges]]&lt;br /&gt;
* [[Encryption]]&lt;br /&gt;
&lt;br /&gt;
=== Integration ===&lt;br /&gt;
&lt;br /&gt;
* [[Suppressing the annoying pop-up]]&lt;br /&gt;
&lt;br /&gt;
* [[Autoimport|Automatically importing pools]]&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
* [[DegradedPool|Degraded pool]]&lt;br /&gt;
&lt;br /&gt;
* [[panic|Kernel panic]]&lt;/div&gt;</summary>
		<author><name>217.226.87.46</name></author>	</entry>

	<entry>
		<id>https://openzfsonosx.org/wiki/Talk:Zpool</id>
		<title>Talk:Zpool</title>
		<link rel="alternate" type="text/html" href="https://openzfsonosx.org/wiki/Talk:Zpool"/>
				<updated>2014-05-28T13:44:20Z</updated>
		
		<summary type="html">&lt;p&gt;217.226.87.46: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Write for Macintosh users ===&lt;br /&gt;
&lt;br /&gt;
OK, folks you are doing this for Mac users. Anything other than formD is not an option if you want to do anything useful with OSX. If someone needs something else, he will know where to find it. &lt;br /&gt;
&lt;br /&gt;
=== Mount point ===&lt;br /&gt;
&lt;br /&gt;
It would be nice to recommend setting the mount point at zpool creation time with the -m option to mount in the /Volumes folder as expected on OS X.&lt;br /&gt;
&lt;br /&gt;
: Response: /Volumes is supposed to be reserved for file systems mounted by Disk Arbitration, so this would be inappropriate.&lt;br /&gt;
&lt;br /&gt;
===Ashift===&lt;br /&gt;
&lt;br /&gt;
  sudo zpool create -f -o ashift=13 -O casesensitivity=insensitive -O normalization=formD -m /Volumes/$poolname $poolname mirror /dev/diskX /dev/diskY&lt;br /&gt;
&lt;br /&gt;
Also, it sounds like ashift really should be 13 for most people.&lt;br /&gt;
&lt;br /&gt;
:The documentation should suggest a useful default value for Macintosh users. What is it about?&lt;/div&gt;</summary>
		<author><name>217.226.87.46</name></author>	</entry>

	<entry>
		<id>https://openzfsonosx.org/wiki/Zpool</id>
		<title>Zpool</title>
		<link rel="alternate" type="text/html" href="https://openzfsonosx.org/wiki/Zpool"/>
				<updated>2014-05-28T13:37:08Z</updated>
		
		<summary type="html">&lt;p&gt;217.226.87.46: On OS X you will want to use [http://en.wikipedia.org/wiki/Unicode_equivalence#Normal_forms NFD normalization], or quite a few applications won't work, e. g. iTunes.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Creating a pool ==&lt;br /&gt;
&lt;br /&gt;
In the past, it was customary to label (i.e., partition) the disks before using them with ZFS. This is no longer the case. Now the preferred method is to have ZFS label the disks for you.&lt;br /&gt;
&lt;br /&gt;
On OS X you will want to use [http://en.wikipedia.org/wiki/Unicode_equivalence#Normal_forms NFD normalization], or quite a few applications won't work, e. g. iTunes.&lt;br /&gt;
&lt;br /&gt;
The default for ashift is 9, but you will most likely want to create pools with an ashift of 12, which is appropriate for 4096 (4k) disks (i.e., Advanced Format disks), even if your disks are still the older 512. If you are using SSDs in your pool now, or anticipate replacing any of your pool's disks with SSDs in the future, then an ashift of 13 is a better choice. It is important to get this right now because a vdev's ashift cannot be changed after the vdev is created.&lt;br /&gt;
&lt;br /&gt;
'''Recommended pool creation command line'''&lt;br /&gt;
&lt;br /&gt;
 sudo zpool create -f -o ashift=12 -O casesensitivity=insensitive -O normalization=formD $poolname mirror /dev/diskX /dev/diskY&lt;br /&gt;
&lt;br /&gt;
Or using &amp;quot;\&amp;quot; to show it broken up over multiple lines:&lt;br /&gt;
&lt;br /&gt;
 sudo zpool create -f -o ashift=12 \&lt;br /&gt;
 -O casesensitivity=insensitive \&lt;br /&gt;
 -O normalization=formD \&lt;br /&gt;
 $poolname mirror /dev/diskX /dev/diskY&lt;br /&gt;
&lt;br /&gt;
* Replace $poolname with the name of the pool you want. For example, &amp;quot;tank.&amp;quot;&lt;br /&gt;
* ''If you want to use the entire disk for ZFS'', replace /dev/diskX and /dev/diskY with the available disks. For example, /dev/disk1 and /dev/disk2.&lt;br /&gt;
* If you have already partitioned the disk, and wish to only use a slice, use /dev/diskXsN. For example, /dev/disk1s2.&lt;br /&gt;
* -f instructs ZFS to label the disk for you.&lt;br /&gt;
&lt;br /&gt;
Use &amp;quot;diskutil list&amp;quot; to make sure you pick the correct disk before attempting to create your pool. 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. This can be done with OS X's built-in &amp;quot;gpt&amp;quot; command or the easier to use &amp;quot;gdisk&amp;quot; command, which can be downloaded [http://sourceforge.net/projects/gptfdisk/ here].&lt;br /&gt;
&lt;br /&gt;
You can also decide to disable '''access time''', enable '''compression,''' and all those nice things. But that can be done at any time in ZFS. For example&lt;br /&gt;
&lt;br /&gt;
 sudo zfs set compression=lz4 $poolname&lt;br /&gt;
&lt;br /&gt;
or for pool version 28 compatibility&lt;br /&gt;
&lt;br /&gt;
 sudo zfs set compression=on $poolname&lt;br /&gt;
&lt;br /&gt;
If you do want compression, you should turn it on '''as soon as possible''', or enable it at the time the pool is created. Turning compression on later will ''only'' apply to new data added to a dataset going forward, ''not'' the preexisting uncompressed data you already put in the dataset while compression was turned off. &lt;br /&gt;
&lt;br /&gt;
For example, you may want to use something like this&lt;br /&gt;
&lt;br /&gt;
 sudo zpool create -f -o ashift=12 -O compression=lz4 -O casesensitivity=insensitive -O atime=off -O normalization=formD tank mirror /dev/disk3 /dev/disk4&lt;br /&gt;
&lt;br /&gt;
Or using &amp;quot;\&amp;quot; to show it broken up over multiple lines:&lt;br /&gt;
 sudo zpool create -f -o ashift=12 \&lt;br /&gt;
 -O compression=lz4 \&lt;br /&gt;
 -O casesensitivity=insensitive \&lt;br /&gt;
 -O atime=off \&lt;br /&gt;
 -O normalization=formD \&lt;br /&gt;
 tank mirror /dev/disk3 /dev/disk4&lt;br /&gt;
&lt;br /&gt;
If you absolutely must be compatible with non-OpenZFS implementations of ZFS (e.g., Oracle Solaris), you'd need to do&lt;br /&gt;
&lt;br /&gt;
 sudo zpool create -f -o version=28 -o ashift=12 -O compression=on -O casesensitivity=insensitive -O atime=off -O normalization=formD tank mirror /dev/disk3 /dev/disk4&lt;br /&gt;
&lt;br /&gt;
Or using &amp;quot;\&amp;quot; to show it broken up over multiple lines:&lt;br /&gt;
&lt;br /&gt;
 sudo zpool create -f -o version=28 -o ashift=12 \&lt;br /&gt;
 -O compression=on \&lt;br /&gt;
 -O casesensitivity=insensitive \&lt;br /&gt;
 -O atime=off \&lt;br /&gt;
 -O normalization=formD \&lt;br /&gt;
 tank mirror /dev/disk3 /dev/disk4&lt;br /&gt;
&lt;br /&gt;
== Unplugging a pool ==&lt;br /&gt;
&lt;br /&gt;
The equivalent of unmounting a device before unplugging it, is exporting a pool in ZFS terminology. &lt;br /&gt;
&lt;br /&gt;
Before unplugging any devices you '''must export all pools used by the device'''.&lt;br /&gt;
&lt;br /&gt;
 sudo zpool export $poolname&lt;br /&gt;
&lt;br /&gt;
The export can sometimes fail if the mount is busy (as with all filesystems). So you might need to close any&lt;br /&gt;
applications still accessing the pool. Also, there is an option &amp;quot;-f&amp;quot; to force unmount while exporting:&lt;br /&gt;
&lt;br /&gt;
 sudo zpool export -f $poolname&lt;br /&gt;
&lt;br /&gt;
If you are just rebooting, you do not need to export first.&lt;/div&gt;</summary>
		<author><name>217.226.87.46</name></author>	</entry>

	<entry>
		<id>https://openzfsonosx.org/wiki/Talk:Autoimport</id>
		<title>Talk:Autoimport</title>
		<link rel="alternate" type="text/html" href="https://openzfsonosx.org/wiki/Talk:Autoimport"/>
				<updated>2014-05-28T13:31:08Z</updated>
		
		<summary type="html">&lt;p&gt;217.226.87.46: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;What am I supposed to do if I have no developer tools and no git installed?&lt;br /&gt;
&lt;br /&gt;
The link to an external source looks fishy and insecure to me: What does this all mean, what does it do? Could anyone comment the code lines, please?&lt;/div&gt;</summary>
		<author><name>217.226.87.46</name></author>	</entry>

	<entry>
		<id>https://openzfsonosx.org/wiki/Zpool</id>
		<title>Zpool</title>
		<link rel="alternate" type="text/html" href="https://openzfsonosx.org/wiki/Zpool"/>
				<updated>2014-05-28T13:27:07Z</updated>
		
		<summary type="html">&lt;p&gt;217.226.87.46: /* Unplugging a pool */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Creating a pool ==&lt;br /&gt;
&lt;br /&gt;
In the past, it was customary to label (i.e., partition) the disks before using them with ZFS. This is no longer the case. Now the preferred method is to have ZFS label the disks for you.&lt;br /&gt;
&lt;br /&gt;
The case-sensitivity default is sensitive, but some 3rd party apps on OS X don't work entirely right if you have a case-sensitive volume. Normalization default is none, though OS X likes [http://en.wikipedia.org/wiki/Unicode_equivalence#Normal_forms NFD normalization], or you may have some issues with characters.&lt;br /&gt;
&lt;br /&gt;
The default for ashift is 9, but you will most likely want to create pools with an ashift of 12, which is appropriate for 4096 (4k) disks (i.e., Advanced Format disks), even if your disks are still the older 512. If you are using SSDs in your pool now, or anticipate replacing any of your pool's disks with SSDs in the future, then an ashift of 13 is a better choice. It is important to get this right now because a vdev's ashift cannot be changed after the vdev is created.&lt;br /&gt;
&lt;br /&gt;
'''Recommended pool creation command line'''&lt;br /&gt;
&lt;br /&gt;
 sudo zpool create -f -o ashift=12 -O casesensitivity=insensitive -O normalization=formD $poolname mirror /dev/diskX /dev/diskY&lt;br /&gt;
&lt;br /&gt;
Or using &amp;quot;\&amp;quot; to show it broken up over multiple lines:&lt;br /&gt;
&lt;br /&gt;
 sudo zpool create -f -o ashift=12 \&lt;br /&gt;
 -O casesensitivity=insensitive \&lt;br /&gt;
 -O normalization=formD \&lt;br /&gt;
 $poolname mirror /dev/diskX /dev/diskY&lt;br /&gt;
&lt;br /&gt;
* Replace $poolname with the name of the pool you want. For example, &amp;quot;tank.&amp;quot;&lt;br /&gt;
* ''If you want to use the entire disk for ZFS'', replace /dev/diskX and /dev/diskY with the available disks. For example, /dev/disk1 and /dev/disk2.&lt;br /&gt;
* If you have already partitioned the disk, and wish to only use a slice, use /dev/diskXsN. For example, /dev/disk1s2.&lt;br /&gt;
* -f instructs ZFS to label the disk for you.&lt;br /&gt;
&lt;br /&gt;
Use &amp;quot;diskutil list&amp;quot; to make sure you pick the correct disk before attempting to create your pool. 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. This can be done with OS X's built-in &amp;quot;gpt&amp;quot; command or the easier to use &amp;quot;gdisk&amp;quot; command, which can be downloaded [http://sourceforge.net/projects/gptfdisk/ here].&lt;br /&gt;
&lt;br /&gt;
You can also decide to disable '''access time''', enable '''compression,''' and all those nice things. But that can be done at any time in ZFS. For example&lt;br /&gt;
&lt;br /&gt;
 sudo zfs set compression=lz4 $poolname&lt;br /&gt;
&lt;br /&gt;
or for pool version 28 compatibility&lt;br /&gt;
&lt;br /&gt;
 sudo zfs set compression=on $poolname&lt;br /&gt;
&lt;br /&gt;
If you do want compression, you should turn it on '''as soon as possible''', or enable it at the time the pool is created. Turning compression on later will ''only'' apply to new data added to a dataset going forward, ''not'' the preexisting uncompressed data you already put in the dataset while compression was turned off. &lt;br /&gt;
&lt;br /&gt;
For example, you may want to use something like this&lt;br /&gt;
&lt;br /&gt;
 sudo zpool create -f -o ashift=12 -O compression=lz4 -O casesensitivity=insensitive -O atime=off -O normalization=formD tank mirror /dev/disk3 /dev/disk4&lt;br /&gt;
&lt;br /&gt;
Or using &amp;quot;\&amp;quot; to show it broken up over multiple lines:&lt;br /&gt;
 sudo zpool create -f -o ashift=12 \&lt;br /&gt;
 -O compression=lz4 \&lt;br /&gt;
 -O casesensitivity=insensitive \&lt;br /&gt;
 -O atime=off \&lt;br /&gt;
 -O normalization=formD \&lt;br /&gt;
 tank mirror /dev/disk3 /dev/disk4&lt;br /&gt;
&lt;br /&gt;
If you absolutely must be compatible with non-OpenZFS implementations of ZFS (e.g., Oracle Solaris), you'd need to do&lt;br /&gt;
&lt;br /&gt;
 sudo zpool create -f -o version=28 -o ashift=12 -O compression=on -O casesensitivity=insensitive -O atime=off -O normalization=formD tank mirror /dev/disk3 /dev/disk4&lt;br /&gt;
&lt;br /&gt;
Or using &amp;quot;\&amp;quot; to show it broken up over multiple lines:&lt;br /&gt;
&lt;br /&gt;
 sudo zpool create -f -o version=28 -o ashift=12 \&lt;br /&gt;
 -O compression=on \&lt;br /&gt;
 -O casesensitivity=insensitive \&lt;br /&gt;
 -O atime=off \&lt;br /&gt;
 -O normalization=formD \&lt;br /&gt;
 tank mirror /dev/disk3 /dev/disk4&lt;br /&gt;
&lt;br /&gt;
== Unplugging a pool ==&lt;br /&gt;
&lt;br /&gt;
The equivalent of unmounting a device before unplugging it, is exporting a pool in ZFS terminology. &lt;br /&gt;
&lt;br /&gt;
Before unplugging any devices you '''must export all pools used by the device'''.&lt;br /&gt;
&lt;br /&gt;
 sudo zpool export $poolname&lt;br /&gt;
&lt;br /&gt;
The export can sometimes fail if the mount is busy (as with all filesystems). So you might need to close any&lt;br /&gt;
applications still accessing the pool. Also, there is an option &amp;quot;-f&amp;quot; to force unmount while exporting:&lt;br /&gt;
&lt;br /&gt;
 sudo zpool export -f $poolname&lt;br /&gt;
&lt;br /&gt;
If you are just rebooting, you do not need to export first.&lt;/div&gt;</summary>
		<author><name>217.226.87.46</name></author>	</entry>

	</feed>