[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Creation of additional image within a domU
Um, for some reason I don't get any output when i run `fdisk -l` within a domU. Here is the /etc/fstab for the domU. [root@cpxvm ~]# cat /etc/fstab # This file is edited by fstab-sync - see 'man fstab-sync' for details # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> /dev/sda1 / ext3 defaults 1 1 /dev/sda2 none swap sw 0 0 /dev/sda3 /alpha ext3 defaults 1 1 none /dev/pts devpts gid=5,mode=620 0 0 none /dev/shm tmpfs defaults 0 0 none /proc proc defaults 0 0 none /sys sysfs defaults 0 0 Created image and run 'xm block attach`. All ok so far. Now it should be a case of running fdisk within the domU, right? On 24/02/07, john maclean <jayeola@xxxxxxxxx> wrote: Thanks for that speedy reply! Didn't expect any one to make sense of my jumbled initial message. -*- mode fingers_crossed -*- On 24/02/07, Tim Post <tim.post@xxxxxxxxxxxxxxx> wrote: > John, sorry I forgot to mention something to you. If you do slice up a > virtual block device into partitions, you will need to use one of the > quemu tools known as 'lomount' to mount them from dom-0. > > You should probably get familiar with it before putting anything serious > on the drive. > > I have also never attempted to fsck a sliced lv or file backed vbd image > from dom-0, I'm not quite sure how you would go about doing that if > necessary. > > Best, > --Tim > > On Sat, 2007-02-24 at 11:46 +0000, john maclean wrote: > > Chaps, > > > > 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. > > > > -- John Maclean - 07739 171 531 MSc (DIC) -- John Maclean - 07739 171 531 MSc (DIC) -- John Maclean - 07739 171 531 MSc (DIC) _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |