Want to take part in these discussions? Sign in if you have an account, or apply for one below
_____________________
using following steps we can add secondary hard disk in xen vm:
1. first create a new block device file:
dd if=/dev/zero of=/path/to/diskfile.dsk bs=1024k count=50000
this will create a +50GB file
2. add above created file as harddisk:
para-virtualized:
xm block-attach 6 /vmfs/test1disk2.dsk /dev/xvdb w
for full-virtualized:
xm block-attach 6 file:/vmfs/test1disk2.dsk xvdb w
that's it. a new block device file /dev/xvdb will be created in guest domain(Dom id 6).
1 to 1 of 1