unable to use any drives

Status
Not open for further replies.

frreenas

Cadet
Joined
Jun 4, 2014
Messages
8
these drives were used on windows 7 machines had OSes installed on them
screenshot
2H1pDCA.jpg

DGfQeEx.jpg
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I believe FreeNAS wants the drives wiped before it will use them--it doesn't want to destroy your data. If you drop into the shell as root and do

# cat /dev/zero > /dev/ada0

and then repeat for ada1 and ada2, that should do the trick.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I think I see the problem when I look more closely at your first screen shot--you've imported (mounted) all three of the drives. Detach them (in the Active Volumes screen, click on one of the drives, then on the icon at the bottom with the red X--repeat with the other two). Then you should be able to use the dd command to wipe them. This will, of course, destroy any data on the drives. What are you planning on doing with three relatively-small drives of different sizes?
 

frreenas

Cadet
Joined
Jun 4, 2014
Messages
8
i unmounted them before running your commands. also i am using version 8.2 something. should i try updating to the latest
 

eraser

Contributor
Joined
Jan 4, 2013
Messages
147
Alternative methods you could try to wipe/format your disks:

  • FreeNAS WebGUI -> Storage -> View Disks -> Select disk from list -> "Wipe" button at bottom of screen
  • Download DBAN [ http://www.dban.org/ ] and use it to wipe all attached drives.
  • Attach those drives to a Windows system and use the "diskpart" utility's "CLEAN" command to destroy any partition tables.
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
If you choose to use DBAN make sure you select the Quick Erase option. Some options will take many hours or even a day to complete.


Sent from my phone
 

solarisguy

Guru
Joined
Apr 4, 2014
Messages
1,125
If the intended filesystem is ZFS, it is enough to execute
Code:
zpool labelclear -f /dev/ada0
zpool labelclear -f /dev/ada1
zpool labelclear -f /dev/ada2

http://www.freebsd.org/cgi/man.cgi?query=zpool

If the above does not work, please provide the output of
Code:
zpool status
mount
smartctl -a -q errorsonly /dev/ada0
smartctl -a -q errorsonly /dev/ada1
smartctl -a -q errorsonly /dev/ada2
 

solarisguy

Guru
Joined
Apr 4, 2014
Messages
1,125
It appears that there could be a fundamental hardware problem, please try
smartctl -t short /dev/ada0
It will tell you how long to wait. After the test has finished, execute the next one
smartctl -t conveyance /dev/ada0
Wait and post the result of
smartctl -a -q noserial /dev/ada0

Also the output of
dmesg | grep ada0

I do not know FreeNAS well, so I do not know whether there are any processes that could lock drives.
 
Status
Not open for further replies.
Top