Disks not showing in GUI

thinness613

New Member
May 23, 2024
1
0
1
Hi,

I have an ORICO 3.5" HDD External enclosure with 4 disks (250GB, 1TB, 1.5TB, 2TB). I can't manage to see the disks in Datacenter > Node > Disks. I have a "Loading..." popup resulting in a "Connection failure (0)" or "Connection timed out (596)" after a few seconds.

However, when I use lsblk I can see the disks. I also tried to wipe them with sgdisk --zap-all /dev/sdX and also to use fdisk /dev/sdX -w auto afterward. I noticed that one of the disk (the 2TB one) has a slow response time when using smartctl -a /dev/sdX and I think that's causing the GUI timed out/failure message. Finally, when calling the API /api2/json/nodes/<NodeName>/disks/list?include-partitions=1 I have a {data: null} response.

I don't understand what's causing the issue ?

Here is all the relevant logs I can think of :
Bash:
> lsblk
NAME                         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda                            8:0    0 476.9G  0 disk
├─sda1                         8:1    0  1007K  0 part
├─sda2                         8:2    0     1G  0 part /boot/efi
└─sda3                         8:3    0 475.9G  0 part
  ├─pve-swap                 252:0    0     8G  0 lvm  [SWAP]
  ├─pve-root                 252:1    0    96G  0 lvm  /
  ├─pve-data_tmeta           252:2    0   3.6G  0 lvm
  │ └─pve-data-tpool         252:4    0 348.8G  0 lvm
  │   ├─pve-data             252:5    0 348.8G  1 lvm
  │   └─pve-vm--100--disk--0 252:6    0   256G  0 lvm
  └─pve-data_tdata           252:3    0 348.8G  0 lvm
    └─pve-data-tpool         252:4    0 348.8G  0 lvm
      ├─pve-data             252:5    0 348.8G  1 lvm
      └─pve-vm--100--disk--0 252:6    0   256G  0 lvm
sdb                            8:16   0 232.9G  0 disk
sdc                            8:32   0   1.4T  0 disk
sdd                            8:48   0   1.8T  0 disk
sde                            8:64   0 931.5G  0 disk
Bash:
> lvs
  LV            VG  Attr       LSize    Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  data          pve twi-aotz-- <348.82g             16.37  1.02                         
  root          pve -wi-ao----   96.00g                                                 
  swap          pve -wi-ao----    8.00g                                                 
  vm-100-disk-0 pve Vwi-a-tz--  256.00g data        22.30
Bash:
> fdisk -l
Disk /dev/sda: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: TWSC-TN512G-SSD
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 129BAF73-1E45-486E-9A86-228B34C550D6

Device       Start        End   Sectors   Size Type
/dev/sda1       34       2047      2014  1007K BIOS boot
/dev/sda2     2048    2099199   2097152     1G EFI System
/dev/sda3  2099200 1000215182 998115983 475.9G Linux LVM


Disk /dev/mapper/pve-swap: 8 GiB, 8589934592 bytes, 16777216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/pve-root: 96 GiB, 103079215104 bytes, 201326592 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/pve-vm--100--disk--0: 256 GiB, 274877906944 bytes, 536870912 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
Disklabel type: gpt
Disk identifier: 986B842B-264D-4C79-BB06-89F370DC2906

Device                                   Start       End   Sectors  Size Type
/dev/mapper/pve-vm--100--disk--0-part1    2048      4095      2048    1M BIOS boot
/dev/mapper/pve-vm--100--disk--0-part2    4096   4198399   4194304    2G Linux filesystem
/dev/mapper/pve-vm--100--disk--0-part3 4198400 536870878 532672479  254G Linux filesystem


Disk /dev/sdb: 232.89 GiB, 250059350016 bytes, 488397168 sectors
Disk model: Generic DISK00
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x26ec77f3


Disk /dev/sdc: 1.36 TiB, 1500301910016 bytes, 2930277168 sectors
Disk model: Generic DISK01
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x32ac8568


Disk /dev/sde: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: Generic DISK03
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x87eb179e


Disk /dev/sdd: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: Generic DISK02
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Bash:
> cat /etc/pve/storage.cfg
dir: local
        path /var/lib/vz
        content iso,vztmpl,backup

lvmthin: local-lvm
        thinpool data
        vgname pve
        content rootdir,images
Bash:
> smartctl -a /dev/sdd
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.8.4-2-pve] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.14 (AF)
Device Model:     ST2000DM001-1E6164
Serial Number:    Z1E7MET8
LU WWN Device Id: 5 000c50 0667b80b3
Firmware Version: SC48
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database 7.3/5319
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Thu May 23 17:18:01 2024 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART Status not supported: Incomplete response, ATA output registers missing
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                (  592) seconds.
Offline data collection
capabilities:                    (0x73) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        No Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   1) minutes.
Extended self-test routine
recommended polling time:        ( 235) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x3081) SCT Status supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   104   099   006    Pre-fail  Always       -       51392625
  3 Spin_Up_Time            0x0003   095   095   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   092   092   020    Old_age   Always       -       8376
  5 Reallocated_Sector_Ct   0x0033   098   098   010    Pre-fail  Always       -       1968
  7 Seek_Error_Rate         0x000f   075   060   030    Pre-fail  Always       -       31872233
  9 Power_On_Hours          0x0032   092   092   000    Old_age   Always       -       7842
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   093   093   020    Old_age   Always       -       7350
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   091   091   000    Old_age   Always       -       9
188 Command_Timeout         0x0032   100   095   000    Old_age   Always       -       14 1272 1278
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   064   048   045    Old_age   Always       -       36 (Min/Max 31/36)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   097   097   000    Old_age   Always       -       7322
193 Load_Cycle_Count        0x0032   093   093   000    Old_age   Always       -       15453
194 Temperature_Celsius     0x0022   036   052   000    Old_age   Always       -       36 (0 9 0 0 0)
197 Current_Pending_Sector  0x0012   001   001   000    Old_age   Always       -       20968
198 Offline_Uncorrectable   0x0010   001   001   000    Old_age   Offline      -       20968
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       941h+06m+54.878s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       5663976363
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       1283344251

SMART Error Log Version: 1
ATA Error Count: 18 (device log contains only the most recent five errors)
        CR = Command Register [HEX]
        FR = Features Register [HEX]
        SC = Sector Count Register [HEX]
        SN = Sector Number Register [HEX]
        CL = Cylinder Low Register [HEX]
        CH = Cylinder High Register [HEX]
        DH = Device/Head Register [HEX]
        DC = Device Command Register [HEX]
        ER = Error register [HEX]
        ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 18 occurred at disk power-on lifetime: 7834 hours (326 days + 10 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 20 ff ff ff 4f 00      00:09:51.867  READ DMA EXT
  35 03 20 40 00 40 42 00      00:09:51.866  WRITE DMA EXT
  35 03 20 a0 00 c0 41 00      00:09:51.866  WRITE DMA EXT
  35 03 20 40 00 c0 42 00      00:09:51.866  WRITE DMA EXT
  35 03 20 ff ff ff 4f 00      00:09:51.865  WRITE DMA EXT

Error 17 occurred at disk power-on lifetime: 7834 hours (326 days + 10 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 20 ff ff ff 4f 00      00:09:51.867  READ DMA EXT
  35 03 20 40 00 40 42 00      00:09:51.866  WRITE DMA EXT
  35 03 20 a0 00 c0 41 00      00:09:51.866  WRITE DMA EXT
  35 03 20 40 00 c0 42 00      00:09:51.866  WRITE DMA EXT
  35 03 20 ff ff ff 4f 00      00:09:51.865  WRITE DMA EXT

Error 16 occurred at disk power-on lifetime: 7834 hours (326 days + 10 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 20 ff ff ff 4f 00      00:09:47.236  READ DMA EXT
  ef 03 46 40 00 40 00 00      00:09:47.236  SET FEATURES [Set transfer mode]
  ef 03 0c 40 00 40 00 00      00:09:47.236  SET FEATURES [Set transfer mode]
  ec 03 20 40 00 40 00 00      00:09:47.189  IDENTIFY DEVICE
  00 00 00 00 00 00 00 04      00:09:47.031  NOP [Abort queued commands]

Error 15 occurred at disk power-on lifetime: 7834 hours (326 days + 10 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 20 ff ff ff 4f 00      00:09:47.236  READ DMA EXT
  ef 03 46 40 00 40 00 00      00:09:47.236  SET FEATURES [Set transfer mode]
  ef 03 0c 40 00 40 00 00      00:09:47.236  SET FEATURES [Set transfer mode]
  ec 03 20 40 00 40 00 00      00:09:47.189  IDENTIFY DEVICE
  00 00 00 00 00 00 00 04      00:09:47.031  NOP [Abort queued commands]

Error 14 occurred at disk power-on lifetime: 7834 hours (326 days + 10 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 00 ff ff ff 0f  Error: UNC at LBA = 0x0fffffff = 268435455

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 20 ff ff ff 4f 00      00:09:43.533  READ DMA EXT
  ef 03 46 40 00 40 00 00      00:09:43.532  SET FEATURES [Set transfer mode]
  ef 03 0c 40 00 40 00 00      00:09:43.532  SET FEATURES [Set transfer mode]
  ec 03 20 40 00 40 00 00      00:09:43.530  IDENTIFY DEVICE
  00 00 00 00 00 00 00 04      00:09:43.360  NOP [Abort queued commands]

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed: read failure       90%      7836         3628073024

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!