Managed to select 2 disks as FreeNAS disk, problems with gpart and wiping

Joined
Mar 1, 2020
Messages
1
Hello.

Just installed FreeNAS-11.3-U1 and thought I managed to get it right the first time (of course not)..
I managed to tick off 2x Crucial 256gb SSD drives to install FreeNAS on, didnt think much of it, thought I could change it later on.
But somehow managed to just install it on both drives and then the problems started.

So I tried reinstalling it, chose 1 of the SSD (ada0) and everything seemed fine but ada1 is still "linked" with the ada0 (which is the only disk I want to be a freenas-boot).
I want to use the spare ssd for plugins later on.

Problem is I don't see any wipe settings in storage, Ive tried gpart and DD the sectors off but it doesnt seem to work.

Is there a way to just "start over" with the install so it wipes over existing data?

root@freenas[~]# gpart show
=> 40 488397088 ada0 GPT (233G)
40 1024 1 freebsd-boot (512K)
1064 33554432 3 freebsd-swap (16G)
33555496 454819840 2 freebsd-zfs (217G)
488375336 21792 - free - (11M)

=> 40 488397088 ada1 GPT (233G)
40 1024 - free - (512K)
1064 33554432 3 freebsd-swap (16G)
33555496 454819840 2 freebsd-zfs (217G)
488375336 21792 - free - (11M)

=> 40 7814037088 da5 GPT (3.6T)
40 88 - free - (44K)
128 4194304 1 freebsd-swap (2.0G)
4194432 7809842696 2 freebsd-zfs (3.6T)

=> 40 7814037088 da4 GPT (3.6T)
40 88 - free - (44K)
128 4194304 1 freebsd-swap (2.0G)
4194432 7809842696 2 freebsd-zfs (3.6T)

=> 40 7814037088 da3 GPT (3.6T)
40 88 - free - (44K)
128 4194304 1 freebsd-swap (2.0G)
4194432 7809842696 2 freebsd-zfs (3.6T)

=> 40 7814037088 da1 GPT (3.6T)
40 88 - free - (44K)
128 4194304 1 freebsd-swap (2.0G)
4194432 7809842696 2 freebsd-zfs (3.6T)

=> 40 7814037088 da7 GPT (3.6T)
40 88 - free - (44K)
128 4194304 1 freebsd-swap (2.0G)
4194432 7809842696 2 freebsd-zfs (3.6T)

=> 40 7814037088 da6 GPT (3.6T)
40 88 - free - (44K)
128 4194304 1 freebsd-swap (2.0G)
4194432 7809842696 2 freebsd-zfs (3.6T)

=> 40 7814037088 da0 GPT (3.6T)
40 88 - free - (44K)
128 4194304 1 freebsd-swap (2.0G)
4194432 7809842696 2 freebsd-zfs (3.6T)

=> 40 7814037088 da2 GPT (3.6T)
40 88 - free - (44K)
128 4194304 1 freebsd-swap (2.0G)
4194432 7809842696 2 freebsd-zfs (3.6T)



---
Everything is working fine, the disks shows up under disk, the HBA is working fine as well.


Not sure what to do..

I forgot when settin up the server that FreeNAS requires a drive, I would go for USB sticks but I've tried that before and it always ends up bad for me even with good sticks.


All help is appreciated, thank you. :)




My setup:
Supermicro X10SRL-F
Xeon E5-1650v3
LSI 5Gbps SAS HBA LSI 9211-8i (=9201i-8i) P20 flashes to IT mode
8 X HGST 7200rpm
2 X Cruical MX500 256GB SSD
1300W PSU
 
Joined
Oct 18, 2018
Messages
969
I managed to tick off 2x Crucial 256gb SSD drives to install FreeNAS on, didnt think much of it, thought I could change it later on.
But somehow managed to just install it on both drives and then the problems started.
This setup is often desirable because it gives you mirrored boot devices.

So I tried reinstalling it, chose 1 of the SSD (ada0) and everything seemed fine but ada1 is still "linked" with the ada0 (which is the only disk I want to be a freenas-boot).
I want to use the spare ssd for plugins later on.
What exactly do you mean by "linked" to ada0? I suspect you mean that lists as being in a pool?

Also, FWIW, the ada1, ada0 etc identifiers are not immutable. FreeNAS identifies disks by their partition UUID, which doesn't change after creation. Often you will see boot devices or things plugged into the same port always receivethe same ada1, ada2, etc identifier but in generaly shouldn't be relied on.

Problem is I don't see any wipe settings in storage, I've tried gpart and DD the sectors off but it doesnt seem to work.
I think it is something like the following.
storage->disks->select disk->erase.Sometimes you have to scroll to the right from the disks screen to select the action drop down.

I'm surprised you're not able to reformat or erase the disks with gpart.
 
Top