unable to add storage device to node

iproxmox

New Member
Sep 13, 2019
15
0
1
52
Hi, I'm totally new at proxmox so thanks for bearing with me.
Managed to install latest version of proxmox, did so on SATA SSD.
Would like to install the VMs on another disk (same physical PC) : M.2 NVME.
They appear (i have 2 M.2 SSDs) on the disk list of the node (/dev/...), but they appear as 'partitions' (not as mounted).
When i try to add a ZFS storage volume from the same pane, the devices do not appear at all.
So how can i add the M.2 drive to this node in order to use it as the destination disk for my VM installation?
Thanks
 
Hi,
please try to clear the disks first by writing a new partition table. Then the disks should show up in the GUI to be used for a ZFS pool. Make sure you have no data you want to keep on the drives as this will clear everything.
 
You can accomplish this on the command line with a tool such as gdisk. See for example https://wiki.archlinux.org/index.php/GPT_fdisk
Attention as this will delete all partitions and all the data on the disk, so make sure to pick the right one!
In a root shell use gdisk /dev/<your-disk> and in the interactive prompt you simply type o to create a new partition table and w to write it and exit.
Then it might be necessary to reboot in order for the disk to become visible as unused.