[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Creation of additional image within a domU



> Perhaps this question is a little basic for this list but I'm not
> really sure of the simplest method or best tool for the job.
>
> I've created some images with `dd=/dev/zero ....` and I'm using them
> for the domUs now. Some of them have been running for a few months
> with no probs. Trouble is that I'd like to create a separate partition
> within the domU. Options:-
> 1 - use fdisk? Not sure if that's possible for a file-based image.
> Can't run it within the domU
> 2 - run dd to create another partiton? Not sure how that would work
> 3 - create the new image from scratch and create the new partition as
> required and tell /etc/fstab about it.

Well, this is interesting, are you currently exporting the file-based block 
device to the guest as a whole device, or as a partition?

If the latter, then you could just attach another file-based block device as 
another partition (just add it in the dom0 config and it should show up in 
the guest).  If the former then you'll need to either repartition your 
existing VBD (e.g. resize the filesystem in the current VBD) or add a new one 
then partition it from within the guest.

There are probably other ways of doing this too.....  With more information 
about your current setup it should be easier to give more specific 
suggestions.

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.