Are the docs outdated then? When I set SI up recently, it picked up my
lvm shares and replicated them exactly as expected, all done
automagically. I thought that was normal.
 
Jeff Propes

________________________________

From: Infos E-Blokos [mailto:in...@e-blokos.com] 
Sent: Wednesday, April 08, 2009 12:40 PM
To: sisuite-users@lists.sourceforge.net
Subject: Re: [sisuite-users] problems with lvm2


in docs it's written that LVM are not really supported

        ----- Original Message ----- 
        From: Gorka Barracuda <mailto:gorka_barrac...@yahoo.es>  
        To: sisuite-users@lists.sourceforge.net 
        Sent: Wednesday, April 08, 2009 8:14 AM
        Subject: [sisuite-users] problems with lvm2

Dear All, 

I'm trying to restore an image with pxe server and systemimager (4.0.2
in both sites -golden and server-) and I'm obtaining this error:

Unable to find volume group "vgsys"
Waitinf for device /dev/vgsys/root to appear: not found --  extiing to
/bin/sh:

This is my autoinstallscript.conf where you can see the lvm
configuration (it seems correct according to my golden client's
partitions):

<!--
  
  autoinstallscript.conf
  vi:set filetype=xml:
  
  This file contains partition information about the disks on your
golden
  client.  It is stored here in a generic format that is used by your
  SystemImager server to create an autoinstall script for cloning this
  system.
  
  You can change the information in this file to affect how your target
  machines are installed.  See "man autoinstallscript.conf" for details.
  
-->

<config>

  <disk dev="/dev/sda" label_type="msdos" unit_of_measurement="MB">
    <!--
      This disk's output was brought to you by the partition tool
"parted",
      and by the numbers 4 and 5 and the letter Q.
    -->
    <part  num="1"  size="271"  p_type="primary"  p_name="-"
flags="boot" />
    <part  num="2"  size="2155"  p_type="primary"  p_name="-"  flags="-"
/>
    <part  num="3"  size="*"  p_type="extended"  p_name="-"  flags="lba"
/>
    <part  num="5"  size="*"  p_type="logical"  p_name="-"  flags="lvm"
lvm_group="vgsys" />
  </disk>

  <disk dev="/dev/sdb" label_type="msdos" unit_of_measurement="MB">
    <!--
      This disk's output was brought to you by the partition tool
"parted",
      and by the numbers 4 and 5 and the letter Q.
    -->
    <part  num="1"  size="2155"  p_type="primary"  p_name="-"  flags="-"
/>
    <part  num="2"  size="*"  p_type="extended"  p_name="-"  flags="lba"
/>
    <part  num="5"  size="*"  p_type="logical"  p_name="-"  flags="lvm"
lvm_group="vgsys" />
  </disk>


  <lvm version="2">
    <lvm_group name="vgsys" max_log_vols="0" max_phys_vols="0"
phys_extent_size="4096K">
      <lv name="root" size="10485760K" />
      <lv name="scratch" size="209715200K" />
      <lv name="var" size="5242880K" />
    </lvm_group>
  </lvm>

  <fsinfo  line="10" real_dev="/dev/vgsys/root" mp="/"  fs="ext3"
options="acl,user_xattr" dump="1" pass="1" />
  <fsinfo  line="20" real_dev="/dev/sda1" mp="/boot"  fs="ext3"
options="acl,user_xattr" dump="1" pass="2" />
  <fsinfo  line="30" real_dev="/dev/vgsys/scratch" mp="/scratch"
fs="xfs" options="defaults" dump="1" pass="2"
 />
  <fsinfo  line="40" real_dev="/dev/vgsys/var" mp="/var"  fs="xfs"
options="defaults" dump="1" pass="2" />
  <fsinfo  line="50" real_dev="/scratch/SuSE" mp="/SuSE"  fs="none"
options="rw,bind" dump="0" pass="0" />
  <fsinfo  line="60" real_dev="iqtc1.qt.ub.es:/sgeinst" mp="/sgeinst"
fs="nfs" options="bg,hard,intr" dump="0"
 pass="0" />
  <fsinfo  line="70" real_dev="/dev/sda2" mp="swap"  fs="swap"
options="defaults" dump="0" pass="0" />
  <fsinfo  line="80" real_dev="/dev/sdb1" mp="swap"  fs="swap"
options="defaults" dump="0" pass="0" />
  <fsinfo  line="90" real_dev="proc" mp="/proc"  fs="proc"
options="defaults" dump="0" pass="0" />
  <fsinfo  line="100" real_dev="sysfs" mp="/sys"  fs="sysfs"
options="noauto" dump="0" pass="0" />
  <fsinfo  line="110" real_dev="debugfs" mp="/sys/kernel/debug"
fs="debugfs" options="noauto" dump="0" pass="0
" />
  <fsinfo  line="120" real_dev="usbfs" mp="/proc/bus/usb"  fs="usbfs"
options="noauto" dump="0" pass="0"  forma
t="no" />
  <fsinfo  line="130" real_dev="devpts" mp="/dev/pts"  fs="devpts"
options="mode=0620,gid=5" dump="0" pass="0" 
/>

  <boel devstyle="udev"/>

</config>

The commands used for creating the images:


si_prepareclient --server 192.168.10.250 


si_getimage --golden-client 192.168.10.1 --image hp_proilant_dl160
--ip-assignment dhcp -exclude /scratch -exclude /opt -exclude /home
-exclude /sge 



and the pxe default config file :


DISPLAY /X86PC/UNDI/linux-install/message.txt
PROMPT 1
DEFAULT proilantdl160 

LABEL proilantdl160 
        kernel vmlinuz_hp_dl160
        append vga=normal IMAGENAME=hp_proilant_dl160
initrd=initrd_hp_dl160 roo
t=/dev/vgsys/root


Could anybody help me?

Thanks in advance,

best regards

gorkab




        -- 
        This message has been scanned for viruses and 
        dangerous content by MailScanner <http://www.mailscanner.info/>
, and is 
        believed to be clean. 

        
________________________________


        

        
------------------------------------------------------------------------
------
        This SF.net email is sponsored by:
        High Quality Requirements in a Collaborative Environment.
        Download a free trial of Rational Requirements Composer Now!
        http://p.sf.net/sfu/www-ibm-com 

        
________________________________


        

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


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner <http://www.mailscanner.info/> , and is

believed to be clean. 
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to