> Cc-ing Michael Tautschnig, maintainer and lead developer of setup-storage > > * Jordi Funollet [Mon Jul 19, 2010 at 05:05:08 +0200]: > > > For my KVM guests, I create LV on the hosts and assing them as disks. No > > LVM management is done inside the guests and disks are not partitioned > > (except for /boot, just to install Grub into the MBR). This way resizing > > partitions or fsck'ing from the KVM host is trivial. > > > I learned this trick from Debian's DSA > > (http://dsa.debian.org/howto/install-kvm/), so I'm not the only one with > > this usecase. > > > This is how the final '/etc/fstab' looks like: > > > /dev/vda1 /boot ext3 defaults 0 2 > > /dev/vdb / ext3 errors=remount-ro 0 1 > > > As I understand it, setup-storage has no way of managing a disk without > > partitioning it. > > Michael, this issue is still present in nowadays' FAI AFAICS, right? > Do you think that's something that could be easily implemented? > Any opinions from you? >
I have taken a stab at that and hope to have come up with a nicely usable solution; it's included in 4.0~beta2+experimental10 and works as follows: disk_config vdb raw-disk / 0 ext3 rw,errors=remount-ro That is, instead of primary/logical use "raw-disk"; the size specification is completely ignored, but everything else works as usual. Jordi, could you give that version a try and see whether it works as expected? Thanks a lot, Michael
pgpxY89KnaGkY.pgp
Description: PGP signature

