|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] [PATCH] fix free of event channel in blkfront
 
Hi
 
I am using the xen-3.0.3 on paravirtualVM
and I try to use xm block-attach dom6 /vm1/tp.img sda2 w
It seems to be ok, no error ,
but in the dom6 there is no sda2
and xm block-detach dom6 2050,it does not work
and xm block-list dom6 as follows ,
 
 
The block-attach command seems to have failed because your use is wrong.
# xm block-attach dom6 /vm1/tp.img sda2 w
                      ^^^^^^^^^^^
When backend device is a file, it is necessary to specify file.
Moreover, when it is a physical device, it is necessary to specify phy.
The example is as follows.
# xm block-attach dom6 file:/vm1/tp.img sda2 w
# xm block-attach dom6 phy:/dev/sdb sda2 w
The block-detach command works correctly, if the block-attach command succeeds.
Best Regards,
--
Takanori Kasai 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
 | 
    | 
  
  
    |   | 
    |