我正在尝试修改XenServer 6.2的指示信息,以便如何为新安装的XenServer 6.5主机创build本地ISO库。 不过命令…
xe sr-create name-label=LocalIso type=iso device-config:legacy-mode=true device-config:location=/var/iso content-type=iso
…以下错误代码和消息失败…
Error code: SR_BACKEND_FAILURE_222 Error parameters: , Could not mount the directory specified in Device Configuration,
活动逻辑卷安装在“/ var / iso”处。 所以目录应该是可访问的。
# lvscan ACTIVE '/dev/VG_XenStorage-<id>/MGT' [4.00 MB] inherit ACTIVE '/dev/VG_XenStorage-<id>/ISO' [32.00 GB] inherit # df -T Filesystem Type 1K-blocks Used Available Use% Mounted on [...] /dev/mapper/VG_XenStorage--<id>-ISO ext3 33027952 766592 30583640 3% /var/iso
不知道如何去从那里,所以任何帮助,非常感谢!
这里有一个教程如何做到这一点,以及如何在单独的分区上创buildISO存储的附加信息: http : //adamscheller.com/server-administration/xenserver-local-iso-storage-new-partition/
你应该ssh到你的氙,并执行以下操作:
cd /var/run/sr-mount/<your uuid> mkdir ISO <or whatever> xe sr-create name-label=ISO type=iso device-config:location=/var/run/sr-mount/<your uuid>/ISO device-config:legacy_mode=true content-type=iso
然后我build议winscp到你的xen @ cd /var/run/sr-mount/<your uuid>/<your iso>