version 1.1, 2009/10/22 04:28:54
|
version 1.2, 2009/10/23 23:47:20
|
Line 1
|
Line 1
|
# 1. Status of NetBSD zfs port |
# 1. Status of NetBSD zfs port |
|
|
NetBSD zfs port is work in progress and can easily panic your system. |
NetBSD zfs port is work in progress and can easily panic your system. |
|
|
|
**ZFS currently works ony on i386!!** |
|
|
--- |
--- |
# 2. Using NetBSD ZFS port |
# 2. Using NetBSD ZFS port |
|
|
|
|
## Instalation |
## Instalation |
|
|
|
Use any -current build from i386 or amd64 architecture. All tools and modules should be built by default, now. There are 2 modules used for ZFS solaris.kmod and zfs.kmod. Solaris module provides solaris like interfaces to zfs on NetBSD. The second module is zfs and provides zfs file system functions. |
|
|
## Configuration |
## Configuration |
|
|
|
User need to |
|
|
|
modload solaris |
|
modload zfs |
|
|
|
After loading modules user can create zpool(zfs version of volume manager) and manage zfs file systems on it. |
|
|
|
zpool create {name} {type} {device} |
|
|
|
type: |
|
* mirror |
|
* raidz |
|
* raidz2 |
|
* default is normal linear allocation |
|
|
|
device is blod device on netbsd /dev/sd0a for example. |
|
|
|
zpool create tank mirror /dev/sd0a /dev/sd1a creates mirrored zpool between 2 disk partitions. |
|
|
|
|
## Administration |
## Administration |
|
|
--- |
--- |