SOLVED Showing 0B capacity on blank drives?

bassmannate

Dabbler
Joined
Nov 24, 2022
Messages
15
I have a new install of TrueNAS scale on a server and all the drives besides the boot pool are showing 0B capacity.

I've been using Linux for a long time now but I'm very new to both TrueNAS as well as ZFS so I'm a little lost on where to begin. I'm waiting on one more cable to get the rest of my drives online but I figured I would boot it up to make sure that everything is recognized. It sees all the drives I have currently connected but it shows 0B capacity on all 4 drives. These are 3TB SAS drives connected through a Dell H200 flashed for IT mode.

I've done a bit of searching without much luck. I've tried wiping through the web interface both quick and with 0s. Maybe I should try through the shell with dd? All tests seem to indicate that everything is good. I've checked smartctl and it looks like the drives are on and spinning and that everything looks good.

Again, I've never used ZFS or TrueNAS so tell me what ever you need me to post to assist in figuring this out. Thanks in advance!
 
Last edited:
Joined
Oct 22, 2019
Messages
3,641
Possibly related?

 

bassmannate

Dabbler
Joined
Nov 24, 2022
Messages
15
Are you able to get their smart data?
I wasn't sure what you needed or even if I have the right command but here's the entire output of smartctl -a /dev/sda The other 3 drives look similar but can pull them as well if needed. Yes, the drives are used.

Code:
 smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.79+truenas] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HITACHI
Product:              DKR2D-H3R0SS
Revision:             FEFE
Compliance:           SPC-4
User Capacity:        3,047,477,247,360 bytes [3.04 TB]
Logical block size:   520 bytes
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000cca03ed834ac
Serial number:        YVKUX27K
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sat Jan 14 13:05:47 2023 PST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Disabled or Not Supported

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     24 C
Drive Trip Temperature:        85 C

Accumulated power on time, hours:minutes 45893:34
Manufactured in week 35 of year 2013
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  36
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  1878
Elements in grown defect list: 0

Vendor (Seagate Cache) information
  Blocks sent to initiator = 11123707581825024

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0   339118         0    339118   33304131     157717.362           0
write:         0  3076784         0   3076784     576279      34814.162           0
verify:        0      101         0       101      30169     231293.951           0

Non-medium error count:        1

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background short  Completed                   -   45873                 - [-   -    -]
# 2  Default           Self test in progress ...   -     NOW                 - [-   -    -]
# 3  Default           Self test in progress ...   -     NOW                 - [-   -    -]
# 4  Default           Self test in progress ...   -     NOW                 - [-   -    -]
# 5  Default           Self test in progress ...   -     NOW                 - [-   -    -]
# 6  Default           Self test in progress ...   -     NOW                 - [-   -    -]
# 7  Default           Self test in progress ...   -     NOW                 - [-   -    -]
# 8  Default           Self test in progress ...   -     NOW                 - [-   -    -]
# 9  Default           Self test in progress ...   -     NOW                 - [-   -    -]
#10  Default           Self test in progress ...   -     NOW                 - [-   -    -]
#11  Default           Self test in progress ...   -     NOW                 - [-   -    -]
#12  Default           Self test in progress ...   -     NOW                 - [-   -    -]
#13  Default           Self test in progress ...   -     NOW                 - [-   -    -]
#14  Default           Self test in progress ...   -     NOW                 - [-   -    -]
#15  Default           Self test in progress ...   -     NOW                 - [-   -    -]
#16  Default           Self test in progress ...   -     NOW                 - [-   -    -]
#17  Default           Self test in progress ...   -     NOW                 - [-   -    -]
#18  Default           Self test in progress ...   -     NOW                 - [-   -    -]
#19  Default           Self test in progress ...   -     NOW                 - [-   -    -]
#20  Default           Self test in progress ...   -     NOW                 - [-   -    -]

Long (extended) Self-test duration: 27182 seconds [453.0 minutes] 
 
Joined
Oct 22, 2019
Messages
3,641
Logical block size: 520 bytes

Dun...

Dun...

DUNNNNN!!! :eek:

 

bassmannate

Dabbler
Joined
Nov 24, 2022
Messages
15
Dun...

Dun...

DUNNNNN!!! :eek:

*facepalm* Well, it looks like I have a lead now. lol! Thanks for pointing out what it looks like I was skimming over.
 

bassmannate

Dabbler
Joined
Nov 24, 2022
Messages
15
Just chiming in that changing the block size to 512 did it. I accidentally issued the wrong command for the first one so I still have to redo that one but the other 3 are reporting 2.73TB now. Thanks again for the help!
Dun...

Dun...

DUNNNNN!!! :eek:

 
Top