Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZFS Linux/illumos functionality differences #3851

Closed
kvaps opened this issue Sep 28, 2015 · 6 comments
Closed

ZFS Linux/illumos functionality differences #3851

kvaps opened this issue Sep 28, 2015 · 6 comments
Labels
Type: Documentation Indicates a requested change to the documentation

Comments

@kvaps
Copy link

kvaps commented Sep 28, 2015

Permissions are applied, but /usr/sbin/zfs does not runs from simple user

# zfs create rpool/test
# zfs allow someuser destroy,clone,create,mount,share,sharenfs rpool/test
# zfs allow rpool/test
---- Permissions on rpool/test ---------------------------------------
Local+Descendent permissions:
    user someuser clone,create,destroy,mount,share,sharenfs
# su - someuser
# zfs create rpool/test/123
Permission denied the ZFS utilities must be run as root.

CentOS Linux release 7.1.1503 (Core)

@DeHackEd
Copy link
Contributor

#434 This is a known deficiency. More advanced ZFS features are not likely to be available for a while. We're still focusing on stability, reliability and the most common features.

@behlendorf behlendorf added this to the 1.0.0 milestone Sep 28, 2015
@behlendorf behlendorf added the Type: Feature Feature request or new feature label Sep 28, 2015
@behlendorf
Copy link
Contributor

This is one of the few remaining standard ZFS features which has not yet been implemented for Linux. We'd definitely like to implement it once a developer has time to work on it.

@ryao
Copy link
Contributor

ryao commented Sep 30, 2015

Here is a brief summary of the things we are missing that Illumos has:

  • Delegation support
  • ClamAV support
  • iSCSI integration (shareiscsi)
  • Multiple vdev dump device support (a feature flag that has some minor disk format changes)
  • sharesmb option support
  • NFSv4 ACL support (Linux's NFSv4 ACL support being bad is a blocker)
  • Support for OpenSolaris File Attributes (we currently only support the ones common to both Linux and OpenSolaris).

There might be others, but those are all that I recall offhand.

@FransUrbo
Copy link
Contributor

iSCSI integration (shareiscsi)
sharesmb option support

Actually, neither of these are technically true. Especially not the last one! It's not good (I have a rewrite), but it works most of the time for most people.

@behlendorf
Copy link
Contributor

This is a good thing to document to let me expand a little on each of these items.

  • Delegation support - This can be implemented it requires integration with Linux permissions, Support ZFS delegations #434.
  • ClamAV - This can be implemented but there's been very little interest.
  • iSCSI (shareiscsi) - This support was removed from illumos in 2010, there is interest in adding it back. One nice flexible way to go about this is to build it on new ZED infrastructure for handling share events.
  • sharesmb option support - This can be implemented it also depends on new ZED infrastructure.
  • NFSv4 ACL support - Depends on Linux adding support NFSv4 ACLs or some equivalent.
  • Multiple vdev dump device support - This feature is useful for compatibility between platform but serves no real value under Linux due to how differently crash dumps are handled.
  • Support for OpenSolaris File Attributes - Only support for the ones common to both Linux and OpenSolaris, support should be added for Linux specific attributes.

@behlendorf behlendorf added Type: Documentation Indicates a requested change to the documentation and removed Type: Feature Feature request or new feature labels Sep 30, 2015
@behlendorf behlendorf changed the title zfs allow does not work ZFS Linux/illumos functionality differences Sep 30, 2015
@behlendorf behlendorf removed this from the 1.0.0 milestone Oct 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Documentation Indicates a requested change to the documentation
Projects
None yet
Development

No branches or pull requests

6 participants
@behlendorf @FransUrbo @ryao @DeHackEd @kvaps and others