Diff for /wikisrc/users/haad/porting_zfs.mdwn between versions 1.2 and 1.3

version 1.2, 2009/10/23 23:47:20 version 1.3, 2009/10/23 23:55:51
Line 20  User need to Line 20  User need to
   
 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 {name} {type} {device}   zpool create {zpool name} {type} {device} 
   
 type:  where type is:
  * mirror  
  * raidz  * mirror
  * raidz2  * raidz
  * default is normal linear allocation  * raidz2
   * default is normal linear allocation
   
 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)
   
   zfs create -V {size} tank/{zvol name} creates zvol with {zvol name} from ZPOOL called tank
   
   Logical disk is created in 
   
   /dev/zvol/rdsk/{zpool name}/{zvol name} 
   /dev/zvol/dsk/{zpool name}/{zvol name}
   
   zfs create tank/{zfs name} create zfs filesystem on a zpool called tank 
   
 ## Administration  ## Administration
   

Removed from v.1.2  
changed lines
  Added in v.1.3


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