How do I identify a hard drive from the host?

surfrock66

Well-Known Member
Feb 10, 2020
52
10
48
41
I have a file server VM with about 7 luns attached to it. 2 of them are 2TB. I know the drive is almost full and needs to be expanded. I am now not sure which lun on the host is equivalent to the uuid on the guest. From the host, they look identical. Is there a way to pull the uuid or something from the host? They are TrueNAS backed luns over iSCSI, so I was maybe looking for a lun size correlation, but that's not as ironclad as I'd like before extending the LUN.
 
host and uuid is tricky. Without the uuid, the ordering would be 1:1 the same as you would see on the PVE UI. You have at least two options here:

  • To get the uuid, you would need to check from the PVE host command line (e.g. ssh) and inspect the backing devices that hold your VM data. This is dependend of your used storage type, e.g. LVM or ZFS. Can you provide that and we can give more precise instructions.
  • You could also increase of the disks just by 1 G to find out which one is which and afterwards increase this (or the right one) to the final disk size
 
  • Like
Reactions: Kingneutron