Difference between revisions of "Talk:Zpool"

From OpenZFS on OS X
Jump to: navigation, search
m
(xattrs)
Line 22: Line 22:
  
 
Shouldn't we also specify: -O xattr=sa
 
Shouldn't we also specify: -O xattr=sa
 +
 +
No, I tried it, and it's either not supported, or else not compatible in various ways with some combination of Yosemite/SMB/Finder. Regardless, it led to many hours and some frustrating troubleshooting.

Revision as of 23:03, 15 November 2014

Write for Macintosh users

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.

Mount point

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.

Response: /Volumes is supposed to be reserved for file systems mounted by Disk Arbitration, so this would be inappropriate.
Would probably be good to mention that in the docs--I think plenty of Mac admins do not understand that point, nor that the zfs filesystem will not be mounted through disk arbitration.

Ashift

 sudo zpool create -f -o ashift=13 -O casesensitivity=insensitive -O normalization=formD -m /Volumes/$poolname $poolname mirror /dev/diskX /dev/diskY

Also, it sounds like ashift really should be 13 for most people.

The documentation should suggest a useful default value for Macintosh users. What is it about?

xattrs

Shouldn't we also specify: -O xattr=sa

No, I tried it, and it's either not supported, or else not compatible in various ways with some combination of Yosemite/SMB/Finder. Regardless, it led to many hours and some frustrating troubleshooting.