problems using an SSD drive

Status
Not open for further replies.

airflow

Contributor
Joined
May 29, 2014
Messages
111
Hi there!

I'm new to FreeNAS (and BSD in general, while having some Linux-experience). I am just playing with FreeNAS, understanding ZFS, concepts of jails etc. Works fine so far.

I have 4 normal disks which provide the datastore (shares etc). I'd also like to run some jails on the system. I'd like to have those running on flash, for performance and power-saving reasons. I found that these jails (and also the .system dataset) can't reside on the memorystick (which I initially wanted), which I already use for the FreeNAS-OS.

So I have the need to either add another memorystick, or use an SSD. As I had an SSD lying around, I prefer this way.

The SSD is detected and shown in "View disks". When I try to create a volume out of it, the wizard allows it, but committing the configuration results in "Error: Unable to GPT format the disk "ada2"".

When I look at dmesg on the system, I see these messages frequently:


Code:
(ada2:ahcich2:0:0:0): Retrying command
(ada2:ahcich2:0:0:0): READ_DMA. ACB: c8 00 00 00 00 40 00 00 00 00 01 00
(ada2:ahcich2:0:0:0): CAM status: ATA Status Error
(ada2:ahcich2:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT )
(ada2:ahcich2:0:0:0): RES: 51 04 00 00 00 40 00 00 00 01 00



Searching the internet didn't help here. I tried the swap the SATA cable and port, but it didn't change.
Can it have something to do with native SSD-encryption? The drive was formerly used in a laptop and used native SSD-encryption. When I booted the laptop, I had to enter a previously set password right at the beginning, to let the system boot from the disk. My inital understanding was that this wouldn't matter if I was going to completely wipe the disk with FreeNAS anyway.
Could that be the case? And if yes - is there any possibility the disable the encryption now from the OS? I also tried of course to disable that from the BIOS of the motherboard of my new NAS (ASUS H87I-Plus), but didn't find the possibility to do so there. Even did an upgrade to newest BIOS-version but it didn't help.

Thanks for any hints,
airflow
 

airflow

Contributor
Joined
May 29, 2014
Messages
111
OK, follow up for fellow readers:

Yes, it was the set hdd-password. There is a tool an BSD which looks like it could solve the problem without me having to take the SDD out of the NAS and putting it into a computer with hdd-security-enabled BIOS.

It's camcontrol and it has a security-option:

The output of it when showing the security-settings:
Code:
[root@fractal] ~# camcontrol security ada2
pass2: <TOSHIBA THNSNC128GCSJ CJLA0201> ATA-8 SATA 2.x device
pass2: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
 
Security Option          Value
supported                yes
enabled                  yes
drive locked              yes
security config frozen    no
count expired            yes
security level            maximum
enhanced erase supported  yes
erase time                2 min
enhanced erase time      2 min
master password rev      4001


According to docu, this should fix the problem, but it didn't work (i definitely used the right password):
Code:
[root@fractal] ~# camcontrol security ada2 -d <password>
pass2: <TOSHIBA THNSNC128GCSJ CJLA0201> ATA-8 SATA 2.x device
pass2: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
Issuing SECURITY_UNLOCK password='password', user='master'
camcontrol: ATA SECURITY_UNLOCK failed: 0


In the end, I had to change the security-setting in another computer with capable BIOS.

regards,
airflow
 
Status
Not open for further replies.
Top