Hello,

I can't get this to work. I tried lots of permutations of virsh 
attach-disk and xm block-attach but neither resulted in attaching a disk 
the domain that it would recognize. Format would always show, something 
to the effect of

    AVAILABLE DISK SELECTIONS:
       0. c3d3 <drive type unknown>
          /xpvd/x...@3
       1. c3t0d0 <DEFAULT cyl 12531 alt 0 hd 255 sec 63>
          /xpvd/x...@51712

I as attempting to attach a sparse vdi image of Nevada 105 I just 
installed through Virtual Box this morning. Dom0 is running 105 as well. 
I tried

    xm block-attach dse:odevtst-1 /export/home/mock/Nevada105.vdi 3 w
    xm block-attach dse:odevtst-1 /export/home/mock/test-vdi 3 w
    virsh attach-disk dse:odevtst-1 /export/home/mock/Nevada105.vdi hdb 
--driver tap --subdriver vdisk
    virsh attach-disk dse:odevtst-1 /export/home/mock/test-vdi hdb 
--driver tap --subdriver vdisk

I even tried using vdiskadm create to create an image and then copy my 
vdi over the existing vdi file.

I did scp the image from another system, but the file size is the same 
so I wouldn't think that it would be a problem.

Thoughts?

  --joe
   

Mark Johnson wrote:
> Arik Fishbein wrote:
>   
>> I was wondering if it's possible to create guest using existing 
>> VirtualBox created image. Which version of OpenSolaris supports VDI format?
>> Arik.
>>     
>
> Yes.  vdi support was integrated in b101. See the
> following for more info..
>
>    http://opensolaris.org/jive/message.jspa?messageID=299626
>
> In b102, you can reference a vdi file directly..
> e.g..
>
>    xm block-attach snv105 tap:vdisk:/tank/guests/nevada/disk3.vdi 3 w
>
>
>
> MRJ
>
>
>
>   
>> Mark Johnson wrote:
>>     
>>> Arik Fishbein wrote:
>>>   
>>>       
>>>> Hi. I wonder whether it's possible to use VMDK file cloned from 
>>>> VirtualBox's VDI file as an image file.
>>>>     
>>>>         
>>> Yes.. You can also just use the vdi file. What
>>> exactly are you trying to do and we can tell
>>> you the best way to do it.
>>>
>>>
>>>
>>> MRJ
>>>
>>>
>>>
>>>
>>>
>>>
>>>   
>>>       
>>>> Thanks, Arik.
>>>> _______________________________________________
>>>> xen-discuss mailing list
>>>> [email protected]
>>>>     
>>>>         
>>> _______________________________________________
>>> xen-discuss mailing list
>>> [email protected]
>>>   
>>>       
> _______________________________________________
> xen-discuss mailing list
> [email protected]
>   

_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to