[pve-devel] pve-manager and disk IO monitoring

Michael Rasmussen mir at datanom.net
Thu Sep 29 08:46:49 CEST 2016


On Thu, 29 Sep 2016 09:41:35 +0300
Dmitry Petuhov <mityapetuhov at gmail.com> wrote:

> In QemuServer.pm (some code omitted):
> 
> if ($drive->{interface} eq 'scsi')
> my $devicetype = 'hd';
>      if($path =~ m/^iscsi\:\/\//){
>          $devicetype = 'generic';
>      }
> $device = "scsi-$devicetype ...
> 
> So usually if drive interface is scsi, PVE uses fully-emulated qemu device 'scsi-hd'. But for iscsi: volumes (iscsi direct and zfs over iscsi) it uses 'scsi-generic' device, which just proxies scsi commands between guest OS and your SAN's iscsi target.
> 
I see. So currently by using scsi-generic you sort off disable all
qemu block features like monitoring etc. ?

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
There is nothing wrong with Southern California that a rise in the
ocean level wouldn't cure.
		-- Ross MacDonald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: OpenPGP digital signature
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20160929/8bcfb9a9/attachment.sig>


More information about the pve-devel mailing list