Answer the question
In order to leave comments, you need to log in
PROXMOX TASK ERROR: volume 'Minima:100/vm-100-disk-0.qcow2' does not exist?
I must say right away that I am a noob and just learning.
I installed proxmox, created a VM, everything worked. as soon as I put the new SSD into the server, I see the paths or names of the original SSD have disappeared and now the virtual machine does not start, it says that it cannot find
TASK ERROR: volume 'Minima:100/vm-100-disk-0.qcow2' does not
exist I need to find the disk through the shell and somehow specify the path to it? what commands or where to look?
Answer the question
In order to leave comments, you need to log in
Log in through the Proxmox web interface, view the properties of the virtual machine and correct the path to the virtual disk.
If you want in the console - all commands are described in the official documentation
https://pve.proxmox.com/wiki/Command_line_tools
figured out
the problem is that when the server is rebooted, mount flies, it can also fly if you installed a new ssd, etc.
procedure
1)
create a folder for our disk
mkdir /mnt/apacer120-1
find the uuid of the disk
ls -lah /dev/disk/by-uuid/
mount the uuid of the disk and specify the folder where the disk will be
mount UUID=c2d660ee-1c5f-4579-b858 -f1e88836753d /mnt/apacer120-1/
check the mount
df -h
2)
so that when you reboot the server every time you do not mount, you need to register all fstab
find the mounted current disk from point 1 and copy it to the settings
cat /etc/mtab
unmount the
umount disk /mnt/apacer120-1
edit the file fstab
nano /etc/fstab
add where your uuid and the name of your folder and the rest of the data from cat /etc/mtab, in my case it was like this:
UUID=252b3e3c-562b-4cbd-a800-4ae132fb4569 /mnt/apacer120-1/ ext4 rw,relatime 0 0
mount everything that is in fstab
mount -a
check if the disk is mounted
df -h
if there is no disk in the mounted ones, be sure to delete the line from /etc/fstab otherwise the server will crash when rebooting
3)
in the proxmox web itself, select the face virtual machine -\u003e hard disk -\u003e move disk (top) -\u003e and select the disk that mount did from the list
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question