Hullo Everbody
Below are my configuration commands
How do I attach a new VDI to a VM using the dd
command in linux I order to do a direct block copy
[root@virtualintranet
/]# xe vdi-create sm-config:type=raw
sr-uuid=b303be09-6a32-8d94-d248-7551860fbc3f name-label="LVM VDI"
virtual-size=10GiB type=user
2ec0650c-357a-40a0-825d-c6680ac8cbb8
[root@virtualintranet
/]# xe vbd-create vm-uuid=99cfb147-8bce-9e95-024d-cfcc9268753a device=0
vdi-uuid=2ec0650c-357a-40a0-825d-c6680ac8cbb8 bootable=true type=disk mode=RW
95d50b83-5f3b-e917-0f3c-d93c5b871064
[root@virtualintranet
/]# xe vdi-list
uuid ( RO)
: 2ec0650c-357a-40a0-825d-c6680ac8cbb8
name-label (
RW): LVM VDI
name-description (
RW):
sr-uuid (
RO): b303be09-6a32-8d94-d248-7551860fbc3f
virtual-size (
RO): 10737418240
sharable (
RO): false
read-only (
RO): false
uuid ( RO)
: 4ff63005-1bf0-4b58-b5bd-de62a47a25ab
name-label (
RW): SCSI 1:0:0:0
name-description (
RW): TSSTcorp model DVD+-RW TS-L633C rev D250 type 5
sr-uuid (
RO): f0a1d8bb-89c9-3b37-29b9-04fd89c180b2
virtual-size (
RO): 1073741312
sharable (
RO): false
read-only ( RO): true
uuid ( RO)
: 3cf9f726-79ad-4cb2-9a58-594fcf546cec
name-label (
RW): xs-tools.iso
name-description (
RW):
sr-uuid (
RO): a14b828e-08cd-8f55-58c0-bf732ce4329b
virtual-size (
RO): 66013184
sharable (
RO): false
read-only (
RO): true
[root@virtualintranet
/]# xe vbd-list
uuid ( RO)
: 95d50b83-5f3b-e917-0f3c-d93c5b871064
vm-uuid (
RO): 99cfb147-8bce-9e95-024d-cfcc9268753a
vm-name-label (
RO): PVG1
vdi-uuid (
RO): 2ec0650c-357a-40a0-825d-c6680ac8cbb8
empty (
RO): false
device (
RO):
Thanks
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|