XenServer没有自己的文件系统,也就没有自己的ISO Libery,给我们创建虚拟机带来了不少困扰,使用正文这个方法可以不用先安装FileServer

How to Copy ISOs to Local Storage

Document ID: CTX121671   /   Created On: 2012-3-10   /   Updated On: 2012-3-10
Average Rating:5 (1 ratings)

Summary

In XenServer 3.2 and earlier, ISOs could be copied directly to the control domain into the /opt/xensource/packages/iso directory. In XenServer 5.0.0 hosts, this directory is reserved for use of the built-in ISO images, and is not intended for general use. This directory is considered to be identical across hosts in a resource pool, and CD images might fail to attach if the contents are modified.

Procedure

Use the following steps to use local ISO storage from the control domain.

    • Log on to the host console.
    • Use the command below to create an ISO storage repository:

      xe sr-create name-label=<name> type=iso \
      device-config:location=/var/opt/xen/iso_import/<name> \
      device-config:legacy_mode=true content-type=iso
    • Copy the ISO images into this directory, taking care not to fill up the control domain file system.
    • Verify that the ISO image is available for use by xe vdi-list, or checking the CD drop-down box in XenCenter.

Caution! Be extremely careful with copying ISOs directly on to the control domain file system because it has limited space available. A network share is a much safer mechanism for storing large numbers of ISO images. If the control domain fills up, unpredictable behavior results.


This document applies to:


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值