Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Nutanix AHV での、ユーザ VM の vDisk 接続。
<?xml version="1.0"?>
<disk type="network" device="lun">
<driver name="qemu" type="raw" cache="none" error_policy="report" io="native"/>
<source protocol="iscsi" name="iqn.2010-06.com.nutanix:vmdisk-5f37574d-326a-40b0-8824-c14d727f6974/0">
<host name="127.0.0.1" port="3261"/>
</source>
<backingStore/>
<target dev="sda" bus="scsi"/>
<boot order="2"/>
<alias name="scsi0-0-0-0"/>
<address type="drive" controller="0" bus="0" target="0" unit="0"/>
</disk>
@gowatana

This comment has been minimized.

Copy link
Owner Author

commented Dec 7, 2018

下記のようなコマンドラインで取得。cdrom は除外している。

CVM$ virsh dumpxml 3 | xmllint --xpath "//disk[@device!='cdrom']" - | xmllint --format -
@gowatana

This comment has been minimized.

Copy link
Owner Author

commented Dec 7, 2018

下記の投稿むけ。

Nutanix AHV でのユーザ VM の vDisk 接続の様子。
http://blog.ntnx.jp/entry/2018/12/07/214622

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.