Unable to Resize SSD with camcontrol

Status
Not open for further replies.

Brailyn

Cadet
Joined
Aug 4, 2016
Messages
3
I just added 2x Intel DC S4600 240GB drives to FreeNAS machine to use as a mirrored SLOG. I am running FreeNAS-11.1-U2

I was encouraged to use camcontrol on these drives to make them smaller, and cannot get things to work as per this and this thread.

Some drive info:
Code:
root@freenas:~ # camcontrol devlist
<VMware Virtual disk 2.0>		  at scbus2 target 0 lun 0 (pass0,da0)
<NECVMWar VMware SATA CD00 1.00>   at scbus3 target 0 lun 0 (cd0,pass1)
<ATA WDC WD40EFRX-68W 0A82>		at scbus33 target 7 lun 0 (pass2,da1)
<ATA WDC WD40EFRX-68W 0A82>		at scbus33 target 8 lun 0 (pass3,da2)
<ATA WDC WD40EFRX-68N 0A82>		at scbus33 target 9 lun 0 (pass4,da3)
<ATA WDC WD40EFRX-68W 0A82>		at scbus33 target 10 lun 0 (pass5,da4)
<ATA WDC WD40EFRX-68N 0A82>		at scbus33 target 11 lun 0 (pass6,da5)
<ATA WDC WD40EFRX-68W 0A82>		at scbus33 target 12 lun 0 (pass7,da6)
<ATA INTEL SSDSC2KG24 0100>		at scbus33 target 13 lun 0 (pass8,da7)
<ATA INTEL SSDSC2KG24 0100>		at scbus33 target 14 lun 0 (pass9,da8)
<Intel RES2SV240 0d00>			 at scbus33 target 15 lun 0 (ses0,pass10)

root@freenas:~ # diskinfo -c da7
da7
		512			 # sectorsize
		240057409536	# mediasize in bytes (224G)
		468862128	   # mediasize in sectors
		4096			# stripesize
		0			   # stripeoffset
		29185		   # Cylinders according to firmware.
		255			 # Heads according to firmware.
		63			  # Sectors according to firmware.
		ATA INTEL SSDSC2KG24	# Disk descr.
		BTYM72840CEM240AGN	  # Disk ident.
		id1,enc@n5001e677b78acffd/type@0/slot@15/elmdesc@ArrayDevice14  # Physical path
		Not_Zoned	   # Zone Mode

I/O command overhead:
		time to read 10MB block	  0.040773 sec	   =	0.002 msec/sector
		time to read 20480 sectors   2.576243 sec	   =	0.126 msec/sector
		calculated command overhead					 =	0.124 msec/sector

root@freenas:~ # diskinfo -c da8
da8
		512			 # sectorsize
		240057409536	# mediasize in bytes (224G)
		468862128	   # mediasize in sectors
		4096			# stripesize
		0			   # stripeoffset
		29185		   # Cylinders according to firmware.
		255			 # Heads according to firmware.
		63			  # Sectors according to firmware.
		ATA INTEL SSDSC2KG24	# Disk descr.
		BTYM729108UG240AGN	  # Disk ident.
		id1,enc@n5001e677b78acffd/type@0/slot@16/elmdesc@ArrayDevice15  # Physical path
		Not_Zoned	   # Zone Mode

I/O command overhead:
		time to read 10MB block	  0.040692 sec	   =	0.002 msec/sector
		time to read 20480 sectors   2.434322 sec	   =	0.119 msec/sector
		calculated command overhead					 =	0.117 msec/sector

root@freenas:~ # camcontrol security da7 -e
camcontrol: option requires an argument -- e
camcontrol: option requires an argument -- e
pass8: <INTEL SSDSC2KG240G7 SCV10100> ACS-3 ATA SATA 3.x device
pass8: 600.000MB/s transfers, Command Queueing Enabled

Security Option		   Value
supported				 yes
enabled				   no
drive locked			  no
security config frozen	no
count expired			 no
security level			high
enhanced erase supported  yes
erase time				4 min
enhanced erase time	   4 min
master password rev	   fffe


root@freenas:~ # camcontrol security da8 -e
camcontrol: option requires an argument -- e
camcontrol: option requires an argument -- e
pass9: <INTEL SSDSC2KG240G7 SCV10100> ACS-3 ATA SATA 3.x device
pass9: 600.000MB/s transfers, Command Queueing Enabled

Security Option		   Value
supported				 yes
enabled				   no
drive locked			  no
security config frozen	no
count expired			 no
security level			high
enhanced erase supported  yes
erase time				4 min
enhanced erase time	   4 min
master password rev	   fffe



The problem:

Code:

root@freenas:~ # camcontrol hpa da7 -s 31250000
pass8: <INTEL SSDSC2KG240G7 SCV10100> ACS-3 ATA SATA 3.x device
pass8: 600.000MB/s transfers, Command Queueing Enabled
camcontrol: HPA is not supported by this device

root@freenas:~ # camcontrol hpa da8 -s 31250000
pass9: <INTEL SSDSC2KG240G7 SCV10100> ACS-3 ATA SATA 3.x device
pass9: 600.000MB/s transfers, Command Queueing Enabled
camcontrol: HPA is not supported by this device



Any ideas how I can get these drives to be 16GB? Or is HPA really not supported?...
 

Brailyn

Cadet
Joined
Aug 4, 2016
Messages
3
After some more digging, I'm fairly certain HPA is indeed not supported on these drives... I issued the same commands on a DC S3510 and they worked.

DC S3510 datasheet: Host Protected Area mentioned on pg 27.
https://www.intel.com/content/dam/www/public/us/en/documents/product-specifications/ssd-dc-s3510-spec.pdf#page=27

DC S4600 datasheet: HPA not mentioned.
http://advdownload.advantech.com/productfile/PIS/96FD25-S240-INB3/Product%20-%20Datasheet/96FD25-S240-INB3_datasheet20171107114533.pdf
 
Status
Not open for further replies.
Top