Hi all,
In the following I'm using systemimager version 3.8.1 with
systemconfigurator 2.2.9. The machines in question are built from
commodity components and have 2 dual-core opterons and serial ATA hard
drives. The golden client hardware is identical to all clients.
The golden client is running CentOS3, and I'm trying to apply the image
I've taken to the rest of the clients. The standard kernel doesn't work
(it can't recognize the hard drive), but UYOK seems to work fine.
I'm having a problem with these labels that are applied to the / and
/boot partitions. systemconfigurator bombs out because of something
related to this (full verbose output from systemconfigurator is shown
below). Here is the contents of autoinstallscript.conf:
<config>
<disk dev="/dev/sda" label_type="msdos" unit_of_measurement="MB">
<!--
This disk's output was brought to you by the partition tool "sfdisk",
and by the numbers 4 and 5 and the letter Q.
-->
<part num="1" size="101" p_type="primary" p_name="-"
flags="boot" />
<part num="2" size="76435" p_type="primary" p_name="-"
flags="-" />
<part num="3" size="*" p_type="primary" p_name="-" flags="-" />
</disk>
<fsinfo line="10" real_dev="/dev/sda2" mount_dev="LABEL=/" mp="/"
fs="ext3" options="defaults" dump="1" pass="1" />
<fsinfo line="20" real_dev="/dev/sda1" mount_dev="LABEL=/boot"
mp="/boot" fs="ext3" options="defaults" dump="1" pass="2" />
<fsinfo line="30" real_dev="none" mp="/dev/pts" fs="devpts"
options="gid=5,mode=620" dump="0" pass="0" />
<fsinfo line="40" real_dev="none" mp="/proc" fs="proc"
options="defaults" 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="/dev/sda3" mp="swap" fs="swap"
options="defaults" dump="0" pass="0" />
<fsinfo line="70" real_dev="/dev/cdrom" mp="/mnt/cdrom"
fs="udf,iso9660" options="noauto,owner,kudzu,ro" dump="0" pass="0"
format="no" />
<fsinfo line="80" real_dev="/dev/gpfs0" mp="/gpfs0" fs="gpfs"
options="rw,mtime,atime,quota=userquota;groupquota,dev=gpfs0,autostart"
dump="0" pass="0" />
<fsinfo line="90" real_dev="/dev/gpfs1" mp="/gpfs1" fs="gpfs"
options="rw,mtime,atime,quota=userquota;groupquota,dev=gpfs1,autostart"
dump="0" pass="0" />
<fsinfo line="100" real_dev="/dev/gpfs2" mp="/gpfs2" fs="gpfs"
options="rw,mtime,atime,quota=userquota;groupquota,dev=gpfs2,autostart"
dump="0" pass="0" />
<fsinfo line="110" real_dev="/dev/gpfs3" mp="/gpfs3" fs="gpfs"
options="rw,mtime,atime,dev=gpfs3,autostart" dump="0" pass="0" />
<boel devstyle="static"/>
</config>
I ran into this same problem with nodes that use IDE hard drives. I got
around it by editing the autoinstallscript.conf to remove the
"mount_dev" entries completely. I then remade the autoinstall script
and edited grub.conf to replace "root=LABEL=/" with "root=/dev/hda2",
and the imaging process worked correctly, no problems. I tried the same
thing with the nodes in question (with the serial ATA hard drives),
except by using /dev/sda2 in grub.conf. The imaging works, and the
nodes reboot, but the kernel quickly kernel panics after starting to
boot, because it cannot find the root partition. Any suggestions would
be greatly appreciated. Thanks for reading this!
Best,
Andrew
Here is the complete verbose output from systemconfigurator:
Quietly installing image...
/rsync -aHS --exclude=lost+found/ --exclude=/proc/* --numeric-ids
10.0.1.21::dualdual-CentOS3-node/ /a/
-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-|/-Report
task stopped.
stop_spinner
rsync -av --numeric-ids 10.0.1.21::overrides/dualdual-CentOS3-node/ /a/
Editing files for actual disk configuration...
/dev/sda -> /dev/sda
/etc/fstab
/boot/grub/menu.lst
/etc/grub.conf
2007-5-18 7:46:14 [Network :: Line 58] Setting up network type
Network::LinuxConf
2007-5-18 7:46:14 [Boot::YaBoot :: Line 93] YaBoot executable is set to: .
[Boot::EFI :: Line 92] bootloader_exe has been set to
[Boot::EFI :: Line 96] bootmenu_exe has been set to
2007-5-18 7:46:14 [Boot::Lilo :: Line 76] Lilo executable set to: .
2007-5-18 7:46:14 [Boot::Grub :: Line 134] grub does not support
--no-floppy argument.
2007-5-18 7:46:14 [Boot::Grub :: Line 106] Grub executable set to:
/sbin/grub-install.
2007-5-18 7:46:14 [Boot::Grub :: Line 150] bootloader = /sbin/grub-install
2007-5-18 7:46:14 [Boot::Label :: Line 105] Loading labels for all
devices...
2007-5-18 7:46:14 [Boot::Label :: Line 72] getting label for /dev/sda1
2007-5-18 7:46:14 [Boot::Label :: Line 49] blkid -s LABEL /dev/sda1 =
[Boot::Label :: Line 51] WARNING: Error while running blkid -s LABEL
/dev/sda1.
2007-5-18 7:46:14 [Boot::Label :: Line 72] getting label for /dev/sda2
2007-5-18 7:46:14 [Boot::Label :: Line 49] blkid -s LABEL /dev/sda2 =
[Boot::Label :: Line 51] WARNING: Error while running blkid -s LABEL
/dev/sda2.
2007-5-18 7:46:14 [Boot::Label :: Line 72] getting label for /dev/sda3
2007-5-18 7:46:14 [Boot::Label :: Line 49] blkid -s LABEL /dev/sda3 =
[Boot::Label :: Line 51] WARNING: Error while running blkid -s LABEL
/dev/sda3.
2007-5-18 7:46:14 [Boot::Label :: Line 72] getting label for /dev/sdb1
2007-5-18 7:46:14 [Boot::Label :: Line 49] blkid -s LABEL /dev/sdb1 =
[Boot::Label :: Line 51] WARNING: Error while running blkid -s LABEL
/dev/sdb1.
2007-5-18 7:46:14 [Boot::Label :: Line 72] getting label for /dev/sdb2
2007-5-18 7:46:14 [Boot::Label :: Line 49] blkid -s LABEL /dev/sdb2 =
[Boot::Label :: Line 51] WARNING: Error while running blkid -s LABEL
/dev/sdb2.
2007-5-18 7:46:14 [Boot::Label :: Line 72] getting label for /dev/sdb3
2007-5-18 7:46:14 [Boot::Label :: Line 49] blkid -s LABEL /dev/sdb3 =
[Boot::Label :: Line 51] WARNING: Error while running blkid -s LABEL
/dev/sdb3.
2007-5-18 7:46:14 [Boot::Label :: Line 107] Label structure is as
follows: $VAR1 = {};
WARNING: Label / not found anywhere on the system! at
/usr/lib/systemconfig/Boot/Grub.pm line 316
2007-5-18 7:46:14 [Boot::Label :: Line 113] Labels are:$VAR1 = {};
2007-5-18 7:46:14 [Boot::Label :: Line 105] Loading labels for all
devices...
2007-5-18 7:46:14 [Boot::Label :: Line 72] getting label for /dev/sda1
2007-5-18 7:46:14 [Boot::Label :: Line 49] blkid -s LABEL /dev/sda1 =
[Boot::Label :: Line 51] WARNING: Error while running blkid -s LABEL
/dev/sda1.
2007-5-18 7:46:14 [Boot::Label :: Line 72] getting label for /dev/sda2
2007-5-18 7:46:14 [Boot::Label :: Line 49] blkid -s LABEL /dev/sda2 =
[Boot::Label :: Line 51] WARNING: Error while running blkid -s LABEL
/dev/sda2.
2007-5-18 7:46:14 [Boot::Label :: Line 72] getting label for /dev/sda3
2007-5-18 7:46:14 [Boot::Label :: Line 49] blkid -s LABEL /dev/sda3 =
[Boot::Label :: Line 51] WARNING: Error while running blkid -s LABEL
/dev/sda3.
2007-5-18 7:46:14 [Boot::Label :: Line 72] getting label for /dev/sdb1
2007-5-18 7:46:14 [Boot::Label :: Line 49] blkid -s LABEL /dev/sdb1 =
[Boot::Label :: Line 51] WARNING: Error while running blkid -s LABEL
/dev/sdb1.
2007-5-18 7:46:14 [Boot::Label :: Line 72] getting label for /dev/sdb2
2007-5-18 7:46:14 [Boot::Label :: Line 49] blkid -s LABEL /dev/sdb2 =
[Boot::Label :: Line 51] WARNING: Error while running blkid -s LABEL
/dev/sdb2.
2007-5-18 7:46:14 [Boot::Label :: Line 72] getting label for /dev/sdb3
2007-5-18 7:46:14 [Boot::Label :: Line 49] blkid -s LABEL /dev/sdb3 =
[Boot::Label :: Line 51] WARNING: Error while running blkid -s LABEL
/dev/sdb3.
2007-5-18 7:46:14 [Boot::Label :: Line 107] Label structure is as
follows: $VAR1 = {};
WARNING: Label /boot not found anywhere on the system! at
/usr/lib/systemconfig/Boot/Grub.pm line 316
2007-5-18 7:46:14 [Boot::Label :: Line 113] Labels are:$VAR1 = {};
2007-5-18 7:46:14 [Boot::Grub :: Line 322] mount: /boot
2007-5-18 7:46:14 [Boot::Grub :: Line 322] mount: /
Couldn't find boot partition at /usr/lib/systemconfig/Boot.pm line 111
[Boot::Palo :: Line 66] bootloader_exe has been set to
Couldn't find boot partition at /usr/lib/systemconfig/Boot.pm line 111
[Boot::Aboot :: Line 66] bootloader_exe has been set to /sbin/swriteboot
Couldn't find boot partition at /usr/lib/systemconfig/Boot.pm line 111
2007-5-18 7:46:14 [Boot::ZIPL :: Line 74] ZIPL executable set to: .
Couldn't find boot partition at /usr/lib/systemconfig/Boot.pm line 111
Error: None of the following bootloaders were successfully setup on your
system:
YaBoot,Iseries,EFI,Elilo,Lilo,Grub,Palo,Aboot,ZIPL
Killing off running processes.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users