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!

ZFS Pool error

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
mattyg007
NewUser
NewUser
Posts: 12
Joined: 27 Jun 2012 07:45
Status: Offline

ZFS Pool error

Post by mattyg007 »

Hi

When I tray and create my ZFS pool, it gives me an error 1 when I click apply changes.

I read somewhere that I might need to do wipe the drives completely clean before creating the pool, is this true and if so, how do I go about doing that.

Any advise.

Thanks

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: ZFS Pool error

Post by raulfg3 »

mattyg007 wrote:read somewhere that I might need to do wipe the drives completely clean before creating the pool
yes, you can use "dd" to do the job.

http://wiki.nas4free.org/doku.php?id=faq:0129

If you have important data, make a Backup First.

PD: Nas4free can continue working withot problem with this error, only afect to WebGUI not to data or ZFS stability, so if you have a lot of Data, perhaps do you wants to live with "Error 1 changes can not be applied".
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

mattyg007
NewUser
NewUser
Posts: 12
Joined: 27 Jun 2012 07:45
Status: Offline

Re: ZFS Pool error

Post by mattyg007 »

Thanks for the reply, I've run dban on all six of my 2TB drives but I still get the same error when trying to create a pool.

Not sure if I have done something wrong or if there is something else I need to do...

mattyg007
NewUser
NewUser
Posts: 12
Joined: 27 Jun 2012 07:45
Status: Offline

Re: ZFS Pool error

Post by mattyg007 »

Anybody :)

Really would like to use the ZFS file system and need to get this NAS box up and running soon.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: ZFS Pool error

Post by raulfg3 »

Please post your step, perhaps you forgot some importan step.
1 Do you wipe first and last sector ? , please post the comand do you use.
2 How do you create your pool , please describe all step.

tell us what config do you want to use whit your 6 Disk, perhaps can help you to create from CLI if WebGUI do not work (Anbd tell us the name of disk (ad0,2,3,5,7,8,etc...)

PD: This user solved the problem reinstalling NAS4Free: viewtopic.php?f=57&t=261&p=714#p714
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

mattyg007
NewUser
NewUser
Posts: 12
Joined: 27 Jun 2012 07:45
Status: Offline

Re: ZFS Pool error

Post by mattyg007 »

Thanks so much for getting back to me.

I have six disks, ada0, ada1, ada2, ada3, ada4, ada5.

These are the two command i ran on all the drives.
/bin/dd if=/dev/zero of=/dev/ada0 bs=512 count=1
/bin/dd if=/dev/zero of=/dev/ada0 bs=512 oseek=` count=27029168 - 2` count=2

I then logged into the web gui and went to disk management, added the disk without formatting them.
I then went to format and formatted them for ZFS pool.
Then I went to disks, ZFS and created a Virtual device
Then I went to pools, management and tried to added the pool there and that is where it gives me the error.

I have also tried a re-install but didn't help.

Hope this helps, thanks again.

mattyg007
NewUser
NewUser
Posts: 12
Joined: 27 Jun 2012 07:45
Status: Offline

Re: ZFS Pool error

Post by mattyg007 »

Sorry, meant to tell you as well that I would like to create one raidz1 storage pool with all of my drives using all of the available drive space.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: ZFS Pool error

Post by raulfg3 »

mattyg007 wrote:These are the two command i ran on all the drives.
/bin/dd if=/dev/zero of=/dev/ada0 bs=512 count=1
/bin/dd if=/dev/zero of=/dev/ada0 bs=512 oseek=` count=27029168 - 2` count=2
I underline and Bold the part wrong.

To avoid this problem use wipe.sh is the same code of the wiki, copy to /usr/local/sbin and check that have execute permision, try to execute on all disk of your pool like is described on wiki:http://wiki.nas4free.org/doku.php?id=faq:0129
wipe.sh
PD: 27029168 x 51 2= 13.838.934.016 /1024 /1024/1024 =12.88 GB = Strange capacity, so your numbers are wrong.
You do not have the required permissions to view the files attached to this post.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

mattyg007
NewUser
NewUser
Posts: 12
Joined: 27 Jun 2012 07:45
Status: Offline

Re: ZFS Pool error

Post by mattyg007 »

Will give it a try, thanks!

mattyg007
NewUser
NewUser
Posts: 12
Joined: 27 Jun 2012 07:45
Status: Offline

Re: ZFS Pool error

Post by mattyg007 »

When I try and run wipe.sh it says to me command not found.

Not sure why.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: ZFS Pool error

Post by raulfg3 »

use full path /usr/local/sbin/wipe.sh and remember that MUST have execute bit (777 to be sure)
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

mattyg007
NewUser
NewUser
Posts: 12
Joined: 27 Jun 2012 07:45
Status: Offline

Re: ZFS Pool error

Post by mattyg007 »

Sorry, ignore that, had a moment there :)

Running the script now, will let you know the outcome.

mattyg007
NewUser
NewUser
Posts: 12
Joined: 27 Jun 2012 07:45
Status: Offline

Re: ZFS Pool error

Post by mattyg007 »

Ok, after running the script on each drive which took about three days per drive, I reinstalled N4F and tried to setup my ZFS pool with the same error 1 code.

I have no idea why it keeps doing this, I am on the verge of going back over to openfiler as I desperately need a nas again, I would really like to use N4F as it looks like a much better OS for my needs and would really like to use the ZFS filesystem.

I am at a complete dead end and running out of time, any final suggestions would be truly appreciated.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: ZFS Pool error

Post by raulfg3 »

Sorry , I don't have more ideas, perhaps you must try other aproach like OVM, is based on DEBIAN and do not have ZFS , but have Ext4 so perhaps works well for you.

http://www.openmediavault.org/

PD: As far I know, error code 1 was gone with a reisntall from scracth on a new boot disk and "clean" DATA disk, if this do not work for you I don't kwon more to do.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

SlowMo
NewUser
NewUser
Posts: 9
Joined: 25 Jun 2012 01:15
Status: Offline

Re: ZFS Pool error

Post by SlowMo »

I had the same problem when creating a pool. I was trying to create a pool named "Tank" and the only fix I found was to set it up with a custom mountpoint, which was "/mnt/tank". Not sure if this will work for you, but it could.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: ZFS Pool error

Post by raulfg3 »

Hey, your reply is very interesting, I remember a post in the deleted old Nas4free forum of someone that upgrade from FreeNAS 8 that have the same beaviour, and the problem was that FreeNAS 8 Mont / Create Pool in a diferent folder that FreeNAS 7, so you need to impor from GUI adding desired mount point because the mount point originally in FreeNAS 8 Do not work on FreeNAS 7 = Nas4Free.

Code: Select all

zpool import -R /mnt -f poolname
or

Code: Select all

zpool import -o mountpoint=/mnt -f poolname
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

mattyg007
NewUser
NewUser
Posts: 12
Joined: 27 Jun 2012 07:45
Status: Offline

Re: ZFS Pool error

Post by mattyg007 »

Hi, thanks so much for trying to assist, I tried both suggestions but still no luck.

I have decided to settle for a straight forward RAID5 and managed to set it up without any problems.

Thanks again for all your help.

sska
NewUser
NewUser
Posts: 4
Joined: 24 Jun 2012 17:02
Status: Offline

Re: ZFS Pool error

Post by sska »

mattyg007 wrote:I tried both suggestions but still no luck.
can you post the output of these commands?
and what say?

Code: Select all

# zfs get all | grep mountpoint

Post Reply

Return to “ZFS (only!)”