I have 7x 8tb HGST "he8" drives i had purchased from ebay. and then one 8tb SUN/HGST "he8" drive from ebay.
I need to use them in a 8x disk vDEV to add to my existing pool, however the 1x 8tb SUN/HGST "he8" is showing about 140gb less space. (thus if i use it in my new vDEV, i will be forced to loose that same 150gb on all 8x disks, thus loosing around 900gb in aggregate )
Does anyone know if its possible for me to get this disk to show/use its proper 8.0TB like the other 7x disks?
so im pretty sure this is due to the drives unique firmware and/or related to 520b sector size vs standard 512b sector size. (is prob. a netapp disk or a custom/unique disk for some other SAN). But it shows as 512b in smartctl / diskinfo (see image or data below).
Im thinking about trying the steps in this post:
Repurposing netapp disk trays with FreeBSD and ZFS – Sysop.ca
but wanted to check here first to see if others have any input.
One thing i did try yesterday was this:
root@freenas:~ # sg_format -v --format --size=512 /dev/da44
(it took about 20-hours to complete, and the result was the exact same as before, ie still ~7.9tb , not 8.0tb).
anyone have any info/ideas? (or do i just need to bit the bullet and either take the~900gb hit, or else buy 1 more 8.0tb non sun hgst drive).
thanks!
comparisons of data from a "normal" 8tb i have, vs this "problem sun" 8tb. (same data is below in txt format):
camcontrol devlist of a good 8tb disk and this problem 8tb disk
I need to use them in a 8x disk vDEV to add to my existing pool, however the 1x 8tb SUN/HGST "he8" is showing about 140gb less space. (thus if i use it in my new vDEV, i will be forced to loose that same 150gb on all 8x disks, thus loosing around 900gb in aggregate )
Does anyone know if its possible for me to get this disk to show/use its proper 8.0TB like the other 7x disks?
so im pretty sure this is due to the drives unique firmware and/or related to 520b sector size vs standard 512b sector size. (is prob. a netapp disk or a custom/unique disk for some other SAN). But it shows as 512b in smartctl / diskinfo (see image or data below).
Im thinking about trying the steps in this post:
Repurposing netapp disk trays with FreeBSD and ZFS – Sysop.ca
but wanted to check here first to see if others have any input.
One thing i did try yesterday was this:
root@freenas:~ # sg_format -v --format --size=512 /dev/da44
(it took about 20-hours to complete, and the result was the exact same as before, ie still ~7.9tb , not 8.0tb).
anyone have any info/ideas? (or do i just need to bit the bullet and either take the~900gb hit, or else buy 1 more 8.0tb non sun hgst drive).
thanks!
comparisons of data from a "normal" 8tb i have, vs this "problem sun" 8tb. (same data is below in txt format):


Code:
**NORMAL DISK** root@freenas:~ # diskinfo -v da43 da43 512 # sectorsize 8001563222016 # mediasize in bytes (7.3T) 15628053168 # mediasize in sectors 4096 # stripesize 0 # stripeoffset 972801 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. HP MB8000JEQVA # Disk descr. VLG1MYGV # Disk ident. id1,enc@n5003048001eae9fd/type@0/slot@3/elmdesc@Slot_03 # Physical path No # TRIM/UNMAP support 7200 # Rotation rate in RPM Not_Zoned # Zone Mode Geom name: da42 Providers: 1. Name: da42 Mediasize: 8001563222016 (7.3T) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0 descr: HP MB8000JEQVA lunid: 5000cca254a7965c ident: VKJZ55MV rotationrate: 7200 fwsectors: 63 fwheads: 255 root@freenas:~ # smartctl -a /dev/da43 smartctl 6.6 2017-11-05 r4594 [FreeBSD 11.2-STABLE amd64] (local build) Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Vendor: HP Product: MB8000JEQVA Revision: HPDB Compliance: SPC-4 User Capacity: 8,001,563,222,016 bytes [8.00 TB] Logical block size: 512 bytes Physical block size: 4096 bytes Rotation Rate: 7200 rpm Form Factor: 3.5 inches Logical Unit id: 0x5000cca26002fd0c Serial number: VLG1MYGV Device type: disk Transport protocol: SAS (SPL-3) **PROBLEM SUN DISK** root@freenas:~ # diskinfo -v da44 da44 512 # sectorsize 7865536647168 # mediasize in bytes (7.2T) 15362376264 # mediasize in sectors 4096 # stripesize 0 # stripeoffset 956263 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. HGST H7280A520SUN8.0T # Disk descr. 001523PGHSUV 2EGGHSUV # Disk ident. id1,enc@n5003048001eae9fd/type@0/slot@4/elmdesc@Slot_04 # Physical path No # TRIM/UNMAP support 7200 # Rotation rate in RPM Not_Zoned # Zone Mode Geom name: da44 Providers: 1. Name: da44 Mediasize: 7865536647168 (7.2T) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0 descr: HGST H7280A520SUN8.0T lunid: 5000cca23b1a618c ident: 001523PGHSUV 2EGGHSUV rotationrate: 7200 fwsectors: 63 fwheads: 255 root@freenas:~ # smartctl -a /dev/da44 smartctl 6.6 2017-11-05 r4594 [FreeBSD 11.2-STABLE amd64] (local build) Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Vendor: HGST Product: H7280A520SUN8.0T Revision: P9E2 Compliance: SPC-4 User Capacity: 7,865,536,647,168 bytes [7.86 TB] Logical block size: 512 bytes Physical block size: 4096 bytes Formatted with type 1 protection LU is fully provisioned Rotation Rate: 7200 rpm Form Factor: 3.5 inches Logical Unit id: 0x5000cca23b1a618c Serial number: 001523PGHSUV 2EGGHSUV Device type: disk Transport protocol: SAS (SPL-3) Local Time is: Thu Sep 5 18:30:46 2019 CDT SMART support is: Available - device has SMART capability. SMART support is: Enabled Temperature Warning: Enabled === START OF READ SMART DATA SECTION === SMART Health Status: OK
camcontrol devlist of a good 8tb disk and this problem 8tb disk
Code:
root@freenas:~ # camcontrol devlist ... <HGST H7280A520SUN8.0T P9E2> at scbus8 target 40 lun 0 (da44,pass49) <ATA HGST HUH728080AL GP23> at scbus8 target 53 lun 0 (pass32,da27)