[PVE-User] question regarding colum in disks view / passtrough disk

Dominik Csapak d.csapak at proxmox.com
Thu Nov 28 09:49:41 CET 2019

On 11/27/19 3:00 PM, Roland @web.de wrote:
> Hello,


> in Datacenter->Nodename->Disks  there is a column "Usage" which shows
> what filesystem is being used for the disk.
> I have 2 System disks (ssd) which contain the proxmox system and they
> are being used as ZFS mirror, i.e. i can put virtual machines on rpool/data
> The other harddisks (ordinary large sata disks) are being used as
> passtrough devices, i.e. have added them with command like
> qm set 100 -scsi5 /dev/disk/by-id/ata-HGST_HUH721212ALE600_AAGVE62H
> as raw disks to virtual machines, i.e. they are used from a single
> virtual machine.
>  From the Disk View in Webgui, you cannot differ between thos, i.e. they
> simply look "the same" from a hosts management perspective.
> Wouldn't it make sense to make a difference in the Webgui when a disk
> containing filesystem/data which is (and should) not being accessed on
> the host/hypervisor level ?

In general i agree with you that this would be nice.
The problem here is that during the disk enumeration, we do not touch
vm configs (also i am not even sure if we could do it that easily
because of package dependency chains) and thus have no information
which disk is used by vms

> I would feel much better if proxmox knew some "the host OS should not
> touch this disk at all" flag and if it would have an understanding of
> "this is a disk i (can) use" and "this is a disk i can't/should not use"

if a disk is not used by a mountpoint/zfs/lvm/storage definition/etc. it 
will not be touched by pve (normally) so this is only a 'cosmetic' issue

passing through a disk to a vm is always a very advanced feature that
can be very dangerous (thus it is not exposed in the web interface)
so the admin should already know what hes doing...

> regards
> Roland
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

More information about the pve-user mailing list