Changes between Version 5 and Version 6 of User Guide/Omf/Save Image


Ignore:
Timestamp:
May 20, 2020, 12:36:10 AM (4 years ago)
Author:
msherman
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • User Guide/Omf/Save Image

    v5 v6  
    22
    33=== Saving Disk Images
     4
     5==== OMF Save ==== #saving
    46
    57Once you have the image prepared the way you want it. On the node run:
     
    6163 }}}
    6264
    63 Please make sure that the process ends without errors. If there are no errors, at the end of the ''saving'' process, you will have disk image file with the name: ''"bob-node-sdr2-lg1.sb1.cosmos-lab.org-2013-02-06-14-16-23.ndz"'' in the directory ''"/export/omf/omf-images"'' on the machine with the host name ''"frisbee"''. These information are all provided in the output displayed above.
     65Please make sure that the process ends without errors.
     66
     67If there are no errors, at the end of the ''saving'' process, you will have disk image file with the name:
     68{{{#!shell-session
     69bob-node-sdr2-lg1.sb1.cosmos-lab.org-2013-02-06-14-16-23.ndz
     70}}}
     71in the directory
     72{{{#!shell-session
     73/export/omf/omf-images
     74}}}
     75
     76This directory is available on each console, as well as the machine with the host name ''"frisbee"''. This information is printed in the output shown above.
    6477
    6578You can then reload this disk image on a node (or nodes) using the ''omf load'' command.
     79
     80==== Working with the saved image ==== #files
     81
     82Images are treated as standard linux files. That means that you can:
     83* check that they have a nonzero size `ls -al imagename`
     84* Rename them `mv imagename imagenewname`
     85* Delete them `rm imagename`
     86* set permissions `chmod 600 filename`
     87* set user and group `chown username:groupname filename`
     88
     89When you use OMF load, the `-i` flag refers to a file name in this directory. It obeys linux file permissions, so if you want to keep other people from loading your image, ensure that it doesn't allow group or everyone read permissions.
     90
     91