User Tools

Site Tools


zfs:pools:a_file_based_zpool_example

ZFS - Pools - A file based zpool example

Single File Test

A single 2GB file is used as a VDEV and a zpool is made from just this one VDEV:

dd if=/dev/zero of=test.img bs=1M count=2048
sudo zpool create testpool /home/peter/test.img
sudo zpool status
  pool: pool-test
 state: ONLINE
  scan: none requested
config:
 
        NAME                      STATE     READ WRITE CKSUM
        pool-test                 ONLINE       0     0     0
          /home/peter/test.img    ONLINE       0     0     0

NOTE:

  • /home/peter/test.img: is a file based VDEV.
  • testpool: is the pool.

zfs/pools/a_file_based_zpool_example.txt · Last modified: 2021/10/13 10:47 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki