#NVME SSD Size 0

1 messages · Page 1 of 1 (latest)

bitter cloud
#

I added an NVME to my HA yellow. It detected it via UI and CLI, but I can't complete the "move data disk" via UI. It shows up as a selectable option (first screen shot) but clicking it does nothing and never shows it selected (second screen shot). I noticed the size is listed as 0. Is this expected? My only idea is to connect it to a linux computer to reformat it, but I was hoping this is possible via HA.

tough wedge
#

Please run this in the SSH app

apk add lsblk
lsblk -o+FSTYPE,LABEL,PTTYPE,MODEL
bitter cloud
tough wedge
#

Too bad the other columns only work on the OS shell. What I can tell you though is that this isn't properly formatted. You could try to remove the datadisk or wipe and reboot/restore.

bitter cloud
#

yeah, makes seense. Thanks. Too bad you can't do this via HA. Do you know why it can't or if it's a feature that could be contributed?

#

fortunately I have another device that accepts NVME but I could imagine other people not having that option

tough wedge
#

Can't do what exactly?

bitter cloud
#

sorry I may have misread your reply. I thought you suggested removing the NVME SSD from my HA yellow and wipe/reformat it with another device that is capable of doing that. My understanding was HA itself is not capable of wiping/reformatting new drives.

tough wedge
bitter cloud
#

gotcha, thanks. would ha os datadisk wipe wipe the entire system and require a full restore from backup? Would it wipe/reformat the NVME in the process?

tough wedge
#

In this current state I'm not sure. It's supposed to "wipe" the "disk" with the hassos-data label.

#

I can try to look into where the system stores the datadisk information. Maybe we can just refresh that and you can try again.

#

Or maybe move works.

bitter cloud
#

hmm yeah I tried dd if=/dev/zero of=/dev/nvme0n1 bs=512 count=34 but it says operation not allowed. I could always plug it into my other linux desktop so I could run wipefs or some other tool to explicitly wipe it then retry. I was hoping to just do it all from HA though.

#

FYI too

tough wedge
#

See first link. You need to get an OS shell to run commands like this.

bitter cloud
#

I removed the NVME and wiped it with a Linux machine running proxmox. Nothing has changed after installing back in HA yellow, still unable to move data disk and lsblk looks the same. Am I doing something wrong for the move data disk functionality? Would it be better to do a clean wipe of the HA yellow all together so that I restore from a backup to the fresh HA OS install hopefully on the NVME?

tough wedge
#

Might be something NVME namespace related. What's the lsblk look like on the other system? Also check nvme list and look into the namespaces.