version 1.4, 2009/10/23 23:58:32
|
version 1.5, 2009/10/24 00:04:44
|
Line 15 Use any -current build from i386 or amd6
|
Line 15 Use any -current build from i386 or amd6
|
|
|
User need to |
User need to |
|
|
modload solaris |
modload solaris |
modload zfs |
modload zfs |
|
|
After loading modules user can create zpool(zfs version of volume manager) and manage zfs file systems on it. |
After loading modules user can create zpool(zfs version of volume manager) and manage zfs file systems on it. |
|
|
zpool create {zpool name} {type} {device} |
zpool create {zpool name} {type} {device} |
|
|
where type is: |
where type is: |
|
|
Line 31 where type is:
|
Line 31 where type is:
|
|
|
device is blod device on netbsd /dev/sd0a for example. |
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. |
zpool create tank mirror /dev/sd0a /dev/sd1a creates mirrored zpool between 2 disk partitions. |
|
|
With zpool created we can create zfs filesystems or zvols(zfs logical volume disks) |
With zpool created we can create zfs filesystems or zvols(zfs logical volume disks) |
|
|
zfs create -V {size} tank/{zvol name} creates zvol with {zvol name} from ZPOOL called tank |
zfs create -V {size} tank/{zvol name} creates zvol with {zvol name} from ZPOOL called tank |
|
|
Logical disk is created in |
Logical disk is created in |
|
|
/dev/zvol/rdsk/{zpool name}/{zvol name} |
/dev/zvol/rdsk/{zpool name}/{zvol name} |
|
|
/dev/zvol/dsk/{zpool name}/{zvol name} |
/dev/zvol/dsk/{zpool name}/{zvol name} |
|
|
zfs create tank/{zfs name} create zfs filesystem on a zpool called tank |
zfs create tank/{zfs name} create zfs filesystem on a zpool called tank |
|
|
## Administration |
## Administration |
|
|
Line 91 because zio_root is basicaly zio_null.
|
Line 91 because zio_root is basicaly zio_null.
|
* Snapshots |
* Snapshots |
* Permissions |
* Permissions |
* Old code, we should update NetBSD zfs port to new code |
* Old code, we should update NetBSD zfs port to new code |
|
* More tasks can be found at [http://nxr.netbsd.org/xref/src/external/cddl/osnet/TODO] |