Re-attach physical disk

rbtucker09

New Member
Mar 27, 2024
1
0
1
I'm testing a proof-of-concept for something and am looking for a little guidance as Google has let me down so far. I setup a TrueNAS VM and passed these 6 disks through to the VM using the qm set command. In TrueNAS, I created a ZFS pool, created a dataset, shared it, and then added some files. I then shutdown the VM and detached the disks. How can I re-attach the disks to a VM without formatting the disks/losing data. In the GUI I can see the disks but when using the command below to list their location, they do not show up. Any help is much appreciated!

find /dev/disk/by-id/ -type l|xargs -I{} ls -l {}|grep -v -E '[0-9]$' |sort -k11|cut -d' ' -f9,10,11,12

msedge_BLYhnPyrYZ.png
 

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!