To install the saved partitions on to cluster machines the clone and rclone scripts are provided which read the image over the network, gunzip them and install write the data to the specified partition. The script essentially uses the following command:
gunzip -c /ipath/iname |dd of=/dev/device bs=1024
rclone sda5 WinNTEduc yourname client1 rclone sda5 default yourname 3 4 5
The first command will clone the image sda5_WinNTEduc.gz to the device sda5 on host client1. After a successful clone it changes the entry in the config file to the appropriate values.
The second command runs the clone script on the machines with the alias rifpc3, rifpc4 and rifpc5, which restores the last installed image defined in the config file of the machine.
Restoring partitions on a cluster means that the same image that was installed on the machines shall be reinitialized. To restore one or more partitions on a cluster the restore script can be used. It calls the rclone command for all the specified devices and machines with the default image which restores the last installed image specified in the config files.
restore yourname -d sda6 sda7 -h 10 12 14
This restores the images for the partitions sda6 and sda7 on the machines with the aliases rifpc10, rifpc12 and rifpc14.