Ubuntu Lucid vs iSCSI and KVM
As Ubuntu Lucid uses Upstart life got a bit hard. I'm not here to blame anybody, but init.d and Upstart is somehow inconsistent.
My problem arose when I wanted to start a KVM vitrual machine from an iSCSI block device at boot time automatically. The machine booted up (tried to) before the block device showed up in /dev/mapper.
The solution was to modify the upstart script of KVM, and add 60sec sleep before startup.
I know it would be more elegamt to convert the iSCSI init.d script to upstart and add as dependance, but it is a working few minutes dirty hack!:)
Published with Blogger-droid v1.3.7
No comments:
Post a Comment