-----BEGIN PGP SIGNED MESSAGE-----
On Tue, 22 Apr 2008, Conor Wynne wrote:
> I need to add a second disk to a vm as i didn't make the original large
> enough for what I need.
> I have done the following so far:
> dd if=/dev/zero of=/var/xen_vms/newdisk.img bs=1M count=3000
>> I then modified theconfig file as follws:
>> name = "rh4_yum_server"
> uuid = "4a61b209-d111-1858-d7e6-948dc934e4af"
> maxmem = 400
> memory = 400
> vcpus = 1
> bootloader = "/usr/bin/pygrub"
> on_poweroff = "destroy"
> on_reboot = "restart"
> on_crash = "restart"
> vfb = [ "type=vnc,vncunused=1" ]
> disk = [ "tap:aio:/var/xen_images/rhel4_yum_server.img,xvda,w" ]
> disk = [ "tap:aio:/var/xen_images/yumsrvdisk2.img,xvdb,w" ]
> vif = [ "mac=00:16:3e:1e:7c:5a,bridge=xenbr0" ]
> No joy then. What am I doing wrong lads?
Humm....I use the following option for file based images in Xen:
so you'd go:
I know thats a little different to what your xen config uses.
You could also resize your initial image that you created:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-----END PGP SIGNATURE-----
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!