Trying to create a FreeNAS storage pool

Status
Not open for further replies.
Joined
Jun 19, 2013
Messages
3
I have successfully built a FreeNAS server but following a hard drive and motherboard failure I'm trying to build a new clean FreeNAS.
I can see my 4 disks in Storage - Volumes - View Disks
When I try to create a new Volume I get the message Error: Unable to GPT format the disk ada0
Opening up a terminal gives the following messages ...

[root@freenas] ~# gpart show ada0
gpart: No such geom: ada0.
[root@freenas] ~# gpart create -s gpt ada0
gpart: geom 'ada0': Operation not permitted
[root@freenas] ~# sysctl kern.geom.debugflags=0x10
kern.geom.debugflags: 0 -> 16
[root@freenas] ~# gpart create -s gpt ada0
ada0 created
[root@freenas] ~# gpart show ada0
=> 34 3907029101 ada0 GPT (1.8T)
34 3907029101 - free - (1.8T)

[root@freenas] ~#

But when I reboot the FreeNAS box the partition has disappeared!

Can anyone help me stop going in circles?

Thanks, Colin
 

Drk

Dabbler
Joined
May 26, 2013
Messages
38
Are you mounting the the freenas drive, mount -uw /?
 
Joined
Jun 19, 2013
Messages
3
Problem solved.

After using the gpart create command the disk wipe on the GUI seemed to reconcile things between the terminal and GUI and I was able to create a new volume.

Now all I have to do is remember how to set up a CIFS. (I wish I wasn't so old.)

Thanks, Colin
 

MtK

Patron
Joined
Jun 22, 2013
Messages
471
ooops...
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Status
Not open for further replies.
Top