My “new fileserver” project had been on hold for a bit what with moving house etc but now i’m moved i thought i’d give it another go!
The “brick wall” i’d previously hit was my supermicro sata expansion cards (AOC-SAT2-MV8) were being picked up by the highpoint rocket raid driver (hptrr) when in fact they should be handled by a different driver. After some searching i found information suggesting a full FreeNAS install would allow me to tweak the /boot/defaults/loader.conf (adding hptrr_load=”NO”) to get around this problem.
Unfortunately- that didn’t work! Some more research suggested i needed to recompile the FreeNAS kernel without the hptrr driver, but this is really a bit beyond my expertise! So i kept searching!
Finally, i found another /boot/defaults/loader.conf suggestion (adding hw.hptrr.attach_generic=0) and voila- i was up and running!
So i added my disks (Disks|Management) and created my virtual device (Disks|ZFS|Pools|Virtual device), but when i add a pool and click apply i get an error: The changes could not be applied (error code 1). And in the log: cannot create zpool permission denied.
A final bit of googling reveals a command: sysctl -w kern.geom.debugflags=17 – finally i’m able to create my zpool :)
That’s all for now- i need to migrate some more of my network equipment before i can begin benchmarking etc.
L
That is an awesome piece of information. I had the exact same error until I put that command line in the command execution box. Any more information on what it does?
I’m using an ST Lab A-230 PCI to SATA/IDE card as I needed a very cheap solution to getting a RAID5 setup going, the motherboard I was using only has 2 SATA ports, so I elected to get a cheap card to solve my problem. I don’t need the speed, just the space.
Was very frustrated and disappointed with the FreeNAS error (mainly because I’ve done many a ZFS setup on different hardware before) this has saved my evening. Thanks heaps!
Wow, your line also solved my freenas ZFS error code 1. Using a similar config as Adrew scribes above.
I really got no clou about what i ‘m doing, but it is working. Thanks.
I have bad news (mainly for myself).. This didn’t fix my (Error Code 1) at all, it is still there and freaks me out :(
Try changing the names of “virtual device” and “management” at Zfs / Pools.
You can also just make the Pool manually using command line. Zpool create is the command to use to do this. I do it this way and have zero issues.
Hey guys.. interesting thread. I have the same problem with trying to build a izfs pool. I’m very new to this. I use the gui under mgmt and create pool and i get error 1. not sure what else to do. I can create a virtual device but when i try to create the pool i get error1.
This was a great help!
I had the same problem… Connected via SSH and entered the command “sysctl -w kern.geom.debugflags=17” it then gave me an output:
kern.geom.debugflags: 0 -> 17
I went back to my web-browser to apply the changes in my Disk | ZFS | Pools | Management and presto! Worked!
Thank you so much!