This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

camcontrol identify with SAS2008 IT controller

Hard disks, HDD, RAID Hardware, disk controllers, SATA, PATA, SCSI, IDE, On Board, USB, Firewire, CF (Compact Flash)
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
spinoza
NewUser
NewUser
Posts: 6
Joined: 04 Sep 2013 11:16
Status: Offline

camcontrol identify with SAS2008 IT controller

Post by spinoza »

Hello,

I am doing some tests on Nas4Free using the following:
- Nas4Free version: 9.1.0.1.847
- HDD controllers: 2x LSI 9240-8i flashed as SAS2008 IT (firmware 14 and 17 IT (from LSI 9211) tested)
- System disk: 1x USB flash key
Plugged on the 2 SAS2008:
- ZIL: mirror log 2x SSD
- L2ARC: 2x SSD
- Data: 12x 500Gb meca "RAID10" ZFS

My devices are detected:
[root@filer3] ~# camcontrol devlist
<ATA WDC WD5000BPKT-7 1A01> at scbus0 target 8 lun 0 (da0,pass0)
<ATA WDC WD5000BPKT-7 1A01> at scbus0 target 9 lun 0 (da1,pass1)
<ATA OCZ-VERTEX3 2.25> at scbus0 target 10 lun 0 (da2,pass2)
<ATA OCZ-VERTEX3 2.25> at scbus0 target 11 lun 0 (da3,pass3)
<ATA SanDisk SDSSDP12 0> at scbus0 target 12 lun 0 (da4,pass4)
<ATA Samsung SSD 840 4B0Q> at scbus0 target 13 lun 0 (da5,pass5)
<ATA WDC WD5000BPKT-7 1A01> at scbus0 target 14 lun 0 (da6,pass6)
<ATA WDC WD5000BPKT-7 1A01> at scbus0 target 15 lun 0 (da7,pass7)
<ATA WDC WD5000BEKT-0 1A01> at scbus3 target 8 lun 0 (da8,pass8)
<ATA WDC WD5000BPKT-7 1A01> at scbus3 target 9 lun 0 (da9,pass9)
<ATA WDC WD5000BPKT-7 1A01> at scbus3 target 10 lun 0 (da10,pass10)
<ATA WDC WD5000BPKT-7 1A01> at scbus3 target 11 lun 0 (da11,pass11)
<ATA WDC WD5000BPKT-7 1A01> at scbus3 target 12 lun 0 (da12,pass12)
<ATA WDC WD5000BPKT-0 1A01> at scbus3 target 13 lun 0 (da13,pass13)
<ATA WDC WD5000BPKT-7 1A01> at scbus3 target 14 lun 0 (da14,pass14)
<ATA WDC WD5000BPKT-7 1A01> at scbus3 target 15 lun 0 (da15,pass15)
<Kingston DT Micro 1.00> at scbus4 target 0 lun 0 (da16,pass16)
But camcontrol cannot "pilot" them.
camcontrol identify da2
gives me an empty result. So I cannot be sure if TRIM is supported, spin down, up, etc...

If I try on ... another NAS OS based too on FreeBSD too (same config, I just boot on a different USB key), I get:
[root@filer3] ~# camcontrol identify da2
pass2: <OCZ-VERTEX3 2.25> ATA-8 SATA 3.x device
pass2: 600.000MB/s transfers, Command Queueing Enabled

protocol ATA/ATAPI-8 SATA 3.x
device model OCZ-VERTEX3
firmware revision 2.25
serial number OCZ-761xxxxxxxxxx
WWN xxxxxxxxxxxxx
cylinders 16383
heads 16
sectors/track 63
sector size logical 512, physical 512, offset 0
LBA supported 268435455 sectors
LBA48 supported 468862128 sectors
PIO supported PIO4
DMA supported WDMA2 UDMA6
media RPM non-rotating

Feature Support Enabled Value Vendor
read ahead yes yes
write cache yes yes
flush cache yes yes
overlap no
Tagged Command Queuing (TCQ) no no
Native Command Queuing (NCQ) yes 32 tags
SMART yes yes
microcode download yes yes
security yes no
power management yes yes
advanced power management yes yes 254/0xFE
automatic acoustic management no no
media status notification no no
power-up in Standby yes no
write-read-verify yes no 0/0x0
unload yes yes
free-fall no no
Data Set Management (DSM/TRIM) yes
DSM - max 512byte blocks yes 1
DSM - deterministic read yes any value
Host Protected Area (HPA) yes no 468862128/468862128
HPA - Security no
And I see that TRIM is supported. youhou!
But I would prefer to use Nas4Free for its HDD/volume management GUI.

Is there something I can do to make it work under Nas4Free or do I have to wait for an update of some kind (driver, OS, ...)?
Last edited by spinoza on 04 Sep 2013 13:41, edited 1 time in total.

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: camcontrol identify with SAS2008 IT controller

Post by b0ssman »

which version of freebsd is the over one?

on the over version can you actually issue the camcontrol standy for a hd to spin them down?
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

spinoza
NewUser
NewUser
Posts: 6
Joined: 04 Sep 2013 11:16
Status: Offline

Re: camcontrol identify with SAS2008 IT controller

Post by spinoza »

FreeBSD version:
From "uname -a": FreeBSD 9.1-STABLE

For the spin up/down using camcontrol, here are some results. Tell me if you need more tests:
[root@filer3] ~# camcontrol inquiry da6
pass6: <ATA WDC WD5000BPKT-7 1A01> Fixed Direct Access SCSI-6 device
pass6: Serial Number WD-WXCxxxxxxxx
pass6: 300.000MB/s transfers, Command Queueing Enabled
[root@filer3] ~# camcontrol stop da6
Unit stopped successfully
[root@filer3] ~# camcontrol start da6
Unit started successfully
[root@filer3] ~# camcontrol standby da6
(pass6:mps0:0:14:0): STANDBY_IMMEDIATE. ACB: e0 00 00 00 00 40 00 00 00 00 00 00
(pass6:mps0:0:14:0): CAM status: Function Not Available
[root@filer3] ~# camcontrol cmd da6 -a "E5 00 00 00 00 00 00 00 00 00 00 00" -r -
camcontrol: error sending command

Post Reply

Return to “Hard disk & controller”