1.查看vg
[root@xenserver~]# vgdisplay
--- Volume group ---
VG Name VG_XenStorage-8cca1fa8-dc5d-405f-2670-31cd2ffd4163
2.创建lv
[root@xenserver ~]# lvcreate -L 10G -n iso VG_XenStorage-8cca1fa8-dc5d-405f-2670-31cd2ffd4163
3.格式化
[root@xenserver ~]# mkfs.ext3 /dev/VG_XenStorage-8cca1fa8-dc5d-405f-2670-31cd2ffd4163/iso
4.加入/etc/fstab
mkdir /iso
/dev/VG_XenStorage-8cca1fa8-dc5d-405f-2670-31cd2ffd4163/iso /iso ext3 defaults 0 0
5.拷贝ISO
[root@xenserver iso]# wget
6.创建本地iso SR
[root@xenserver iso]#xe sr-create name-label=iso_image type=iso device-config:location=/iso device-config:legacy_mode=true contente-type=iso
1303d529-15f1-6cac-3a19-586402347e30
7.重启tools
[root@xenserver iso]#xe-mount-iso-sr /iso
[root@xenserver iso]#xe-toolstack-restart
8.挂载
[root@xenserver ~]#mount -a
阅读(1185) | 评论(0) | 转发(0) |