wiki:Documentation/Short/SaveImage2

How to save your work on the node

We are using node1-1 in the Orbit sb1 domain, but the process is the same for any node in the testbed.

When you are ready to save your work, run the following command on the node. (Note that the prepare.sh script is located in the /root/ directory.)

ssh root@node1-1.sb1.orbit-lab.org
root@node1-1.sb1.orbit-lab.org: ./prepare.sh

This command will dump log files to reduce the size of the image and remove OS configuration specific to the node to generalize the image so that it can be used on any node in the testbed.

From the console, use omf to turn off the node before saving:

  username@console:~$ omf tell -t node1-1 -a offh

Now use the omf save command to save the node:

 omf save -n node1-1.sb1.orbit-lab.org 

The save command produces a lot of output in the console, but it is important to look through it to ensure that there were no errors in the saving process. The output from the command will also include the name of the image file that has been created. These images are stored in the /mnt/images directory on all of the consoles. If you are planning to re-use this image frequently, you may wish to rename it. When you rename the image, please ensure that the new name starts with your username, and does not contain the word baseline.

Images will be stored forever unless the owner deletes them, so please try to be respectful of our disk space— delete images when you are done with them, and try not to keep too many.

Note also that images are world readable by default. This means that by default anyone can load an image that you save. You can change this by using the chmod command on the image file.

Last modified 10 months ago Last modified on Jul 11, 2023, 12:39:00 PM
Note: See TracWiki for help on using the wiki.