Storage shows NVME missing after updating to ZimaOS v1.4.1

Storage shows NVME missing after updating to ZimaOS v1.4.1

PM u~

NVME seems connected and data / storage size ok as before updating to 1.4.1
only showing missing were every thing seems to be ok

System has 4 drives: 2x hardisk 1 TB and 2x NVME 1 TB

ZimaOS:~# lsscsi
[1:0:0:0] disk ATA WDC WD10EZEX-08W 1A02 /dev/sda
[2:0:0:0] disk ATA WDC WD10EADS-00M 0A01 /dev/sdb
[3:0:0:0] disk Generic MassStorageClass 2402 /dev/sdc
[N:0:0:1] disk Lexar SSD NM620 1TB__1 /dev/nvme0n1
[N:1:0:1] disk Lexar SSD NM620 1TB__1 /dev/nvme1n1

ZimaOS:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 208K 1 loop
loop1 7:1 0 1.1M 1 loop
loop2 7:2 0 4.3M 1 loop
loop3 7:3 0 10.7M 1 loop
loop4 7:4 0 15.2M 1 loop
loop5 7:5 0 208K 1 loop
loop6 7:6 0 15.2M 1 loop
loop7 7:7 0 137.3M 1 loop
loop8 7:8 0 4.3M 1 loop
loop9 7:9 0 10.7M 1 loop
loop10 7:10 0 1.1M 1 loop
loop11 7:11 0 137.3M 1 loop
sda 8:0 0 931.5G 0 disk
└─md0 9:0 0 2.7T 0 raid5 /DATA/.media/Main-Storage
/var/lib/casaos_data/.media/Main-Storage
/media/Main-Storage
sdb 8:16 0 931.5G 0 disk
└─md0 9:0 0 2.7T 0 raid5 /DATA/.media/Main-Storage
/var/lib/casaos_data/.media/Main-Storage
/media/Main-Storage
sdc 8:32 1 119.1G 0 disk
├─sdc1 8:33 1 32M 0 part /mnt/boot
├─sdc2 8:34 1 24M 0 part
├─sdc3 8:35 1 6G 0 part
├─sdc4 8:36 1 24M 0 part
├─sdc5 8:37 1 6G 0 part /
├─sdc6 8:38 1 8M 0 part
├─sdc7 8:39 1 96M 0 part /var/lib/zerotier-one
│ /var/lib/rauc
│ /mnt/overlay
└─sdc8 8:40 1 106.9G 0 part /var/log
/var/lib/libvirt
/var/lib/icewhale
/var/lib/extensions
/var/lib/docker
/var/lib/casaos
/var/lib/bluetooth
/opt
/media
/DATA
/var/lib/casaos_data
zram0 252:0 0 0B 0 disk
zram1 252:1 0 0B 0 disk
zram2 252:2 0 0B 0 disk
nvme0n1 259:0 0 953.9G 0 disk
└─md0 9:0 0 2.7T 0 raid5 /DATA/.media/Main-Storage
/var/lib/casaos_data/.media/Main-Storage
/media/Main-Storage
nvme1n1 259:1 0 953.9G 0 disk
└─md0 9:0 0 2.7T 0 raid5 /DATA/.media/Main-Storage
/var/lib/casaos_data/.media/Main-Storage
/media/Main-Storage

ZimaOS:~# lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 7
01:00.0 Non-Volatile memory controller: Shenzhen Longsys Electronics Co., Ltd. Lexar NM610 PRO NVME SSD (DRAM-less) (rev 01)
02:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 04)
03:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 04)
04:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
05:00.0 Non-Volatile memory controller: Shenzhen Longsys Electronics Co., Ltd. Lexar NM610 PRO NVME SSD (DRAM-less) (rev 01)
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lucienne (rev c1)
06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
06:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
06:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
06:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
06:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 01)
06:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
06:00.7 Signal processing controller: Advanced Micro Devices, Inc. [AMD] Sensor Fusion Hub
07:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
07:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)

ZimaOS:~# cat /etc/casaos/local-storage.conf
[common]
RuntimePath = /var/run/casaos

[app]
LogPath = /var/log/casaos
LogSaveName = local-storage
LogFileExt = log
DBPath = /var/lib/casaos/db
ShellPath = /usr/share/casaos/shell

[server]
USBAutoMount = True
SataStartNumber = -7
DiskSleepWaitTime = 241
NVME = 0a:00.0,0b:00.0,0c:00.0,0d:00.0

(https://www.mediafire.com/view/jay9xf7hm6gnmfk/1-storag.jpg/file)

sed -i '/^\[server\]/,/^$/ s/^NVME =.*/NVME =/' /etc/casaos/local-storage.conf
systemctl restart zimaos-local-storage

@aab44
You can try clearing the NVME settings to check if the issue of missing disks persists.

I run command then reboot still NVME show missing

sed -i '/^\[server\]/,/^$/ s/^NVME =.*/NVME =/' /etc/casaos/local-storage.conf
systemctl restart zimaos-local-storage

  1. I still need to troubleshoot remotely, or we can make an appointment to chat to help with the issue, but this can be a bit of a hassle due to the different time zones we’re in
  2. If you can, you can post us with the return message of this request on the website, which may be difficult for users who are not familiar with the page inspection function, so it is recommended to provide a remote message for troubleshooting

You need to check that the disk type returned in the disk request is the corresponding index of NMVE

1.4.2-beta1 will be released recently, there is a specific fix for disk display issues, you can wait until we release 1.4.2-beta1 to check again if there is still this issue

1 Like