Hi!
It seems that many things don't work in this version.
At first, when you add new image from client, it gets all files, then
asks you,
Would you like to update the autoinstall script for this image? ([y]/n): y
[ skip ]
Which method do you prefer? [1]: 2
You have chosen method 2 for assigning IP addresses.
Are you satisfied? ([y]/n):
Would you like to run the "si_addclients" utility now? (y/[n]): y
Unknown option: script
sic!
ok, I can run si_addclients by hands.
Next, if my client workstation has a partition table like this:
# sfdisk -d /dev/sdb
# partition table of /dev/sdb
unit: sectors
/dev/sdb1 : start= 1, size= 8193149, Id=83
/dev/sdb2 : start= 8193150, size= 2040255, Id=82
/dev/sdb3 : start= 0, size= 0, Id= 0
/dev/sdb4 : start= 10233405, size=133130655, Id=83
with empty 3rd slice, systemimager script cannot recreate partition table.
In the master script I've found:
logmsg "Creating partition ${DISK1}1."
START_MB=$END_OF_LAST_PRIMARY
END_MB=$(echo "scale=3; ($START_MB + 4000)" | bc)
logmsg "parted -s -- $DISK1 mkpart primary $START_MB $END_MB || shellout"
parted -s -- $DISK1 mkpart primary $START_MB $END_MB || shellout
END_OF_LAST_PRIMARY=$END_MB
logmsg "Creating partition ${DISK1}2."
START_MB=$END_OF_LAST_PRIMARY
END_MB=$(echo "scale=3; ($START_MB + 996)" | bc)
logmsg "parted -s -- $DISK1 mkpart primary linux-swap $START_MB $END_MB
|| shellout"
parted -s -- $DISK1 mkpart primary linux-swap $START_MB $END_MB || shellout
END_OF_LAST_PRIMARY=$END_MB
logmsg "Creating partition ${DISK1}3."
START_MB=$(( $DISK_SIZE - 1 ))
END_MB=$(( $DISK_SIZE - 0 ))
logmsg "parted -s -- $DISK1 mkpart primary $START_MB $END_MB || shellout"
parted -s -- $DISK1 mkpart primary $START_MB $END_MB || shellout
END_OF_LAST_PRIMARY=$END_MB
logmsg "Creating partition ${DISK1}4."
START_MB=$END_OF_LAST_PRIMARY
END_MB=$(( $DISK_SIZE - 2 ))
logmsg "parted -s -- $DISK1 mkpart primary $START_MB $END_MB || shellout"
parted -s -- $DISK1 mkpart primary $START_MB $END_MB || shellout
END_OF_LAST_PRIMARY=$END_MB
What's the crap? Why don't use sfdisk? At least it works...
So I cut all this stuff from here and paste sfdisk command to recreate
partition table.
Go ahead and reboot.
As expected, it fails again. It couldn't find any labels in system,
something wrong in /usr/lib/systemconfig/Boot/Grub.pm line 316
and
/usr/lib/systemconfig/Boot.pm line 111
---
I am using RH ES 3.5 AS (Linux 2.4) on Dell 1750 with 2 x 73Gb HDD and I
have 64 nodes in cluster. I would like to make a copy of one node to
another.
Why this stable version of systemimager doesn't work and which more
stable can I use?
Thanks,
Evgeniy
-------------------------------------------------------------------------
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