[SOLVED] Adding second hard disk causes first one to unmount

jaggerjak

New Member
May 21, 2023
3
0
1
Have a unbuntu server VM with a disk attached by id in the conf, so I made a lvm and once it's attached and I reboot the VM both drives are not visible when I try "df -h"
I tried attaching a second by id like the first one but same issue, every time I attach another drive the first one is gone after reboot.
1684690114745.png
 
Hi,
what does lsblk inside the VM show? Do both disks contain a file system and did you mount both?
 
Glad you were able to solve the issue! Please mark the thread as [SOLVED] by clicking the Edit thread button above the first post and selecting the appropriate prefix. This helps other users finding solutions more quickly.
 
i have the same issue but with a windows 11 vm. got a 1tb ssd for my security camera footage. last night i installed plex on the vm and added my 12tb using
Code:
/sbin/qm set 101 -virtio2 /dev/disk/by-id/ata-WDC_WD120EFBX-68B0EN0_D7HYYDWN
and was able to get plex going. this morning i went to check on my camera footage and noticed the 1tb got detached somehow.

went to the pve's shell and repasted the command and it just unmounts one of the drives when i want to add the second drive. so i dont have any issues mounting one drive but when i mount the second one using shell it overrides the 1st mount and the second drive takes over etc.

i want to mount both of these to my w11 vm

1746220059606.png
 
Last edited: