Freenas Error: Unable to GPT format the disk “ada0”
1. Login via SSH, execute commands below.
2. sysctl kern.geom.debugflags=0x10
3. dd if=/dev/zero of=/dev/ada4 bs=512 count=1 && dd if=/dev/zero of=/dev/ada5 bs=512 count=1
4. Log into web interface and use “View Disks” to wipe the drives in that interface
5. Create new ZFS volume including these disks.
massive thanks for this. saved me many hours of wasted struggling.
Thank you very much!!
This worked like a charm.
Have a Great day,
Blaine
Thank you so much for sharing,
I take much time to troubleshoot on this until i found you sharing.
Thank you
Thanks for the help with this. Exactly what I needed! #Bookmarked
Muito obrigado!!!!
Thank u very much!!!!!!!
No problem, it was a big search for me too.
Thank you very much, I’m a new user of Freenas and this definetely save my life (or at least hours of it) 🙂
Great post!
Worked for me too. I owe you a virtual pint!
THANK YOU! After MANY hours of trial and error, blood, swears… etc.. I found your post. Worked immediately. Fantastic work!
Enfin! ça fait longtemps que je cherche la solution à ce problème et voilà que je tombe sur votre article. Merci, les instructions sont simples, rapides à appliquer et efficaces. Je suis sûr que d’autres nouveaux utilisateurs de Freenas comme moi vont vous gratifier pour cet article très utile.
One thing – Reboot. Didn’t not work until I rebooted.
Darn, was hoping to add my name to the list of successes here, but alas is not to be. Did not work for me. Have two Lenovo TS140 servers, both with a pair of new WD 4TB NAS drives and getting this same error on both!
It’s worked for me.
Trying to bring in Fiber channel drives. In DEV folder they are seen as da0, da1, da2, etc. Editing code to
dd if=/dev/zero of=/dev/da0 bs=512 count=1
I get this:
[root@freenas2] /dev# dd if=/dev/zero of=/dev/da0 bs=512 count=1
dd: /dev/da8: Invalid argument
1+0 records in
0+0 records out
0 bytes transferred in 0.000179 secs (0 bytes/sec)
Any ideas?
Saw a typo reproducing the script. Here it is again.
Trying to bring in Fiber channel drives. In DEV folder they are seen as da0, da1, da2, etc. Editing code to
dd if=/dev/zero of=/dev/da0 bs=512 count=1
I get this:
[root@freenas2] /dev# dd if=/dev/zero of=/dev/da0 bs=512 count=1
dd: /dev/da0: Invalid argument
1+0 records in
0+0 records out
0 bytes transferred in 0.000179 secs (0 bytes/sec)
Any ideas?
How did you manage to get this resolved?
A lot of searching and trying multiple commando’s LOL
A lot of research 🙂
Pingback: Freenas Error: Unable to GPT format the disk “ada0” – Ronald van Heugten
Than you so much from France !!!
Magic – solved the problem instantly!
Appreciate the help it work beautifully.
Thanks for your post, your fix worked like a charm! Thank you!
give me not support
great post
thanks for sharing a solution..
thank you writer. I keep on being enthusiastic in writing. I like this article, it’s good to add knowledge that I didn’t know before. how else to complete this process especially for beginners?
awesome thanks