| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API] Configuration needed to share a VDI
 Mike, I have tried to do what you said, but I have got an error. My steps: [root@vmserver05 ~]# xe sr-param-list uuid=81a9d5c1-f0a8-ecfb-28b0-59154f2b70df 
uuid ( RO)                    : 81a9d5c1-f0a8-ecfb-28b0-59154f2b70df               name-label ( RW): VMDATA02_RAID10         name-description ( RW): iSCSI SR [172.30.1.101 (iqn.1984-05.com.dell:powervault.md3200i.6782bcb00006b020000000004d41e117)] 
                    host ( RO): <shared>       allowed-operations (SRO): forget; VDI.create; VDI.snapshot; plug; update; destroy; VDI.destroy; scan; VDI.clone; VDI.resize; unplug       current-operations (SRO): 
                    VDIs (SRO): 6fc452d3-7381-4416-a2c9-71e526261c40                     PBDs (SRO): 0aee7f9b-3171-f2cf-c3a4-929bb538b247; d3d748b6-574b-598e-5c43-3e4e79c73515; 04e035ba-781c-7c6d-c54b-97b589bc985b; cfbe9adc-e233-5f2d-d798-058815a247d0; 5badfa05-dd7c-3b90-7fde-01c2ea7483e9 
      virtual-allocation ( RO): 1073741824     physical-utilisation ( RO): 1077936128            physical-size ( RO): 600016158720                     type ( RO): lvmoiscsi             content-type ( RO): 
                  shared ( RW): true             other-config (MRW):                sm-config (MRO): allocation: thick; use_vhd: true; multipathable: true; devserial: scsi-36782bcb000069cb1000003724df80c1e 
                   blobs ( RO):      local-cache-enabled ( RO): false                     tags (SRW): [root@vmserver05 ~]# xe vdi-create sr-uuid=81a9d5c1-f0a8-ecfb-28b0-59154f2b70df name-label=teste virtual-size=1GiB type=user sm-config:type=raw sharable=true 
782f2e7b-77d4-4590-b5c4-d2d473c6b63f Then I have attached this disk in 2 VMs using XenCenter. The VBDs were created, as display here: [root@vmserver05 ~]# xe vdi-param-list uuid=782f2e7b-77d4-4590-b5c4-d2d473c6b63f 
uuid ( RO)                    : 782f2e7b-77d4-4590-b5c4-d2d473c6b63f               name-label ( RW): teste         name-description ( RW):            is-a-snapshot ( RO): false 
             snapshot-of ( RO): <not in database>                snapshots ( RO):            snapshot-time ( RO): 19700101T00:00:00Z       allowed-operations (SRO): resize_online; clone 
      current-operations (SRO):                  sr-uuid ( RO): 81a9d5c1-f0a8-ecfb-28b0-59154f2b70df            sr-name-label ( RO): VMDATA02_RAID10                vbd-uuids (SRO): c56c23da-85eb-5ae8-a413-18da3d8870b3; 5ca07308-d296-37d9-a715-475453126949 
         crashdump-uuids (SRO):             virtual-size ( RO): 1073741824     physical-utilisation ( RO): 1073741824                 location ( RO): 782f2e7b-77d4-4590-b5c4-d2d473c6b63f 
                    type ( RO): User                 sharable ( RO): true                read-only ( RO): false             storage-lock ( RO): false                  managed ( RO): true 
                  parent ( RO): <not in database>                  missing ( RO): false             other-config (MRW):            xenstore-data (MRO): vdi-type: aio; storage-type: lvm; scsi/0x12/0x83: AIMAMQIBAC1YRU5TUkMgIDc4MmYyZTdiLTc3ZDQtNDU5MC1iNWM0LWQyZDQ3M2M2YjYzZiA=; scsi/0x12/0x80: AIAAEjc4MmYyZTdiLTc3ZDQtNDUgIA==; vdi-uuid: 782f2e7b-77d4-4590-b5c4-d2d473c6b63f 
               sm-config (MRO): host_OpaqueRef:52a45c20-d88f-5869-7f7b-318b17833721: RW; type: raw; vdi_type: aio                  on-boot ( RW): persist            allow-caching ( RW): false 
                    tags (SRW): But I could activate (plug) only one of them. When I try to plug on both of them I get this error: [root@vmserver05 ~]# xe vbd-plug uuid=c56c23da-85eb-5ae8-a413-18da3d8870b3 
Error code: SR_BACKEND_FAILURE_46 Error parameters: , The VDI is not available [opterr=VDI 782f2e7b-77d4-4590-b5c4-d2d473c6b63f already attached RW], Is there any parameter am I missing? 
On Fri, May 18, 2012 at 10:58 AM, Mike McClurg <mike.mcclurg@xxxxxxxxxx> wrote: 
 Carlos Eduardo Tavares Terra Red Hat Certified Engineer Consultor em Infraestrutura de TI GNU/Linux #413291 [http://counter.li.org] _______________________________________________ Xen-api mailing list Xen-api@xxxxxxxxxxxxx http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api 
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |