zfs/scripts/zpool-config
Brian Behlendorf ebe7e575ea Add .zfs control directory
Add support for the .zfs control directory.  This was accomplished
by leveraging as much of the existing ZFS infrastructure as posible
and updating it for Linux as required.  The bulk of the core
functionality is now all there with the following limitations.

*) The .zfs/snapshot directory automount support requires a 2.6.37
   or newer kernel.  The exception is RHEL6.2 which has backported
   the d_automount patches.

*) Creating/destroying/renaming snapshots with mkdir/rmdir/mv
   in the .zfs/snapshot directory works as expected.  However,
   this functionality is only available to root until zfs
   delegations are finished.

      * mkdir - create a snapshot
      * rmdir - destroy a snapshot
      * mv    - rename a snapshot

The following issues are known defeciences, but we expect them to
be addressed by future commits.

*) Add automount support for kernels older the 2.6.37.  This should
   be possible using follow_link() which is what Linux did before.

*) Accessing the .zfs/snapshot directory via NFS is not yet possible.
   The majority of the ground work for this is complete.  However,
   finishing this work will require resolving some lingering
   integration issues with the Linux NFS kernel server.

*) The .zfs/shares directory exists but no futher smb functionality
   has yet been implemented.

Contributions-by: Rohan Puri <rohan.puri15@gmail.com>
Contributiobs-by: Andrew Barnes <barnes333@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #173
2012-03-22 13:03:47 -07:00
..
Makefile.am Replace custom zpool configs with generic configs 2010-11-08 14:03:36 -08:00
Makefile.in Add .zfs control directory 2012-03-22 13:03:47 -07:00
dm0-raid0.sh Add build system 2010-08-31 13:41:27 -07:00
file-raid0.sh Add build system 2010-08-31 13:41:27 -07:00
file-raid10.sh Add build system 2010-08-31 13:41:27 -07:00
file-raidz.sh Add build system 2010-08-31 13:41:27 -07:00
file-raidz2.sh Add build system 2010-08-31 13:41:27 -07:00
hda-raid0.sh Add build system 2010-08-31 13:41:27 -07:00
lo-faulty-raid0.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
lo-faulty-raid10.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
lo-faulty-raidz.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
lo-faulty-raidz2.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
lo-faulty-raidz3.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
lo-raid0.sh Delay before destroying loopback devices 2011-06-03 14:38:25 -07:00
lo-raid10.sh Delay before destroying loopback devices 2011-06-03 14:38:25 -07:00
lo-raidz.sh Delay before destroying loopback devices 2011-06-03 14:38:25 -07:00
lo-raidz2.sh Delay before destroying loopback devices 2011-06-03 14:38:25 -07:00
md0-raid5.sh Add build system 2010-08-31 13:41:27 -07:00
md0-raid10.sh Add build system 2010-08-31 13:41:27 -07:00
ram0-raid0.sh Add build system 2010-08-31 13:41:27 -07:00
scsi_debug-noraid.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
scsi_debug-raid0.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
scsi_debug-raid10.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
scsi_debug-raidz.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
scsi_debug-raidz2.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
scsi_debug-raidz3.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
sda-raid0.sh Add build system 2010-08-31 13:41:27 -07:00
zpool-raid0.sh Replace custom zpool configs with generic configs 2010-11-08 14:03:36 -08:00
zpool-raid10.sh Replace custom zpool configs with generic configs 2010-11-08 14:03:36 -08:00
zpool-raidz.sh Replace custom zpool configs with generic configs 2010-11-08 14:03:36 -08:00