Hi, I like installing all my RHEL5 Xen guests on unpartitionned block devices provided by LVs on the host. That way I remove one layer of "complexity", which does make things a little easier when growing guest filesystems (stop the guest, grow the LV and then the ext3 from the host, start the guest, done).
The problem is that I've always had to go through ugly hacks to get this done, since the RHEL5 installer doesn't want to install on unpartitionned block devices. Installing interactively, there is a way to achieve it by formatting "manually" the block device at the right stage, then the installation says it's installing to e.g. xvda1 while in fact it installs to xvda. Ugly, but effective :-) But now I'm trying to use cobbler and koan, and the above hack is of course impossible with non-interactive kickstarts. Does anyone know of a way to force RHEL5 onto a non partitionned block device using kickstart? If it's not possible at all, I'm thinking of changing my habit of creating one LV for the guest "/" and another for its swap (the guest has "/" on xvda and swap on xvdb, both without partitions), and use instead one single LV, with xvda1 as the swap (which I'll never resize) and xvda2 as "/". >From there, in my experience, it's possible to grow the LV, then use fdisk to remove xvda2 and re-create it with the new size, then grow the ext3 filesystem. Is this correct? I've tried using parted to grow the partition and filesystem all at once, but it tells me that the filesystem has some incompatible features. Possible extended attributes or something (just a guess). Any hacks and suggestions are welcome :-) Matthias -- Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ Fedora release 7 (Moonshine) - Linux kernel 2.6.22.6-81.fc7 Load : 1.66 0.98 0.68 _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
