Advertisement
Guest User

Untitled

a guest
Nov 20th, 2012
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. $ virsh attach-device guest-name device.xml
  2. error: Failed to attach device from device.xml
  3. error: cannot open file 'pool-name/volume-name': No such file or directory
  4.  
  5. $ cat device.xml
  6. <disk type='network' device='disk'>
  7. <driver name='qemu' type='raw'/>
  8. <auth username="my-cephx-user">
  9. <secret type="ceph" uuid="00000000-0000-0000-0000-000000000000"/>
  10. </auth>
  11. <source protocol='rbd' name='pool-name/volume-name'>
  12. <host name="0.0.0.0" port="6789"/>
  13. </source>
  14. <target dev='vdb' bus='virtio'/>
  15. </disk>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement