old-www/LDP/EVMSUG/html/x1717.html

323 lines
4.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Reinitializing a snapshot</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="EVMS User Guide"
HREF="index.html"><LINK
REL="UP"
TITLE="Creating snapshots"
HREF="evmscreatesnap.html"><LINK
REL="PREVIOUS"
TITLE="Example: create a snapshot"
HREF="snapshotex.html"><LINK
REL="NEXT"
TITLE="Expanding a snapshot"
HREF="x1775.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>EVMS User Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="snapshotex.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 11. Creating snapshots</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x1775.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN1717"
></A
>11.4. Reinitializing a snapshot</H1
><P
>Snapshots can be reinitialized. Reinitializing causes all of the
saved data to be erased and
starts the snapshot from the current point in time.
A reinitialized snapshot has the same
original, chunk size, and writeable flags as the original
snapshot.</P
><P
>To reinitialize a snapshot, use the <B
CLASS="command"
>Reset</B
>
command on the snapshot object
(not the snapshot volume).
This command reinitializes the snapshot without requiring you to
manually deactivate and reactivate the volume.
The snapshot must be active but unmounted for it to be reinitialized.
</P
><P
>This section continues the example from the previous section,
where a snapshot object and volume were created.
The snapshot object is called "snap" and the volume
is called "/dev/evms/snap."</P
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN1723"
></A
>11.4.1. Using the EVMS GUI or Ncurses</H2
><P
>To reinitialize a snapshot, follow these steps:
<P
></P
><OL
TYPE="1"
><LI
><P
>Select
<SPAN
CLASS="guimenu"
>Actions</SPAN
>-&gt;<SPAN
CLASS="guimenuitem"
>Other</SPAN
>-&gt;<SPAN
CLASS="guimenuitem"
>Storage Object Tasks</SPAN
>
</P
></LI
><LI
><P
>Select the volume "snap."</P
></LI
><LI
><P
>Click or activate <SPAN
CLASS="guibutton"
>Next</SPAN
>.</P
></LI
><LI
><P
>Select <SPAN
CLASS="guibutton"
>Reset</SPAN
>.</P
></LI
><LI
><P
>Click or activate <SPAN
CLASS="guibutton"
>Next</SPAN
>.</P
></LI
><LI
><P
>Click or activate <SPAN
CLASS="guibutton"
>Reset</SPAN
> on the action panel.
</P
></LI
><LI
><P
>Click or activate <SPAN
CLASS="guibutton"
>Reset</SPAN
> on the warning panel.</P
></LI
></OL
>
</P
><P
>Alternatively, you can perform these same steps with the context sensitive menus:</P
><P
></P
><OL
TYPE="1"
><LI
><P
>From the Feature Objects panel, right click (or press <B
CLASS="keycap"
>Enter</B
> on)
the object <SPAN
CLASS="guimenuitem"
>snap</SPAN
>.
</P
></LI
><LI
><P
>Click or activate <SPAN
CLASS="guibutton"
>Reset</SPAN
> on the popup menu.</P
></LI
><LI
><P
>Click or activate <SPAN
CLASS="guibutton"
>Reset</SPAN
> on the action panel.</P
></LI
><LI
><P
>Click or activate <SPAN
CLASS="guibutton"
>Reset</SPAN
> on the warning panel.</P
></LI
></OL
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN1765"
></A
>11.4.2. Using the CLI</H2
><P
>Follow these steps to reinitialize a snapshot with the CLI:</P
><P
></P
><OL
TYPE="1"
><LI
><P
>Issue the following command to the CLI:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>task:reset,snap</PRE
></FONT
></TD
></TR
></TABLE
></LI
><LI
><P
>Press <B
CLASS="keycap"
>Enter</B
> to select "Reset" (the default choice) at the warning message.</P
></LI
></OL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="snapshotex.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x1775.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Example: create a snapshot</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="evmscreatesnap.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Expanding a snapshot</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>