close




[root@xenserver-hy03 ~]# vgdisplay
--- Volume group ---
VG Name VG_XenStorage-6049dfd0-702f-fe3b-f1f3-1ae286f1d34d
System ID
Format lvm2
Metadata Areas 4
Metadata Sequence No 61
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 7
Open LV 2
Max PV 0
Cur PV 4
Act PV 4
VG Size 1.63 TB
PE Size 4.00 MB
Total PE 427187
Alloc PE / Size 161085 / 629.24 GB
Free PE / Size 266102 / 1.02 TB
VG UUID zoWm9s-l2gG-bIEZ-V4Tn-7pt7-z7UP-bgHns2






lvcreate -L 20GB -n myiso VG_XenStorage-zzzzz #myiso为卷名
mkfs.ext3 /dev/VG_XenStorage-zzzzz/myiso



mkdir /myiso
and wget your iso http




xe sr-create name-label=ISOs type=iso \
device-config:location=/myiso/ ISOs \
device-config:legacy_mode=true content-type=iso




vi /etc/rc.local
add
mount /dev/VG_XenStorage-zzzzz/myiso /myiso





run
/etc/rc.local



and other


xe-mount-iso-sr /myiso
xe-toolstack-restart


arrow
arrow
    文章標籤
    xenserver xenserver iso
    全站熱搜

    peicheng 發表在 痞客邦 留言(0) 人氣()