Sorry... Sent without finishing, please see below for updates. Thanks for your help. Jason
-----Original Message----- From: Leidner, Jason (JLEIDNER) Sent: Tuesday, June 06, 2006 4:10 PM To: '[EMAIL PROTECTED]'; [email protected] Subject: RE: [Sisuite-users] RE: Ramdisk size too small? Getting errors Andrea, Here is the autoinstallscript.conf from my goldenclient: <!-- 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="101.944" p_type="primary" p_name="-" flags="boot" /> <part num="2" size="*" p_type="primary" p_name="-" flags="lvm" /> </disk> <lvm version="2"> <lvm_group name="VolGroup00" max_log_vols="0" max_phys_vols="0" phys_extent_size="32768K"> <lv name="LogVol00" size="211582976K" /> <lv name="LogVol01" size="2031616K" /> </lvm_group> </lvm> <fsinfo line="10" comment="# This file is edited by fstab-sync - see 'man fstab-sync' for details" /> <fsinfo line="20" real_dev="/dev/VolGroup00/LogVol00" mp="/" fs="ext3" options="defaults" dump="1" pass="1" /> <fsinfo line="30" real_dev="/dev/sda1" mount_dev="LABEL=/boot" mp="/boot" fs="ext3" options="defaults" dump="1" pass="2" /> <fsinfo line="40" real_dev="none" mp="/dev/pts" fs="devpts" options="gid=5,mode=620" dump="0" pass="0" /> <fsinfo line="50" real_dev="none" mp="/dev/shm" fs="tmpfs" options="defaults" dump="0" pass="0" /> <fsinfo line="60" real_dev="none" mp="/proc" fs="proc" options="defaults" dump="0" pass="0" /> <fsinfo line="70" real_dev="none" mp="/sys" fs="sysfs" options="defaults" dump="0" pass="0" /> <fsinfo line="80" real_dev="/dev/VolGroup00/LogVol01" mp="swap" fs="swap" options="defaults" dump="0" pass="0" format="no" /> <fsinfo line="90" real_dev="netapp1:/vol/voldb" mp="/voldb" fs="nfs" options="rsize=32768,wsize=32768,hard,nointr,rw,bg,vers=3,tcp,actimeo=0, timeo=600" dump="0" pass="0" /> <fsinfo line="100" real_dev="netapp2:/vol/vollog" mp="/vollog" fs="nfs" options="rsize=32768,wsize=32768,hard,nointr,rw,bg,vers=3,tcp,actimeo=0, timeo=600" dump="0" pass="0" /> <fsinfo line="110" real_dev="netapp2:/vol/volhome" mp="/volhome" fs="nfs" options="rsize=32768,wsize=32768,hard,nointr,rw,bg,vers=3,tcp,actimeo=0, timeo=600" dump="0" pass="0" /> <fsinfo line="120" real_dev="/dev/hdd" mp="/media/cdrecorder" fs="auto" options="pamconsole,exec,noauto,managed" dump="0" pass="0" format="no" /> <boel devstyle="static"/> </config> Here is the output of the other commands you listed on my goldenclient. #pvs -o pv_fmt Fmt Lvm2 #fdisk -l Disk /dev/sda: 218.9GB, 218999291904bytes 255heads, 63 sectors/track, 26625 cylinders Units=cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks ID System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 26625 213760890 8e Linux LVM #pvs PG VG Fmt Attr Psize Pfree /dev/sda2 VolGroup00 lvm2 a- 203.84G 128.00M #vgs VG #PV #LV #SN Attr Vsize Vfree VolGroup00 1 2 0 wz--n 203.84G 128.00M #lvs LV VG Attr Lsize Origin Snap% Move Log Copy% LogVol00 VolGroup00 -wi-ao 201.78G LogVol01 VolGroup00 -wi-ao 1.94G As far as the commands you wanted me to run on my client when the autoinstall fails... Here they are: #blockdev --getro /dev/sda 0 #cat /proc/diskstats 1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 1 1 ram1 0 0 0 0 0 0 0 0 0 0 0 1 2 ram2 0 0 0 0 0 0 0 0 0 0 0 1 3 ram3 0 0 0 0 0 0 0 0 0 0 0 1 4 ram4 0 0 0 0 0 0 0 0 0 0 0 1 5 ram5 0 0 0 0 0 0 0 0 0 0 0 1 6 ram6 0 0 0 0 0 0 0 0 0 0 0 1 7 ram7 0 0 0 0 0 0 0 0 0 0 0 1 8 ram8 0 0 0 0 0 0 0 0 0 0 0 1 9 ram9 0 0 0 0 0 0 0 0 0 0 0 1 10 ram10 0 0 0 0 0 0 0 0 0 0 0 1 11 ram11 0 0 0 0 0 0 0 0 0 0 0 1 12 ram12 0 0 0 0 0 0 0 0 0 0 0 1 13 ram13 0 0 0 0 0 0 0 0 0 0 0 1 14 ram14 0 0 0 0 0 0 0 0 0 0 0 1 15 ram15 0 0 0 0 0 0 0 0 0 0 0 22 0 hdc 0 0 0 0 0 0 0 0 0 0 0 9 0 md0 0 0 0 0 0 0 0 0 0 0 0 8 0 sda 7 15 176 75 1 0 8 0 0 75 75 7 0 loop0 0 0 0 0 0 0 0 0 0 0 0 7 1 loop1 0 0 0 0 0 0 0 0 0 0 0 7 2 loop2 0 0 0 0 0 0 0 0 0 0 0 7 3 loop3 0 0 0 0 0 0 0 0 0 0 0 7 4 loop4 0 0 0 0 0 0 0 0 0 0 0 7 5 loop5 0 0 0 0 0 0 0 0 0 0 0 7 6 loop6 0 0 0 0 0 0 0 0 0 0 0 7 7 loop7 0 0 0 0 0 0 0 0 0 0 0 -----Original Message----- From: Andrea Righi [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 11:58 AM To: [email protected] Cc: Leidner, Jason (JLEIDNER) Subject: Re: [Sisuite-users] RE: Ramdisk size too small? Getting errors Hi Jason, comments below... Leidner, Jason (JLEIDNER) wrote: > > Andrea, Bernard... > > Just an update with what I have done and where I am. > > Also, my client is a x86_64bit server running RHEL4 + LVM's. > > My server is a i386 server running RH7.3. > > Downloaded the RPM's that bernard built for me, upgraded both my > client and my server (rpm -Uvh). > > Ran si_prepareclient on my client with the --my-modules option so that > it will be smaller. > > When I was running si_getimage I received two warnings > > WARNING: LVM partition "/dev/sda2" is not assigned to any group. > WARNING: LVM group "VolGroup00" doesn't have any partitions. Can you post your autoinstallscript.conf (you can find it in /etc/systemimager/autoinstallscript.conf on your golden client)? It seems that something's wrong when cloning your LVM configuration. Moreover it would be useful to know if you're using LVM ver.1 or 2 (but since you're using RHEL4 I think it's surely LVM2). Anyway try to run `pvs -o pv_fmt`, you should see only "lvm2" tags. Then it would be useful also the output of the following commands (in your golden client): fdisk -l pvs vgs lvs > This time it makes it much farther... to where it is partitioning the > disks. This is the error I see: > > " > <snip> > DISKS=2 > Paritioning /dev/sda... > Old partition table for /dev/sda > Error unable to open /dev/sda - unrecognized disk label > Dd if=/dev/zero of=/dev/sda bs=512 count=1 || shellout > SCSI device sda: 285155328 512-byte hdwr sectors (146000MB) > Sda: asking for cache data failed > Sda: assuming drive cache: write through > sda: unkown partition table > BLKRRPART: Input/output error > Killing off running processes. > " This seems to be a different issue independent from lvm. It's a simple dd that fails. Are you sure that /dev/sda is the right disk? Does the machine have other disks? when the autoinstallscript fails can you log in the console and post the output of cat /proc/diskstats? Moreover you can check if for some strange conditions the disk is in read-only mode: `blockdev --getro /dev/sda`. Regards, -AndreaR _______________________________________________ Sisuite-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-users
