Page 1 of 1

ZFS terminology questions

Posted: 27 Aug 2016 16:24
by danzi
Hey guys,

could not find a sticky thread, maybe this could become one.

I have set up nas4free on virtualbox to check new features. Having been using version 9.x for over 5 years now love nas4free very much.

Playing around with the new GUI especially the ZFS part here is what I found:

- so first you need a VDEV. I have added 3 disks in RaidZ1 config and created a pool that has only this one RaidZ vdev in it.

nas4free: ~# zpool status
pool: allVdevs
state: ONLINE
scan: none requested
config:

NAME STATE READ WRITE CKSUM
allVdevs ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
ada1 ONLINE 0 0 0
ada2 ONLINE 0 0 0
ada3 ONLINE 0 0 0

errors: No known data errors

The pool itself had to be created within the gui, although I am sure when you create a VDEV (the raidz1) a pool automatically gets created with it, right?

The above output is from terminal, yet in the GUI Virtual Device menu I see:
NAME: allVdevs_raidz1_0
TYPE: raidz1

In the Pools menu I see:
NAME: allVdevs
size, Alloc, Free, etc...

Q:
The GUI will refer to the virtual device as Poolname_typeofVDEV_numberofvdev? Is that what I see as allVdevs_raidz1_0 ?

sorry for the long post, just found it a bit confusing.

Re: ZFS terminology questions

Posted: 27 Aug 2016 16:40
by danzi
oh and adding another 3 disks in RaidZ1 was tricky. I could not find a way to do it, only via terminal with:

zpool add allVdevs raidz1 /dev/ada4 /dev/ada5 /dev/ada6

Re: ZFS terminology questions

Posted: 27 Aug 2016 19:46
by ms49434
The latest NAS4Free builds have a reworked zpool tools page which allows you to expand an existing pool with another vdev.
After you finished all zpool configuration tasks you should sync the zpool configuration from Disks -> ZFS -> Configuration -> Syncronize.