日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

xen支持的块设备

發布時間:2025/5/22 135 豆豆
生活随笔 收集整理的這篇文章主要介紹了 xen支持的块设备 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

xen支持的塊設備

1. 物理塊設備(Dom0中的物理塊設備,如邏輯卷)
? ? phy:/dev/cdrom
? ? phy:/dev/xenvg/vm1
2. 磁盤鏡像
? ? file:/root/tst.iso(使用loopback)
? ? nbd: ip_port (網絡塊設備)
? ? tap:cdrom:/dev/sr0(CD設備)
? ? tap:aio:/path/file ?(blktap)
? ? tap:qcow:/mnt/disks/sles10sp1.iso.qcow(QEMU磁盤鏡像)
? ? tap:vmdk:/mnt/disks/sles10sp1.iso.vmdk(Vmware磁盤鏡像)
3. ISCSI設備:
? ? iscsi:iqn.2001-04.com.acme@0ac47ee2-216e-452a-a341-a12624cd0225
4. NPIV設備:
? ? npiv:210400e08b80c40f

file與tap的區別

file: uses dom0 kernel page cache, and thus might give better performance than phy: or tap:aio:,
but it's also more insecure because of the caching.

tap:aio: uses direct IO, so it bypasses dom0 kernel caches, and works like phy: in that sense.

blktap1 provides also other modes than :aio, like: qcow, but those were not very stable or fast,
? ? disk = ['tap:aio:<FILENAME>,sda1,w']
? ? disk = ['tap:qcow:<FILENAME>,sda1,w']
so blktap2 was developed. for blktap1 see: http://wiki.xensource.com/xenwiki/blktap .


blktap2 also has vhd image support including snapshots and cloning.
? ? disk = [ "tap:tapdisk:vhd:/path/images/disk.vhd,xvda,w" ]
? ? disk = [ "tap2:tapdisk:vhd:/path/images/disk.vhd,xvda,w" ]
See here: http://wiki.xensource.com/xenwiki/blktap2 .


本文轉自feisky博客園博客,原文鏈接:http://www.cnblogs.com/feisky/archive/2012/01/31/2332809.html,如需轉載請自行聯系原作者


總結

以上是生活随笔為你收集整理的xen支持的块设备的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。