Comment 3 for bug 747068

Revision history for this message
Edgar (edgar-nl) wrote :

> Actually I'm wondering whether this is a duplicate of bug 578199.

I did the patch, but same result... :-(

> I'd recommend building a single pristine image (where time to build doesn't matter), and snapshot or copy that when you need a new image and make the few changes you need to.

It's an idea for some VMs, but we also want to build a lot of 'disposable' VMs completly 'new' with complete diffrent build scripts and parameters...

> Interesting... ( /tmp [EXT4] -> [EXT3] )

See also: https://wiki.ubuntu.com/LucidLynx/ReleaseNotes#Performance regressions with ext4 under certain workloads

> Are you using a local archive mirror?
> It's possible that if you switch back to ext4 now it'll go much faster.

I have in our network an "apt-mirror" server.
Another machine, but is own Gigabit connection...

> Is sda1 your tmpfs?
> If so, edit your fstab to mark it as ext3.

I have my tmpfs on default. (not filled in)

> Please give us the full command line and any configuration files which you used to run vmbuilder, so I can try to reproduce the ext4 booting error.

## BuidVmRaw.sh ##

lvcreate -L 10G -n "$VAR_HostName" vg-1;
vmbuilder kvm ubuntu \
        --config="defaultVM.cfg" \
        -o \
        --hostname="$VAR_HostName" \
        --raw="/dev/vg-1/$VAR_HostName"
        --firstboot="$VAR_firstBoot" \
        --firstlogin="$VAR_firstLogin" \
        --ssh-user-key="/home/locadm/.ssh/authorized_keys" \
        --verbose;

## defaultVM.cfg ##

[DEFAULT]
arch = amd64
cpus = 1
mem = 512
name = 'Local Administrator'
user = locadm
pass = default
timezone = Europe/Amsterdam
domain = company.lan

[ubuntu]
mirror = http://archive.ubuntu.company.lan/ubuntu
security-mirror = http://security.ubuntu.company.lan/ubuntu
suite = lucid
flavour = virtual
addpkg = acpid, cron, htop, nano, pciutils, wget

[kvm]
libvirt = qemu:///system
bridge = br0
virtio_net = true

## ##

I also noticed that the "--firstboot" and the "--firstlogin" don't work,
but first the big EXT4-fs error...