본문 바로가기

가상화/Xenserver

2. ISO 마운트

반응형
## ISO 이미지 다운로드 및 디렉토리 생성
 
[root@XEN CentOS6]# ll
total 415744
-rw-r--r-- 1 root root 425721856 Jun 30 2018 CentOS-6.10-x86_64-minimal.iso
[root@XEN CentOS6]# pwd
/ISO/ISO_LIBRARY/CentOS6
 
 
## ISO SR 생성
[root@XEN CentOS6]# xe sr-create name-label=centos6.10 type=iso device-config:location=/ISO/ISO_LIBRARY/CentOS6 device-config-legacy_mode=true content-type=iso
17898e20-6f4f-042a-ae7b-805b602b6087
 
 
## 확인
[root@XEN CentOS6]# xe sr-list
...
 
uuid ( RO) : 17898e20-6f4f-042a-ae7b-805b602b6087
name-label ( RW): centos6.10
name-description ( RW):
host ( RO): {xen hostname} (IDC)
type ( RO): iso
content-type ( RO): iso
 
...
 
 
## 경로 확인
[root@XEN CentOS6]# xe pbd-list sr-uuid=17898e20-6f4f-042a-ae7b-805b602b6087
uuid ( RO) : 02db471f-58ed-4e63-d68b-a4beb599fb6e
host-uuid ( RO): fc261eb6-0bb8-4d72-b07d-a7dbfb96ceda
sr-uuid ( RO): 17898e20-6f4f-042a-ae7b-805b602b6087
device-config (MRO): location: /ISO/ISO_LIBRARY/CentOS6; legacy_mode: true
currently-attached ( RO): true
반응형