next up previous
Next: Tools and Commands Up: CloneSys Documentation Previous: Partition Backups

Partition Installations, Releases and Restores

Partition Installations and Releases

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

Example of a clone

 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.

Restores

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.

Example of a restore

 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.


next up previous
Next: Tools and Commands Up: CloneSys Documentation Previous: Partition Backups

Christian Kurmann
Wed Dec 22 11:02:02 CET 1999