4 disks striped pool created with only one vdev (according to zpool history) (O_oU) Why?

vicmarto

Explorer
Joined
Jan 25, 2018
Messages
61
There is something I don't understand about FreeNAS 11.3-U1. If I create one stripe of 4 disks using the GUI, all seems ok according to zpool status:

Code:
zpool status tank
  pool: tank
 state: ONLINE
  scan: none requested
config:

    NAME                                          STATE     READ WRITE CKSUM
    tank                                          ONLINE       0     0     0
      gptid/1651de44-5dd3-11ea-8417-000c29a97346  ONLINE       0     0     0
      gptid/1666f120-5dd3-11ea-8417-000c29a97346  ONLINE       0     0     0
      gptid/1692cc3e-5dd3-11ea-8417-000c29a97346  ONLINE       0     0     0
      gptid/169545fb-5dd3-11ea-8417-000c29a97346  ONLINE       0     0     0


But, zpool history tank only shows one drive used instead of four:

Code:
zpool create -o feature@lz4_compress=enabled -o altroot=/mnt -o cachefile=/data/zfs/zpool.cache -o failmode=continue -o autoexpand=on -o feature@async_destroy=enabled -o feature@empty_bpobj=enabled -o feature@multi_vdev_crash_dump=enabled -o feature@spacemap_histogram=enabled -o feature@enabled_txg=enabled -o feature@hole_birth=enabled -o feature@extensible_dataset=enabled -o feature@embedded_data=enabled -o feature@bookmarks=enabled -o feature@filesystem_limits=enabled -o feature@large_blocks=enabled -o feature@sha512=enabled -o feature@skein=enabled -o feature@device_removal=enabled -o feature@obsolete_counts=enabled -o feature@zpool_checkpoint=enabled -o feature@spacemap_v2=enabled -O compression=lz4 -O aclmode=passthrough -O aclinherit=passthrough -O mountpoint=/tank tank /dev/gptid/1651de44-5dd3-11ea-8417-000c29a97346


Only /dev/gptid/1651de44-5dd3-11ea-8417-000c29a97346 appears to be used, not all four drives. Why?



Instead, doing exactly the same using 11.2-U8 GUI, zpool history and zpool status seems to agree:

Code:
zpool status tank
  pool: tank
 state: ONLINE
  scan: none requested
config:

    NAME                                          STATE     READ WRITE CKSUM
    tank                                          ONLINE       0     0     0
      gptid/a567c10c-5dd9-11ea-a078-000c294203b8  ONLINE       0     0     0
      gptid/a5809152-5dd9-11ea-a078-000c294203b8  ONLINE       0     0     0
      gptid/a5997184-5dd9-11ea-a078-000c294203b8  ONLINE       0     0     0
      gptid/a5b2f84f-5dd9-11ea-a078-000c294203b8  ONLINE       0     0     0


Code:
zpool create -o cachefile=/data/zfs/zpool.cache -o failmode=continue -o autoexpand=on -O compression=lz4 -O aclmode=passthrough -O aclinherit=passthrough -f -m /tank -o altroot=/mnt tank /dev/gptid/a567c10c-5dd9-11ea-a078-000c294203b8 /dev/gptid/a5809152-5dd9-11ea-a078-000c294203b8 /dev/gptid/a5997184-5dd9-11ea-a078-000c294203b8 /dev/gptid/a5b2f84f-5dd9-11ea-a078-000c294203b8


Both says same info: all four drives are used. Why? THANKS!
 
Top