Disk Pool

ChillyD

Cadet
Joined
Mar 28, 2020
Messages
7
Hi There

I have TrueNas 12 running with (1) 232G Boot drive (ada0) and (3) other red WD 2TB data drives (ada1, ada2 & ada3). Please note ada1, ada2 & ada3 used to be the TrueNAS install disk, which I am no longer using and have no need for the data on these drives.

The issue I have is I cannot create a pool on ada 1,2 or 3 as they do not show up under the drive list (see attached).

I am happy to blow the data on ada1, 2 & 3 disk away, but for the life of me I cannot figure out how to do this.

Can anyone please tell me how I can erase/wipe reformat drives ada1, ada2 & ada3?
 

Attachments

  • Screen Shot 2021-03-02 at 7.40.39 pm.png
    Screen Shot 2021-03-02 at 7.40.39 pm.png
    56.7 KB · Views: 187
  • Screen Shot 2021-03-02 at 7.40.48 pm.png
    Screen Shot 2021-03-02 at 7.40.48 pm.png
    33.1 KB · Views: 185

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Can anyone please tell me how I can erase/wipe reformat drives ada1, ada2 & ada3?
In the disks list, you should have a small > symbol at the right side of the line.

After clicking on that, you should see the option to Wipe the disk.

After it's wiped, it should be available in the pool operations.
 

ChillyD

Cadet
Joined
Mar 28, 2020
Messages
7
In the disks list, you should have a small > symbol at the right side of the line.

After clicking on that, you should see the option to Wipe the disk.

After it's wiped, it should be available in the pool operations.
Thank you for the prompt response.

I have checked the symbol to the right and on ada0 I have the option to wipe the disk, but not on ada1, ada2 or ada3 (see attached)
 

Attachments

  • Screen Shot 2021-03-02 at 8.35.36 pm.png
    Screen Shot 2021-03-02 at 8.35.36 pm.png
    112.7 KB · Views: 185

Hellione

Explorer
Joined
Jan 23, 2021
Messages
55
scroll down? your picture ends in the middle of ada1.
 

Hellione

Explorer
Joined
Jan 23, 2021
Messages
55
or, write zeros to all drives, maybe reboot, and try creating your vdev again.

in the shell, execute
dd if=/dev/zero of=/dev/ada1 bs=10M
dd if=/dev/zero of=/dev/ada2 bs=10M
dd if=/dev/zero of=/dev/ada3 bs=10M
 

ChillyD

Cadet
Joined
Mar 28, 2020
Messages
7

Attachments

  • Screen Shot 2021-03-02 at 10.10.03 pm.png
    Screen Shot 2021-03-02 at 10.10.03 pm.png
    93.7 KB · Views: 163
  • Screen Shot 2021-03-02 at 10.09.52 pm.png
    Screen Shot 2021-03-02 at 10.09.52 pm.png
    94.3 KB · Views: 154
  • Screen Shot 2021-03-02 at 10.09.41 pm.png
    Screen Shot 2021-03-02 at 10.09.41 pm.png
    94.8 KB · Views: 148
  • Screen Shot 2021-03-02 at 10.09.23 pm.png
    Screen Shot 2021-03-02 at 10.09.23 pm.png
    97.7 KB · Views: 162

ChillyD

Cadet
Joined
Mar 28, 2020
Messages
7
or, write zeros to all drives, maybe reboot, and try creating your vdev again.

in the shell, execute
dd if=/dev/zero of=/dev/ada1 bs=10M
dd if=/dev/zero of=/dev/ada2 bs=10M
dd if=/dev/zero of=/dev/ada3 bs=10M

I've tried two different methods but receive the following error messages:

root@truenas[~]# dd if=/dev/zero of=/dev/ada1 bs=10M
dd: /dev/ada1: Operation not permitted

root@truenas[~]# sudo dd if=/dev/zero of=/dev/ada1 bs=10M
Sorry, user root is not allowed to execute '/bin/dd if=/dev/zero of=/dev/ada1 bs=10M
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
It's possible that TrueNAS is seeing the previous ZFS installation on ada1/2/3 and has imported (or tried to import) them into the UI as a pool - having the same pool name as an existing pool this will fail, but might leave it in a "partially active" state that's blocking you from overwriting them.

If the pool isn't in the UI, you might need to boot to a live CD or other OS and execute the dd command there. Just make sure to unplug your proper ada0 boot device first.
 
Top