Page 1 of 1

Error when create ZFS pool

Posted: 03 Sep 2013 02:29
by spargopolis
I'm new to NAS4Free and I'm running into a problem with ZFS.

I have a system single 500GB SATA (may go bigger later). I boot my mini-PC from USB, with the intention of keeping the SATA drive entirely data. I would like to create a ZFS VDev/Pool/Dataset.

1) I create the VDev with Stripe option and it sees the physical storage; all is good.
2) Attempt to create the pool. It sees the VDev, and then I click Save. The pool status goes to "Initializing" in all columns except Name.
I click "Apply changes" and I get an Error 1. I read in another posting to retrieve the log. Here is the excerpt:

Code: Select all

Sep  3 03:51:38 nas4free root: zpool history
Sep  3 03:57:38 nas4free root: zpool destroy MediaPool0
Sep  3 03:57:38 nas4free root: cannot open 'MediaPool0': no such pool
Sep  3 03:58:36 nas4free root: gnop create -S 4096 /dev/ada0
Sep  3 03:58:36 nas4free root: gnop: Provider ada0.nop already exists.
(note log shows that I deleted, and then re-added "MediaPool0").

After this the pool stays at "Initializing" state for hours. Eventually all columns switch to "Unknown". Disks|ZFS|Pools|Information always shows "no pools available".

Should I delete this "/dev/ada0" file perhaps? Other suggestions would be appreciated.

Thanks for your interest.

Re: Error when create ZFS pool

Posted: 13 Sep 2013 07:09
by Windependence
Did you format the drive as a ZFS storage pool device before you created the vdev?

-Tim

[Solved] Re: Error when create ZFS pool

Posted: 07 Oct 2013 23:00
by spargopolis
Sorry for the late very reply to this thread.

It turned out that somehow the USB stick I was using was corrupted, or at least that's the best explanation I have. It was an old stick I have had for many years.

Anyway I bought a new 16 GB USB stick (reasonable brand name) and reinstalled the nas4free image (9.1) on it. With it I was able to create the ZFS pool, dataset, etc., and I'm up and running. Hopefully this will help someone with a similar problem.

Thanks for your interest.