version 1.12, 2020/03/02 00:09:25
|
version 1.13, 2020/03/02 00:16:06
|
Line 1
|
Line 1
|
# ZFS on NetBSD |
# ZFS on NetBSD |
|
|
This page attempts to do two things: provide enough orientation and |
This page attempts to do two things: provide enough orientation and |
pointers to dstandard ZFS documentation for NetBSD users who are new to |
pointers to standard ZFS documentation for NetBSD users who are new to |
ZFS, and to describe NetBSD-specific ZFS information. It is |
ZFS, and to describe NetBSD-specific ZFS information. It is |
emphatically not a tutorial or an introduction to ZFS. |
emphatically not a tutorial or an introduction to ZFS. |
|
|
Line 48 problems. If one wants to use ZFS, firs
|
Line 48 problems. If one wants to use ZFS, firs
|
unlikely that anyone is interested in helping, other than telling you |
unlikely that anyone is interested in helping, other than telling you |
to upgrade to 9. |
to upgrade to 9. |
|
|
(Reports of how well NetBDS 8 works are welcome on netbsd-users, if it |
(Reports of how well NetBSD 8 works are welcome on netbsd-users, if it |
can actually be recommended for use.) |
can actually be recommended for use.) |
|
|
## NetBSD 9 |
## NetBSD 9 |
Line 76 One can make a ccd using a zvol as a com
|
Line 76 One can make a ccd using a zvol as a com
|
GPT label from the zvol, which is useful in case the zvol had been |
GPT label from the zvol, which is useful in case the zvol had been |
exported via iscsi and some other system created a label. |
exported via iscsi and some other system created a label. |
|
|
## things that aren't suported yet |
## things that aren't supported yet |
|
|
\todo hotswap (maybe - not clear exactly what this means) |
\todo hotswap (maybe - not clear exactly what this means) |
|
|
\todo direct boot into zfs root (via bootblocks reading zfs) |
\todo direct boot into zfs root (via boot blocks reading zfs) |
|
|
## Architectures |
## Architectures |
|
|
Line 98 and report.)
|
Line 98 and report.)
|
## rc.conf |
## rc.conf |
|
|
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 filesystems. |
scripts bring up ZFS and mount ZFS file systems. |
|
|
## legacy vs ? mount points |
## legacy vs ? mount points |
|
|
Line 107 this seems to have something to do with
|
Line 107 this seems to have something to do with
|
|
|
## mount order |
## mount order |
|
|
NetBSD 9 mounts other filesystems and then ZFS filesystems. This can |
NetBSD 9 mounts other file systems and then ZFS file systems. This can |
be a problem if /usr/pkgsrc is on ZFS and /usr/pkgsrc/distfiles is on |
be a problem if /usr/pkgsrc is on ZFS and /usr/pkgsrc/distfiles is on |
NFS. A workaround is to use noauto and do the mounts in |
NFS. A workaround is to use noauto and do the mounts in |
/etc/rc.local. |
/etc/rc.local. |