Renaming drives in VM

MrBooombastick

New Member
Jan 17, 2022
8
0
1
35
Hello,

I have an issue with my drives on my VM. I copied physical server to Proxmox using Clonezilla (1 drive-4 partitions, now shows as 4 drives in Proxmox). How do I find out which from these is sda,sdb,sdc and sdd? And then, I would like to rename them in a shell/system where Proxmox would use them as set from 1-4 only and not to jump or rename them for some reason.
As you can see on the screenshot, those 4 should be from 1 to 4/ sda-sdd, but I cannot boot the system from it, so I need to force proxmox ve to change accordingly. Thank you for any advice. Hope you understand and sorry, I am new to these things.
 

Attachments

  • 4 disky 2222.jpg
    4 disky 2222.jpg
    40.6 KB · Views: 27
hi,
How do I find out which from these is sda,sdb,sdc and sdd
inside the VM you can check the outputs from fdisk -l or lsblk -f. since you have different sizes for the disks it should be easy to determine which one is which.

And then, I would like to rename them in a shell/system where Proxmox would use them as set from 1-4 only and not to jump or rename them for some reason.
you can try mounting them by-uuid inside the /etc/fstab file of your VM. check the output from ls -al /dev/disk/by-uuid and it should show you :)