Disk /dev/zd16

ChrisJM

Well-Known Member
Mar 12, 2018
56
1
48
39
Hey Guys.

Just a quick one, it maybe silly.

for example how would i know which VM Disk /dev/zd16 goes to? is it in a config file or is it mounted or a symlink somewhere?

I can see it in "zfs list" but that doesn't tell me its on disk /dev/zd16.

Any help would be great.

Using ZFS btw.

Thanks,
Chris
 
Hi,
for example how would i know which VM Disk /dev/zd16 goes to?
AFIK there is not mapping in this direction.
But you can go the other way.
Code:
ls -l /dev/zvol/<Pool>/vm-<VMID>-disk-1
[Code]
 
e.g.,
Code:
$ udevadm info /dev/zd0
P: /devices/virtual/block/zd0
N: zd0
S: rpool/swap
S: zvol/rpool/swap
E: DEVLINKS=/dev/zvol/rpool/swap /dev/rpool/swap
E: DEVNAME=/dev/zd0
E: DEVPATH=/devices/virtual/block/zd0
E: DEVTYPE=disk
E: MAJOR=230
E: MINOR=0
E: SUBSYSTEM=block
E: TAGS=:systemd:
E: USEC_INITIALIZED=5679736
 

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!