Error of installation FreeNAS to USB drive

Status
Not open for further replies.

Masonic

Cadet
Joined
Jul 17, 2018
Messages
5
I was created a boot flash drive with FreeNAS 11.1 and tried install to other USB (size of usb 32 gb). I get errors in the final stage of installation. When I tried install on hdd all was okay and without problem.
37277223_499622523805191_3674440570081640448_n.jpg
37230136_499622733805170_7543629873785339904_n.jpg
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
Sounds like a bad USB drive. Have you tested it?
 

Masonic

Cadet
Joined
Jul 17, 2018
Messages
5
Flash drive is new.
I checked the flash drive through the program Victoria. All sectors is ok.
How can I test this drive?
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
You could try badblocks. It built into FreeNAS.
badblocks -svw /dev/YOUR_USB_DRIVE
Note: This will destroy all data on the target drive, use with caution.

Edit: What is the exact model of the flash drive and are you using this in USB 2 or USB 3 ports?
 

Masonic

Cadet
Joined
Jul 17, 2018
Messages
5
On my PC only USB 2. How I can know name my flash drive in shell of FreeNas to do comand badblocks -svw /dev/YOUR_USB_DRIVE?
 

jro

iXsystems
iXsystems
Joined
Jul 16, 2018
Messages
80
Open a shell and run the following as root: camcontrol devlist

The output will look something like this:

Code:
[jfr@london ~]$ sudo camcontrol devlist
<ATA WDC WD80EMAZ-00W 0A83>		at scbus0 target 0 lun 0 (pass0,da0)
<ATA WDC WD80EMAZ-00W 0A83>		at scbus0 target 1 lun 0 (pass1,da1)
<ATA WDC WD80EMAZ-00W 0A83>		at scbus0 target 2 lun 0 (pass2,da2)
<ATA WDC WD80EMAZ-00W 0A83>		at scbus0 target 3 lun 0 (pass3,da3)
...
<ATA WDC WD80EFZX-68U 0A83>		at scbus2 target 7 lun 0 (pass23,da23)
<INTEL SSDSC2KW120H6 LSBG200>	  at scbus7 target 0 lun 0 (pass24,ada0)
<INTEL SSDSC2KW120H6 LSBG200>	  at scbus8 target 0 lun 0 (pass25,ada1)
<WDC WD80EFAX-68LHPN0 83.H0A83>	at scbus9 target 0 lun 0 (pass26,ada2)


The second value in the parentheses at the end of each line is your device ID which you'll use in the badblocks command.
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
Code:
[root@FreeNAS ~]# which badblocks											   
/usr/local/sbin/badblocks

It's odd that its not looking in the correct place... Try running from the path above.
 

Masonic

Cadet
Joined
Jul 17, 2018
Messages
5
I'm new to FreeNAS and had no previous deal with this operating system. How I can do this command from root?
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
I strongly recommend that you read through the user guide. This will contain many of the answers you are looking for.
 
Status
Not open for further replies.
Top