|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
Re: [Xen-users] Using xm block-{attach,detach}
 
On Tuesday, 03 April 2007 13:48:14 +0530,
trilok nuwal wrote:
Hi trilok.
> How are you attaching the devices ?
> For file baked partition are shoud use
> xm block-attach 20 file:/home/disk /dev/hdb2 w
> and for physical partition u have to use
> xm block-attach 20 phy:/dev/sdb4 /dev/hda2 w
> Are you using the same method ?
Yes. In dom0:
sirius:~# xm block-list 5
Vdev  BE handle state evt-ch ring-ref BE-path
771    0    0     4      6      8     /local/domain/0/backend/vbd/5/771
770    0    0     4      7      9     /local/domain/0/backend/vbd/5/770
769    0    0     4      8      10    /local/domain/0/backend/vbd/5/769
sirius:~# xm block-attach 5 phy:/dev/vm/ws1.space /dev/hda4 w
sirius:~# xm block-list 5
Vdev  BE handle state evt-ch ring-ref BE-path
771    0    0     4      6      8     /local/domain/0/backend/vbd/5/771
770    0    0     4      7      9     /local/domain/0/backend/vbd/5/770
769    0    0     4      8      10    /local/domain/0/backend/vbd/5/769
772    0    0     4      10     643   /local/domain/0/backend/vbd/5/772
Inside domU:
ws1:/dev# mkfs.reiserfs /dev/hda [tab][tab]
hda1  hda2  hda3
The domU is Debian GNU/Linux Sarge. It's necessary to do something more
inside domU?
Thanks for you answer.
Regards,
Daniel
-- 
Daniel Bareiro - System Administrator
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Etch - Linux user #188.598
 
 
signature.asc 
Description: Digital signature 
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-users] Using xm block-{attach,detach}, Daniel Bareiro
- Re: [Xen-users] Using xm block-{attach,detach}, trilok nuwal
- Re: [Xen-users] Using xm block-{attach,detach},
Daniel Bareiro <=
 
  
- Re: [Xen-users] Using xm block-{attach,detach}, trilok nuwal
 - Re: [Xen-users] Using xm block-{attach,detach}, Daniel Bareiro
 - Re: [Xen-users] Using xm block-{attach,detach}, trilok nuwal
 - Re: [Xen-users] Using xm block-{attach,detach}, Daniel Bareiro
 - Re: [Xen-users] Using xm block-{attach,detach}, trilok nuwal
 
  
 
 |  
  
 | 
    | 
  
  
    |   | 
    |