This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Error when create ZFS pool

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
spargopolis
NewUser
NewUser
Posts: 7
Joined: 03 Sep 2013 02:04
Location: Ottawa, Canada
Status: Offline

Error when create ZFS pool

Post 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.

Windependence
NewUser
NewUser
Posts: 2
Joined: 13 Sep 2013 07:07
Status: Offline

Re: Error when create ZFS pool

Post by Windependence »

Did you format the drive as a ZFS storage pool device before you created the vdev?

-Tim

spargopolis
NewUser
NewUser
Posts: 7
Joined: 03 Sep 2013 02:04
Location: Ottawa, Canada
Status: Offline

[Solved] Re: Error when create ZFS pool

Post 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.

Post Reply

Return to “ZFS (only!)”