Diff for /wikisrc/zfs.mdwn between versions 1.13 and 1.14

version 1.13, 2020/03/02 00:16:06 version 1.14, 2020/03/02 00:41:17
Line 15  See the man pages for zfs(8) and zpool(8 Line 15  See the man pages for zfs(8) and zpool(8
   
   - [Oracle ZFS Administration Manual](https://docs.oracle.com/cd/E26505_01/html/E37384/index.html)    - [Oracle ZFS Administration Manual](https://docs.oracle.com/cd/E26505_01/html/E37384/index.html)
   - [FreeBSD Handbook ZFS Chapter](https://www.freebsd.org/doc/handbook/zfs.html)    - [FreeBSD Handbook ZFS Chapter](https://www.freebsd.org/doc/handbook/zfs.html)
     - [OpenZFS admin docs index page](https://github.com/openzfs/zfs/wiki/Admin-Documentation)
   
 # Status of ZFS in NetBSD  # Status of ZFS in NetBSD
   
Line 32  Currently, there are multiple ZFS projec Line 33  Currently, there are multiple ZFS projec
 OpenZFS is a coordinating project to align open ZFS codebases.  There  OpenZFS is a coordinating project to align open ZFS codebases.  There
 is a notion of a shared core codebase and OS-specific adaptation code.  is a notion of a shared core codebase and OS-specific adaptation code.
   
   See [FreeBSD's history](https://wiki.freebsd.org/ZFSTuningGuide)
   
 ## NetBSD code history  ## NetBSD code history
   
 \todo This section really needs help.  \todo This section really needs help.
Line 72  The ZFS code in current is very similar  Line 75  The ZFS code in current is very similar 
 There is initial support for [[ZFS root|wiki/RootOnZFS]], via booting from  There is initial support for [[ZFS root|wiki/RootOnZFS]], via booting from
 ffs and pivoting.  ffs and pivoting.
   
 One can make a ccd using a zvol as a component.  This allows reading a  One can make a ccd using a zvol as a component.  See the zvol section below.
 GPT label from the zvol, which is useful in case the zvol had been  
 exported via iscsi and some other system created a label.  
   
 ## things that aren't supported yet  ## things that aren't supported yet
   
Line 100  and report.) Line 101  and report.)
 The main configuration is to put zfs=YES in rc.conf, so that the rc.d  The main configuration is to put zfs=YES in rc.conf, so that the rc.d
 scripts bring up ZFS and mount ZFS file systems.  scripts bring up ZFS and mount ZFS file systems.
   
   ## pool locations
   
   One can add disks or parts of disks into pools.  Methods of specifying
   areas to be included include:
   
     - entire disks (e.g., /dev/rwd0d on amd64)
     - disklabel partitions (e.g., /dev/sd0e)
     - wedges (e.g., /dev/dk0)
   
 ## legacy vs ? mount points  ## legacy vs ? mount points
   
 \todo Explain, if this is NetBSD specific.  Explain consequences, as  \todo Explain, if this is NetBSD specific.  Explain consequences, as
Line 115  NFS.  A workaround is to use noauto and  Line 125  NFS.  A workaround is to use noauto and 
 NetBSD current after 20200301 mounts ZFS first. \todo Explain  NetBSD current after 20200301 mounts ZFS first. \todo Explain
 consequences.  consequences.
   
   ## zvol
   
   Within a ZFS pool, the standard approach is to have file systems, but
   one can also create a zvol, which is a block device of a certain size.
   
   \todo The zvol will appear as /dev/???? and can be used in many
   respects like a slice.  However, the system will not read disklabels
   and gpt labels from a zvol; in this respect it is more like a disklabel
   partition or wedge than a disk drive.
   
   \todo Explain that one can export a zvol via iscsi.
   
   \todo Explain if one can swap on a zvol.
   
   \todo Explain that one can use ccd to create a normal-looking disk
   from a zvol.  This allows reading a GPT label from the zvol, which is
   useful in case the zvol had been exported via iscsi and some other
   system created a label.
   
 ## TRIM  ## TRIM
   
 There is some notion of TRIM and zfs using it.  There is some notion of TRIM and zfs using it.
Line 152  should do instead. Line 181  should do instead.
 \todo Explain pool version and feature flags relationship to FreeBSD,  \todo Explain pool version and feature flags relationship to FreeBSD,
 Linux, OpenIndiana/Illumos/?, and ?  Linux, OpenIndiana/Illumos/?, and ?
   
   # Quick Start
   
   See the [FreeBSD Quickstart
   Guide](https://www.freebsd.org/doc/handbook/zfs-quickstart.html); only
   the first item is NetBSD specific.
   
     - Put zfs=YES in rc.conf.
   
     - Create a pool as "zpool create pool1 /dev/dk0".
   
     - df and see /pool1
   
     - Really, read the FreeBSD docs and the 
   

Removed from v.1.13  
changed lines
  Added in v.1.14


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb