Page 1 of 1

Is there some kind of Expert-Mode for ZFS ?

Posted: 22 Aug 2013 10:59
by drnicolas
I am a Newbie with NAS4Free/ZFS.

My first expereinces were with a virtual NAS4Free - no problems.

The reality is - as always - more complicated:

I tried to re-use 3 older HD (2x25GB, 1 300GB) - please no blames on that; I just did not want to buy 3 new HDs for the brand-new N54L.

So I first created the vdev from the 3HD with RAIDZ1 successfulyy, I think

But the next step went wrong: Creating the Pool from ZFS-Pools-Management gave me a "Error code 1" when I was clicking "Accept" (Originallly it is in German).

I tried a lot, including running the wipe-Script, but no success at all.

Finally, I tortured my brain with using the CLI via SSH.
And therefore zcreate told me something of drives with different size and ordered me to use "-f"-switch; finally this worked.

So, this is the first question: Is there a more sophisticated WebGUI for ZFS available - say, some sort of Expert-mode with a checkbox "please show me all the black-magic going on in backgriund of the GUI"?

Error code 1 as an explanation for what is wrong is useless!!

Next question: The vdev/pool has been created with 512Bytes Blocksize - is this a problem? Can that be corrected later ?

Next question: According to examples how to use zcreate the pool called 'storage' is mounted at "/", not under "/mnt". This turns out to be a problem when creating Shares for CIFS, which always want to share below "/mnt". Can that be corrected ?

Many thanks in advance!

Re: Is there some kind of Expert-Mode for ZFS ?

Posted: 22 Aug 2013 13:17
by raulfg3
Error code 1 indicate that your disk are previously used on a ZFS pool, You need to wipe prior to reuse


You need to use -f flag ( force ) flag because your disk are diferent size disk, read wiki & doku to find the force flag in webGui.

Next question: is not a problem , is normal, for yor actual disk, and can not be changed later.

Re: Is there some kind of Expert-Mode for ZFS ?

Posted: 22 Aug 2013 13:30
by b0ssman
and the mount point can be changed from the zfs pages

Re: Is there some kind of Expert-Mode for ZFS ?

Posted: 22 Aug 2013 13:31
by chrisf4lc0n
the block sizes can be changed in the future, by creatng gnops, just search this forum... there is a fair bit of an info about that. also the mount points can be changed by using "zfs set mountpoint" command... zfs is abit different to any other fs, as it is a fs, partitioning tool to certain extent and partition manager in one. just check the help for zpool and zfs commands in shell

Re: Is there some kind of Expert-Mode for ZFS ?

Posted: 22 Aug 2013 23:15
by drnicolas
Okay, I think I found the Checkbox for "-f".
In German "Erzwinge Nutzung" is far, far awy from -f.

Suggestion: Add some text about "-force Flag" to the GUI

Re: Is there some kind of Expert-Mode for ZFS ?

Posted: 23 Aug 2013 03:14
by fsbruva
raulfg3 wrote:Error code 1 indicate that your disk are previously used on a ZFS pool,
I have also seen error code 1 when the pool is named illegally, such as with a space in the name.