[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sisuite-users
Subject:    [sisuite-users] /dev/vda (virtio) support
From:       Linux Datacenter <linuxdatacenter () gmail ! com>
Date:       2010-05-11 8:01:45
Message-ID: AANLkTimafiqDBka441L-bo4zEiA-gzqXTMEdycPjNAu- () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,
Has anyone used systemimager for cloning kvm guests using paravirtualized
drivers (virtio). I am trying to image centos 5.4 (no lvm). The root fs is
placed on /dev/vda2. These partition appear in systemconfig.conf:

[BOOT]
ROOTDEV = /dev/vda2
BOOTDEV = /dev/vda1
DEFAULTBOOT = systemimager

[KERNEL0]
LABEL = systemimager
PATH = /boot/vmlinuz-2.6.18-164.el5
INITRD = /boot/initrd-2.6.18-164.el5.img
APPEND = ro root=LABEL=/

and in autoinstallscript.conf

<config>


  <fsinfo  line="10" real_dev="/dev/vda2" mount_dev="LABEL=/" mp="/"
fs="ext3" options="defaults" dump="1" pass="1" />
  <fsinfo  line="20" real_dev="/dev/vda1" mount_dev="LABEL=/boot"
mp="/boot"  fs="ext3" options="defaults" dump="1" pass="2" />
  <fsinfo  line="30" real_dev="tmpfs" mp="/dev/shm"  fs="tmpfs"
options="defaults" dump="0" pass="0" />
  <fsinfo  line="40" real_dev="devpts" mp="/dev/pts"  fs="devpts"
options="gid=5,mode=620" dump="0" pass="0" />
  <fsinfo  line="50" real_dev="sysfs" mp="/sys"  fs="sysfs"
options="defaults" dump="0" pass="0" />
  <fsinfo  line="60" real_dev="proc" mp="/proc"  fs="proc"
options="defaults" dump="0" pass="0" />
  <fsinfo  line="70" real_dev="/dev/vda3" mount_dev="LABEL=SWAP-vda3"
mp="swap"  fs="swap" options="defaults" dump="0" pass="0" />

  <boel devstyle="udev"/>

</config>


However the .master script on systemimager server does not contain any
commands responsible for partitioning (the ones using parted). This section
is missing.
I tried to add vda support in several places in systemimager with no luck:
/usr/lib/systemimager/perl/SystemImager/Server.pm
/etc/systemimager/autoinstallscript.template

Has anyone succeeded in this?

-- 
checkout my blog on linux clusters:
-- linuxdatacenter.blogspot.com --

[Attachment #5 (text/html)]

Hi,<br>Has anyone used systemimager for cloning kvm guests using paravirtualized \
drivers (virtio). I am trying to image centos 5.4 (no lvm). The root fs is placed on \
/dev/vda2. These partition appear in systemconfig.conf:<br> <br>[BOOT]<br>ROOTDEV = \
/dev/vda2<br>BOOTDEV = /dev/vda1<br>DEFAULTBOOT = \
systemimager<br><br>[KERNEL0]<br>LABEL = systemimager<br>PATH = \
/boot/vmlinuz-2.6.18-164.el5<br>INITRD = /boot/initrd-2.6.18-164.el5.img<br>APPEND = \
ro root=LABEL=/<br> <br>and in \
autoinstallscript.conf<br><br>&lt;config&gt;<br><br><br>  &lt;fsinfo  \
line=&quot;10&quot; real_dev=&quot;/dev/vda2&quot; mount_dev=&quot;LABEL=/&quot; \
mp=&quot;/&quot;  fs=&quot;ext3&quot; options=&quot;defaults&quot; dump=&quot;1&quot; \
pass=&quot;1&quot; /&gt;<br>  &lt;fsinfo  line=&quot;20&quot; \
real_dev=&quot;/dev/vda1&quot; mount_dev=&quot;LABEL=/boot&quot; mp=&quot;/boot&quot; \
fs=&quot;ext3&quot; options=&quot;defaults&quot; dump=&quot;1&quot; \
pass=&quot;2&quot; /&gt;<br>  &lt;fsinfo  line=&quot;30&quot; \
real_dev=&quot;tmpfs&quot; mp=&quot;/dev/shm&quot;  fs=&quot;tmpfs&quot; \
options=&quot;defaults&quot; dump=&quot;0&quot; pass=&quot;0&quot; /&gt;<br>  \
&lt;fsinfo  line=&quot;40&quot; real_dev=&quot;devpts&quot; mp=&quot;/dev/pts&quot;  \
fs=&quot;devpts&quot; options=&quot;gid=5,mode=620&quot; dump=&quot;0&quot; \
pass=&quot;0&quot; /&gt;<br>  &lt;fsinfo  line=&quot;50&quot; \
real_dev=&quot;sysfs&quot; mp=&quot;/sys&quot;  fs=&quot;sysfs&quot; \
options=&quot;defaults&quot; dump=&quot;0&quot; pass=&quot;0&quot; /&gt;<br>  \
&lt;fsinfo  line=&quot;60&quot; real_dev=&quot;proc&quot; mp=&quot;/proc&quot;  \
fs=&quot;proc&quot; options=&quot;defaults&quot; dump=&quot;0&quot; \
pass=&quot;0&quot; /&gt;<br>  &lt;fsinfo  line=&quot;70&quot; \
real_dev=&quot;/dev/vda3&quot; mount_dev=&quot;LABEL=SWAP-vda3&quot; \
mp=&quot;swap&quot;  fs=&quot;swap&quot; options=&quot;defaults&quot; \
dump=&quot;0&quot; pass=&quot;0&quot; /&gt;<br> <br>  &lt;boel \
devstyle=&quot;udev&quot;/&gt;<br><br>&lt;/config&gt;<br><br><br>However the .master \
script on systemimager server does not contain any commands responsible for \
partitioning (the ones using parted). This section is missing.<br> I tried to add vda \
support in several places in systemimager with no \
luck:<br>/usr/lib/systemimager/perl/SystemImager/Server.pm<br>/etc/systemimager/autoinstallscript.template<br><br>Has \
anyone succeeded in this?<br clear="all"> <br>-- <br>checkout my blog on linux \
clusters:<br>-- <a href="http://linuxdatacenter.blogspot.com">linuxdatacenter.blogspot.com</a> \
--<br>



------------------------------------------------------------------------------



_______________________________________________
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic