<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Transitional//EN">
<HTML>
<HEAD>
  <!--
    *************************************************************************************
    * Copyright (c) 2005 VERITAS Software Corporation. All rights reserved. *

      For third-party license citations, please see the bottom of this file.
    *************************************************************************************
  -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="TEMPLATEBASE" content="vx_vxhelp_2005c">
<meta name="LASTUPDATED" content="06/13/05 10:02:08">
<meta name="PRODUCTNAME" content="VERITAS Software Documentation">
<meta name="FILENAME" content="05.checkpoints.fm">
     
<title>Storage Checkpoint Administration</title>

</HEAD>

<BODY bgcolor="#FFFFFF" link="#000066" vlink="#0000ff" marginheight="0" topmargin="0">
<basefont=1>

<a name="125067"></a>

<div align="left">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
 <tr>
   <td height="2" border="0" cellspacing="0" cellpadding="0" colspan="2" bgcolor="#000000">
   </td>
 </tr>
 <tr>
   <td height="15" width="50%" border="0" cellspacing="0" cellpadding="0" bgcolor="#cccccc">
    <img src="images/vxsymbol.gif" height="20" width="31" border="0" cellspacing="0" cellpadding="0" align="left">
     
     
   </td>
   <td align="right" width="50%" bgcolor="#cccccc">

<!-- Header Breadcrumbs -->
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&lt;&nbsp;<a href="05_checkpoints_vxfs48_125031.html" title="Previous - Types of Storage Checkpoints">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="05_checkpoints_vxfs50_125403.html" title="Next - Space Management Considerations">Next</a>
&nbsp;&gt;&nbsp;&nbsp;</font>
   </td>
 </tr>

 <tr>
  <td bgcolor="#CCCCCC" colspan="2" height="15" align="right">
  <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Product:  
<a href="vxfs_splashpage_docCD_vxfs1_103036.vxhd" title="File System Guides title page ">File System Guides</a>
  &nbsp;&nbsp;
  </font>
  </td>
 </tr>
 <tr>
  <td bgcolor="#CCCCCC" colspan="2" height="15" align="right">
  <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Manual:  
<a href="vxfs_admin_titlepage_docCD_vxfs2_73700.vxhd" title="File System 4.1 Administrator's Guide title page ">File System 4.1 Administrator's Guide</a>
  &nbsp;&nbsp;
  </font>
  </td>
 </tr>


</table>
</div>

<div align="left">
 <table border="0" width="100%" bgcolor="#FFFFFF">
  <tr>
   <td width="100%" valign="top" bgcolor="#FFFFFF">

<!-- Start Main Topic Content -->
        <a name="startcontent"></a>
	
<h1><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="+1" color="#000000"><a name="125067"></a> Storage Checkpoint Administration</font>
</h1>
         
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125068"></a>Storage Checkpoint administrative operations require the <font face="Courier New, Courier, sansserif, sans serif" size="2">fsckptadm</font> utility (see the <font face="Courier New, Courier, sansserif, sans serif" size="2">fsckptadm</font>(1M) manual page). You can use the <font face="Courier New, Courier, sansserif, sans serif" size="2">fsckptadm</font> utility to create and remove Storage Checkpoints, change attributes, and ascertain statistical data. Every Storage Checkpoint has an associated name, which allows you to manage Storage Checkpoints; this name is limited to 127 characters and cannot contain a colon (<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>:</b></font>). </font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="142508"></a>Storage Checkpoints require some space for metadata on the volume or set of volumes specified by the file system allocation policy or Storage Checkpoint allocation policy. The <font face="Courier New, Courier, sansserif, sans serif" size="2">fsckptadm</font> utility displays an error if the volume or set of volumes does not have enough free space to contain the metadata. You can roughly approximate the amount of space required by the metadata using a method that depends on the disk layout version of the file system.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="142745"></a>For disk layout Version 5 or prior, multiply the number of inodes (# of inodes) by the inode size (inosize) in bytes, and add 1 or 2 megabytes to get the approximate amount of space required. You can determine the number of inodes with the <font face="Courier New, Courier, sansserif, sans serif" size="2">fsckptadm</font> utility, and the inode size with the <font face="Courier New, Courier, sansserif, sans serif" size="2">mkfs</font> command:</font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="142800"></a>&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsckptadm&nbsp;-v&nbsp;info&nbsp;''&nbsp;/mnt0</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="142801"></a>&nbsp;UNNAMED:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="142802"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ctime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;Thu&nbsp;3&nbsp;Mar&nbsp;2005&nbsp;7:00:17&nbsp;PM&nbsp;PST
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="142803"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mtime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;Thu&nbsp;3&nbsp;Mar&nbsp;2005&nbsp;7:00:17&nbsp;PM&nbsp;PST
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="142804"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;flags&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;largefiles,&nbsp;mounted
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="142805"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;of&nbsp;inodes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;23872
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="142849"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;of&nbsp;blocks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;27867
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="142858"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="142862"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="142850"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="142851"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;of&nbsp;overlay&nbsp;bmaps&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;0
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="142798"></a>&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mkfs&nbsp;-m&nbsp;/mnt0&nbsp;</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="187815"></a><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;mkfs&nbsp;-F&nbsp;vxfs&nbsp;-o&nbsp;bsize=1024,version=6,inosize=256,logsize=16384,</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="187816"></a><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>&nbsp;&nbsp;largefiles&nbsp;/mnt0</b></font>
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="142776"></a>In this example, the approximate amount of space required by the metadata is 7 or 8 megabytes (23,872 x 256 bytes, plus 1 or 2 megabytes).</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="142994"></a>For disk layout Version 6, multiply the number of inodes by 1 byte, and add 1 or 2 megabytes to get the approximate amount of space required. You can determine the number of inodes with the <font face="Courier New, Courier, sansserif, sans serif" size="2">fsckptadm</font> utility as above. Using the output from the example for disk layout Version 5 or prior, the approximate amount of space required by the metadata is just over one or two megabytes (23,872 x 1 byte, plus 1 or 2 megabytes).</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="142990"></a>Use the <font face="Courier New, Courier, sansserif, sans serif" size="2">fsvoladm</font> command to determine if the volume set has enough free space (see the <font face="Courier New, Courier, sansserif, sans serif" size="2">fsvoladm</font>(1M) manual page):</font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="142525"></a>&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsvoladm&nbsp;list&nbsp;</b></font><font face="Courier New, Courier, sansserif, sans serif" size="2"><i>/mnt0</i></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="142552"></a>&nbsp;devid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;used&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;avail&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="142553"></a>&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;20971520&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8497658&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;12473862&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mnt1
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="142554"></a>&nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;20971520&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;6328993&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;14642527&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mnt2
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="142555"></a>&nbsp;2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;20971520&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4458462&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;16513058&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mnt3
</font>



<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="142511"></a>Creating a Storage Checkpoint</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125073"></a>You can create a Storage Checkpoint using the <font face="Courier New, Courier, sansserif, sans serif" size="2">fsckptadm</font> utility. In these examples, <font face="Courier New, Courier, sansserif, sans serif" size="2">/mnt0</font> is a mounted VxFS file system with a Version 4 or Version 5 disk layout. </font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="141442"></a>This example shows the creation of a nodata Storage Checkpoint (see <a href="05_checkpoints_vxfs50_125403.html#125403">Space Management Considerations</a>) named <font face="Courier New, Courier, sansserif, sans serif" size="2">thu_7pm</font> on <font face="Courier New, Courier, sansserif, sans serif" size="2">/mnt0</font> and lists all Storage Checkpoints of the <font face="Courier New, Courier, sansserif, sans serif" size="2">/mnt0</font> file system:</font>
</p>

<a name="125078"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">	# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsckptadm -n create thu_7pm /mnt0<br></b></font>	# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsckptadm list /mnt0<br></b></font>	/mnt0</font>
<a name="125079"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">	thu_7pm:<br>		ctime			= Thu 3 Mar 2005 7:00:17 PM PST<br>		mtime			= Thu 3 Mar 2005 7:00:17 PM PST<br>		flags			= nodata, largefiles</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="141494"></a>This example shows the creation of a removable Storage Checkpoint named <font face="Courier New, Courier, sansserif, sans serif" size="2">thu_8pm</font> on <font face="Courier New, Courier, sansserif, sans serif" size="2">/mnt0</font> and lists all Storage Checkpoints of the <font face="Courier New, Courier, sansserif, sans serif" size="2">/mnt0</font> file system:</font>
</p>

<a name="125081"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">	# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsckptadm -r create thu_8pm /mnt0<br></b></font>	# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsckptadm list /mnt0</b></font></font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125082"></a>&nbsp;/mnt0
</font>
<a name="125083"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">	thu_8pm:<br>		ctime			= Thu 3 Mar 2005 8:00:19 PM PST<br>		mtime			= Thu 3 Mar 2005 8:00:19 PM PST<br>		flags			= largefiles, removable</font>
<a name="125084"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">	thu_7pm: <br>		ctime			= Thu 3 Mar 2005 7:00:17 PM PST<br>		mtime			= Thu 3 Mar 2005 7:00:17 PM PST<br>		flags			= nodata, largefiles</font>



<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="125088"></a>Removing a Storage Checkpoint</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125089"></a>You can delete a Storage Checkpoint by specifying the <font face="Courier New, Courier, sansserif, sans serif" size="2">remove</font> keyword of the <font face="Courier New, Courier, sansserif, sans serif" size="2">fsckptadm</font> command. Specifically, you can use either the <em>synchronous</em> or <em>asynchronous</em> method of removing a Storage Checkpoint; the asynchronous method is the default method. The synchronous method entirely removes the Storage Checkpoint and returns all of the blocks to the file system before completing the <font face="Courier New, Courier, sansserif, sans serif" size="2">fsckptadm</font> operation. The asynchronous method simply marks the Storage Checkpoint for removal and causes <font face="Courier New, Courier, sansserif, sans serif" size="2">fsckptadm</font> to return immediately. At a later time, an independent kernel thread completes the removal operation and releases the space used by the Storage Checkpoint. </font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125090"></a>In this example, <font face="Courier New, Courier, sansserif, sans serif" size="2">/mnt0</font> is a mounted VxFS file system with a Version 4 disk layout. This example shows the asynchronous removal of the Storage Checkpoint named <font face="Courier New, Courier, sansserif, sans serif" size="2">thu_8pm</font> and synchronous removal of the Storage Checkpoint named <font face="Courier New, Courier, sansserif, sans serif" size="2">thu_7pm</font>. This example also lists all the Storage Checkpoints remaining on the <font face="Courier New, Courier, sansserif, sans serif" size="2">/mnt0</font> file system after the specified Storage Checkpoint is removed:</font>
</p>

<a name="125091"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">	# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsckptadm remove thu_8pm /mnt0<br></b></font>	# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsckptadm list /mnt0</b></font></font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125092"></a>&nbsp;/mnt0
</font>
<a name="125093"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">	thu_7pm:<br>		ctime			= Thu 3 Mar 2005 7:00:17 PM PST<br>		mtime			= Thu 3 Mar 2005 7:00:17 PM PST<br>		flags			= nodata, largefiles</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125094"></a>&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsckptadm&nbsp;-s&nbsp;remove&nbsp;thu_7pm&nbsp;/mnt0</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125095"></a>&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsckptadm&nbsp;list&nbsp;/mnt0</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125096"></a>&nbsp;/mnt0
</font>



<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="125099"></a>Accessing a Storage Checkpoint</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125102"></a>You can mount Storage Checkpoints using the <font face="Courier New, Courier, sansserif, sans serif" size="2">mount</font> command (see the <font face="Courier New, Courier, sansserif, sans serif" size="2">mount_vxfs</font>(1M) manual page) with the mount option <font face="Courier New, Courier, sansserif, sans serif" size="2">&#8211;o&nbsp;ckpt=ckpt_name</font>. Observe the following rules when mounting Storage Checkpoints:</font>
</p>

<p>
<ul type="disc"><li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125107"></a>Storage Checkpoints are mounted as read-only Storage Checkpoints by default. If you need to write to a Storage Checkpoint, mount it using the <font face="Courier New, Courier, sansserif, sans serif" size="2">-o</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">rw</font> option. </font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125108"></a>If a Storage Checkpoint is originally mounted as a read-only Storage Checkpoint, you can remount it as a writable Storage Checkpoint using the <font face="Courier New, Courier, sansserif, sans serif" size="2">-o</font> <font face="Courier New, Courier, sansserif, sans serif" size="2">remount</font> option.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125109"></a>To mount a Storage Checkpoint of a file system, first mount the file system itself.</font>
</li>
<li><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125110"></a>To unmount a file system, first unmount all of its Storage Checkpoints. </font>
</li>
<hr noshade size="2" width="100%" color="#000000">
<img src="images/caution.gif" alt="Caution " height="16" width="16">&nbsp;<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000"><a name="125111"></a><b>Caution  &nbsp;&nbsp;</b></font>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000"> If you create a Storage Checkpoint for backup purposes, do not mount it as a writable Storage Checkpoint. You will lose the point-in-time image if you accidently write to the Storage Checkpoint.</font>
<hr noshade size="2" width="100%" color="#000000">
</ul>
</p>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125115"></a>A Storage Checkpoint is mounted on a special <em>pseudo device</em>. This pseudo device does not exist in the system name space; the device is internally created by the system and used while the Storage Checkpoint is mounted. The pseudo device is removed after you unmount the Storage Checkpoint. A pseudo device name is formed by appending the Storage Checkpoint name to the file system device name using the colon character (<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>:</b></font>) as the separator.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125116"></a>For example, if a Storage Checkpoint named <font face="Courier New, Courier, sansserif, sans serif" size="2">may_23</font> belongs to the file system residing on the special device <font face="Courier New, Courier, sansserif, sans serif" size="2">/dev/vx/dsk/fsvol/vol1</font>, the Storage Checkpoint pseudo device name is:</font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125117"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">&nbsp;&nbsp;&nbsp;&nbsp;/dev/vx/dsk/fsvol/vol1:may_23</font>
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125119"></a>To mount the Storage Checkpoint named <font face="Courier New, Courier, sansserif, sans serif" size="2">may_23</font> as a read-only (default) Storage Checkpoint on directory <font face="Courier New, Courier, sansserif, sans serif" size="2">/fsvol_may_23</font>, type: </font>
</p>

<a name="125120"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">	# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mount -F vxfs -o ckpt=may_23 /dev/vx/dsk/fsvol/vol1:may_23 \<br>	 /fsvol_may_23</b></font></font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125121"></a>The <font face="Courier New, Courier, sansserif, sans serif" size="2">/fsvol</font> file system must already be mounted before the Storage Checkpoint can be mounted. To remount the Storage Checkpoint named <font face="Courier New, Courier, sansserif, sans serif" size="2">may_23</font> as a writable Storage Checkpoint, type:</font>
</p>

<a name="125122"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">	# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mount -F vxfs -o ckpt=may_23,remount,rw \<br>		/dev/vx/dsk/fsvol/vol1:may_23 /fsvol_may_23</b></font></font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="187988"></a>To mount this Storage Checkpoint automatically when the system starts up, put the following entries in the <font face="Courier New, Courier, sansserif, sans serif" size="2">/etc/fstab</font> file:
<blockquote>
<Table width="100%" border="0" cellpadding="1" cellspacing="0" >
<tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="187991"></a>Device Special File</font>
</p>
</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="187993"></a>device <br>to fsck</font>
</p>
</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="187995"></a>mount<br>point</font>
</p>
</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="187997"></a> FS<br>type</font>
</p>
</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="187999"></a>fsck<br>pass</font>
</p>
</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="188001"></a>mount<br>at boot</font>
</p>
</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="188003"></a>mount<br>options</font>
</p>
</td></tr><tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="188005"></a>/dev/vx/dsk/<br>&nbsp;&nbsp;&nbsp;fsvol/vol1</font>
</p>
</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="188007"></a>/dev/vx/rdsk/<br>&nbsp;&nbsp;&nbsp;fsvol/vol1</font>
</p>
</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="188009"></a>/fsvol</font>
</p>
</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="188011"></a>vxfs</font>
</p>
</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="188013"></a>1</font>
</p>
</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="188015"></a>yes</font>
</p>
</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="188017"></a>---</font>
</p>
</td></tr><tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="188019"></a>/dev/vx/dsk/fsvol/<br>&nbsp;&nbsp;&nbsp;vol1:may_23</font>
</p>
</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="188021"></a>---</font>
</p>
</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="188023"></a>/fsvol_may_23</font>
</p>
</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="188025"></a>vxfs</font>
</p>
</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="188027"></a>0</font>
</p>
</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="188029"></a>yes</font>
</p>
</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="188031"></a>ckpt=<br>&nbsp;may_23</font>
</p>
</td></tr>
</Table>

</blockquote>

<blockquote>
<Table width="100%" border="0" cellpadding="1" cellspacing="0">
<tr><td>
</Table>
</blockquote></font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="188229"></a>To mount a Storage Checkpoint of a cluster file system, you must also use the <font face="Courier New, Courier, sansserif, sans serif" size="2">&#8211;o</font>&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2">cluster</font> option:</font>
</p>

<a name="188230"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">	# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mount -F vxfs -o cluster,ckpt=may_23</b></font> \<br>		<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>/dev/vx/dsk/fsvol/vol1:may_23 /fsvol_may_23</b></font></font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="188231"></a>You can only mount a Storage Checkpoint clusterwide if the file system that the Storage Checkpoint belongs to is also mounted clusterwide. Similarly, you can only mount a Storage Checkpoint locally if the file system that the Storage Checkpoint belongs to is mounted locally.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="188357"></a>You can unmount Storage Checkpoints using the <font face="Courier New, Courier, sansserif, sans serif" size="2">umount</font> command (see the <font face="Courier New, Courier, sansserif, sans serif" size="2">umount_vxfs</font>(1M) manual page). Storage Checkpoints can be unmounted by the mount point or pseudo device name:</font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125310"></a>&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>umount&nbsp;/fsvol_may_23</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125311"></a>&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>umount&nbsp;/dev/vx/dsk/fsvol/vol1:may_23</b></font>
</font>
<a name="188412"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">	/dev/vx/dsk/fsvol/vol1 /fsvol vxfs defaults 0 2<br>	/dev/vx/dsk/fsvol/vol1:may_23 /fsvol_may_23 vxfs clone=may_23 0 0</font>
<hr noshade size="2" width="100%" color="#000000">
<img src="images/note.gif" alt="Note " height="16" width="16">&nbsp;
<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="125315"></a><b>Note  &nbsp;&nbsp;</b>
</font>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000">You do not need to run the <font face="Courier New, Courier, sansserif, sans serif" size="2">fsck</font> utility on Storage Checkpoint pseudo devices because pseudo devices are part of the actual file system.
</font>
<hr noshade size="2" width="100%" color="#000000">



<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="125318"></a>Converting a Data Storage Checkpoint to a Nodata Storage Checkpoint</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125322"></a>A nodata Storage Checkpoint does not contain actual file data. Instead, this type of Storage Checkpoint contains a collection of markers indicating the location of all the changed blocks since the Storage Checkpoint was created (see <a href="05_checkpoints_vxfs48_125031.html#125031">Types of Storage Checkpoints</a> for more information).</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125327"></a>You can use either the <em>synchronous</em> or <em>asynchronous</em> method to convert a data Storage Checkpoint to a nodata Storage Checkpoint; the asynchronous method is the default method. In a synchronous conversion, <font face="Courier New, Courier, sansserif, sans serif" size="2">fsckptadm</font> waits for all files to undergo the conversion process to &quot;nodata&quot; status before completing the operation. In an asynchronous conversion, <font face="Courier New, Courier, sansserif, sans serif" size="2">fsckptadm</font> returns immediately and marks the Storage Checkpoint as a nodata Storage Checkpoint even though the Storage Checkpoint's data blocks are not immediately returned to the pool of free blocks in the file system. The Storage Checkpoint deallocates all of its file data blocks in the background and eventually returns them to the pool of free blocks in the file system.</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125328"></a>If all of the older Storage Checkpoints in a file system are nodata Storage Checkpoints, use the synchronous method to convert a data Storage Checkpoint to a nodata Storage Checkpoint. If an older data Storage Checkpoint exists in the file system, use the asynchronous method to mark the Storage Checkpoint you want to convert for a delayed conversion. In this case, the actual conversion will continue to be delayed until the Storage Checkpoint becomes the oldest Storage Checkpoint in the file system, or all of the older Storage Checkpoints have been converted to nodata Storage Checkpoints.</font>
</p>

<hr noshade size="2" width="100%" color="#000000">
<img src="images/note.gif" alt="Note " height="16" width="16">&nbsp;
<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="125329"></a><b>Note  &nbsp;&nbsp;</b>
</font>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000">You cannot convert a nodata Storage Checkpoint to a data Storage Checkpoint because a nodata Storage Checkpoint only keeps track of the location of block changes and does not save the content of file data blocks.
</font>
<hr noshade size="2" width="100%" color="#000000">



<h3><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000"><a name="125331"></a>Difference Between a Data and a Nodata Storage Checkpoint</font>
</h3>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125333"></a>The following example shows the difference between data Storage Checkpoints and nodata Storage Checkpoints.</font>
</p>

</ol>
<p><img src="images/stepintro.gif" height="16" width="16">
<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000"><a name="179602"></a>&nbsp;&nbsp;<b>To show the difference between Storage Checkpoints</b></font>
</p>
<ol>
<li value="1">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125334"></a>Create a file system and mount it on <font face="Courier New, Courier, sansserif, sans serif" size="2">/mnt0</font>:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125335"></a>&nbsp;&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mkfs&nbsp;-F&nbsp;vxfs&nbsp;/dev/vx/rdsk/dg1/test0</b></font>
</font>
<a name="125336"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">			version 6 layout<br>			1024000 sectors, 512000 blocks of size 1024, log size 1024 <br>			blocks, largefiles supported<br>			# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mount -F vxfs /dev/vx/dsk/dg1/test0 /mnt0</b></font></font>
<li value="2">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125337"></a>Create a small file with a known content. Create a Storage Checkpoint and mount it on <font face="Courier New, Courier, sansserif, sans serif" size="2">/mnt0@5_30pm</font>:
</font>
<a name="125338"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">			# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>echo &quot;hello, world&quot; &gt; /mnt0/file<br></b></font>			# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsckptadm create ckpt@5_30pm /mnt0<br></b></font>			# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mkdir /mnt0@5_30pm<br></b></font>			# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mount -F vxfs -o ckpt=ckpt@5_30pm </b></font>\<br><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>			/dev/vx/dsk/dg1/test0:ckpt@5_30pm </b></font>	<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>/mnt0@5_30pm</b></font></font>
<li value="3">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125339"></a>Examine the content of the original file and the Storage Checkpoint file:
</font>
<a name="125340"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">			# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>cat /mnt0/file<br></b></font>			hello, world<br>			# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>cat /mnt0@5_30pm/file<br></b></font>			hello, world</font>
<li value="4">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125341"></a>Change the content of the original file:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125342"></a>&nbsp;&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>echo&nbsp;&quot;goodbye&quot;&nbsp;&gt;&nbsp;/mnt0/file</b></font>
</font>
<li value="5">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125344"></a>Examine the content of the original file and the Storage Checkpoint file. The original file contains the latest data while the Storage Checkpoint file still contains the data at the time of the Storage Checkpoint creation:
</font>
<a name="125345"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">			# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>cat /mnt0/file<br></b></font>			goodbye<br>			# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>cat /mnt0@5_30pm/file<br></b></font>			hello, world</font>
<li value="6">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125346"></a>Unmount the Storage Checkpoint, convert the Storage Checkpoint to a nodata Storage Checkpoint, and mount the Storage Checkpoint again.
</font>
<a name="125347"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">			#<font face="Courier New, Courier, sansserif, sans serif" size="2"><b> umount /mnt0@5_30pm<br></b></font>			#<font face="Courier New, Courier, sansserif, sans serif" size="2"><b> fsckptadm -s set nodata ckpt@5_30pm /mnt0<br></b></font>			#<font face="Courier New, Courier, sansserif, sans serif" size="2"><b> mount</b></font> <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>-F vxfs</b></font> <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>-o</b></font> <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>ckpt=ckpt@5_30pm</b></font> \<br><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>				/dev/vx/dsk/dg1/test0:ckpt@5_30pm /mnt0@5_30pm</b></font></font>
<li value="7">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125348"></a>Examine the content of both files. The original file must contain the latest data:
</font>
<a name="125349"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">			# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>cat /mnt0/file<br></b></font>			goodbye</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125350"></a>You can traverse and read the directories of the nodata Storage Checkpoint; however, the files contain no data, only markers to indicate which block of the file has been changed since the Storage Checkpoint was created:</font>
</p>
<a name="188541"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">			# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>ls -l /mnt0@5_30pm/file<br></b></font>			-rw-r--r--   1 root     other 13 Jul 13 17:13 /mnt0@5_30pm/file<br>			# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>cat /mnt0@5_30pm/file<br></b></font>			cat: /mnt0@5_30pm/file: I/O error</font>
</ol>



<h3><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000"><a name="125353"></a>Conversion with Multiple Storage Checkpoints</font>
</h3>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125355"></a>The following example highlights the conversion of data Storage Checkpoints to nodata Storage Checkpoints, particularly when dealing with older Storage Checkpoints on the same file system.</font>
</p>

</ol>
<p><img src="images/stepintro.gif" height="16" width="16">
<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000"><a name="179608"></a>&nbsp;&nbsp;<b>To convert Storage Checkpoints</b></font>
</p>
<ol>
<li value="1">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="181404"></a>Create a file system and mount it on <font face="Courier New, Courier, sansserif, sans serif" size="2">/mnt0</font>:
</font>
<a name="181405"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">			# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mkfs -F vxfs /dev/vx/rdsk/dg1/test0<br></b></font>			version 6 layout<br>			1024000 sectors, 512000 blocks of size 1024, log size 1024 blocks</font>
<a name="125361"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">			largefiles supported<br>			# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mount -F vxfs /dev/vx/dsk/dg1/test0 /mnt0</b></font></font>
<li value="2">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125362"></a>Create four data Storage Checkpoints on this file system, note the order of creation, and list them:
</font>
<a name="158584"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">			# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsckptadm create oldest /mnt0<br></b></font>			# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsckptadm create older /mnt0<br></b></font>			# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsckptadm create old /mnt0<br></b></font>			# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsckptadm create latest /mnt0<br></b></font>			# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsckptadm list /mnt0<br></b></font>			/mnt0<br>			latest:<br>				ctime                =	 Mon 26 Jul 11:56:55 2004<br>				mtime                =	 Mon 26 Jul 11:56:55 2004<br>				flags                =	 largefiles<br>			old:<br>				ctime                =	 Mon 26 Jul 11:56:51 2004<br>				mtime                =	 Mon 26 Jul 11:56:51 2004<br>				flags                =	 largefiles<br>			older:<br>				ctime                = 	Mon 26 Jul 11:56:46 2004<br>				mtime                =	 Mon 26 Jul 11:56:46 2004<br>				flags                =	 largefiles<br>			oldest:<br>				ctime                =	 Mon 26 Jul 11:56:41 2004<br>				mtime                =	 Mon 26 Jul 11:56:41 2004<br>				flags                =	 largefiles</font>
<li value="3">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125365"></a>Try to convert synchronously the &quot;latest&quot; Storage Checkpoint to a nodata Storage Checkpoint. The attempt will fail because the Storage Checkpoints older than the &quot;latest&quot; Storage Checkpoint are data Storage Checkpoints, namely the Storage Checkpoints &quot;old&quot;, &quot;older&quot;, and &quot;oldest&quot;:
</font>
<a name="125366"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">			#<font face="Courier New, Courier, sansserif, sans serif" size="2"><b> fsckptadm -s set nodata latest /mnt0<br></b></font>			UX:vxfs fsckptadm: ERROR: V-3-24632: storage checkpoint set</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="158846"></a>&nbsp;&nbsp;&nbsp;failed&nbsp;on&nbsp;&nbsp;&nbsp;&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><em>latest</em></font>.&nbsp;&nbsp;&nbsp;&nbsp;File&nbsp;exists&nbsp;(17)
</font>
<li value="4">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125367"></a>You can instead convert the &quot;latest&quot; Storage Checkpoint to a nodata Storage Checkpoint in a delayed or asynchronous manner. If you list the Storage Checkpoints, you will see that the &quot;latest&quot; Storage Checkpoint is marked for conversion in the future:
</font>
<a name="125368"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">			#<font face="Courier New, Courier, sansserif, sans serif" size="2"><b> fsckptadm set nodata latest /mnt0<br></b></font>			#<font face="Courier New, Courier, sansserif, sans serif" size="2"><b> fsckptadm list /mnt0<br></b></font>			/mnt0<br>			latest:<br>				ctime                = Mon 26 Jul 11:56:55 2004<br>				mtime                = Mon 26 Jul 11:56:55 2004<br>				flags                = nodata, largefiles, delayed<br>			old:<br>				ctime                = Mon 26 Jul 11:56:51 2004<br>				mtime                = Mon 26 Jul 11:56:51 2004<br>				flags                = largefiles<br>			older:<br>				ctime                = Mon 26 Jul 11:56:46 2004<br>				mtime                = Mon 26 Jul 11:56:46 2004<br>				flags                = largefiles<br>			oldest:</font>
<a name="125369"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">				ctime                = Mon 26 Jul 11:56:41 2004<br>				mtime                = Mon 26 Jul 11:56:41 2004<br>				flags                = largefiles</font>
<li value="5">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125371"></a>You can combine the three previous steps and create the &quot;latest&quot; Storage Checkpoint as a nodata Storage Checkpoint. The creation process will detect the presence of the older data Storage Checkpoints and create the &quot;latest&quot; Storage Checkpoint as a delayed nodata Storage Checkpoint. First remove the &quot;latest&quot; Storage Checkpoint:
</font>
<a name="125372"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">			#<font face="Courier New, Courier, sansserif, sans serif" size="2"><b> fsckptadm remove latest /mnt0<br></b></font>			#<font face="Courier New, Courier, sansserif, sans serif" size="2"><b> fsckptadm list /mnt0<br></b></font>			/mnt0</font>
<a name="158700"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">			old:<br>				ctime                = Mon 26 Jul 11:56:51 2004<br>				mtime                = Mon 26 Jul 11:56:51 2004<br>				flags                = largefiles<br>			older:<br>				ctime                = Mon 26 Jul 11:56:46 2004<br>				mtime                = Mon 26 Jul 11:56:46 2004<br>				flags                = largefiles<br>			oldest:</font>
<a name="125374"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">				ctime                = Mon 26 Jul 11:56:41 2004<br>				mtime                = Mon 26 Jul 11:56:41 2004<br>				flags                = largefiles</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125375"></a>Then recreate it as a nodata Storage Checkpoint:</font>
</p>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125376"></a>&nbsp;&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsckptadm&nbsp;-n&nbsp;create&nbsp;latest&nbsp;/mnt0</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125377"></a>&nbsp;&nbsp;&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsckptadm&nbsp;list&nbsp;/mnt0</b></font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125378"></a>&nbsp;&nbsp;&nbsp;/mnt0
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125379"></a>&nbsp;&nbsp;&nbsp;latest:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125380"></a>&nbsp;&nbsp;&nbsp;&nbsp;ctime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;Mon&nbsp;26&nbsp;Jul&nbsp;12:06:42&nbsp;2004
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125381"></a>&nbsp;&nbsp;&nbsp;&nbsp;mtime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;Mon&nbsp;26&nbsp;Jul&nbsp;12:06:42&nbsp;2004
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125382"></a>&nbsp;&nbsp;&nbsp;&nbsp;flags&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;nodata,&nbsp;largefiles,&nbsp;delayed
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125383"></a>&nbsp;&nbsp;&nbsp;old:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125384"></a>&nbsp;&nbsp;&nbsp;&nbsp;ctime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;Mon&nbsp;26&nbsp;Jul&nbsp;11:56:51&nbsp;2004
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125385"></a>&nbsp;&nbsp;&nbsp;&nbsp;mtime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;Mon&nbsp;26&nbsp;Jul&nbsp;11:56:51&nbsp;2004
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125386"></a>&nbsp;&nbsp;&nbsp;&nbsp;flags&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;largefiles
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125387"></a>&nbsp;&nbsp;&nbsp;older:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125388"></a>&nbsp;&nbsp;&nbsp;&nbsp;ctime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;Mon&nbsp;26&nbsp;Jul&nbsp;11:56:46&nbsp;2004
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125389"></a>&nbsp;&nbsp;&nbsp;&nbsp;mtime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;Mon&nbsp;26&nbsp;Jul&nbsp;11:56:46&nbsp;2004
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125390"></a>&nbsp;&nbsp;&nbsp;&nbsp;flags&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;largefiles
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125391"></a>&nbsp;&nbsp;&nbsp;oldest:
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125392"></a>&nbsp;&nbsp;&nbsp;&nbsp;ctime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;Mon&nbsp;26&nbsp;Jul&nbsp;11:56:41&nbsp;2004
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125393"></a>&nbsp;&nbsp;&nbsp;&nbsp;mtime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;Mon&nbsp;26&nbsp;Jul&nbsp;11:56:41&nbsp;2004
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="125394"></a>&nbsp;&nbsp;&nbsp;&nbsp;flags&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;largefiles
</font>
<li value="6">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="125396"></a>You can synchronously convert the &quot;oldest&quot; Storage Checkpoint to a nodata Storage Checkpoint because no older Storage Checkpoints exist that contain data in the file system:
</font>
<a name="158793"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">			#<font face="Courier New, Courier, sansserif, sans serif" size="2"><b> fsckptadm -s set nodata oldest /mnt0<br></b></font>			#<font face="Courier New, Courier, sansserif, sans serif" size="2"><b> fsckptadm list /mnt0<br></b></font>			/mnt0<br>			latest:<br>				ctime                = Mon 26 Jul 12:06:42 2004<br>				mtime                = Mon 26 Jul 12:06:42 2004<br>				flags                = nodata, largefiles, delayed<br>			old:<br>				ctime                = Mon 26 Jul 11:56:51 2004<br>				mtime                = Mon 26 Jul 11:56:51 2004<br>				flags                = largefiles<br>			older:<br>				ctime                = Mon 26 Jul 11:56:46 2004<br>				mtime                = Mon 26 Jul 11:56:46 2004<br>				flags                = largefiles<br>			oldest:<br>				ctime                = Mon 26 Jul 11:56:41 2004<br>				mtime                = Mon 26 Jul 11:56:41 2004<br>				flags                = nodata, largefiles</font>
<li value="7">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="158794"></a>Remove the &quot;older&quot; and &quot;old&quot; Storage Checkpoints. After you remove the &quot;older&quot; and &quot;old&quot; Storage Checkpoints, the &quot;latest&quot; Storage Checkpoint is automatically converted to a nodata Storage Checkpoint because the only remaining older Storage Checkpoint (&quot;oldest&quot;) is already a nodata Storage Checkpoint:
</font>
<a name="125399"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">			#<font face="Courier New, Courier, sansserif, sans serif" size="2"><b> fsckptadm remove older /mnt0<br></b></font>			#<font face="Courier New, Courier, sansserif, sans serif" size="2"><b> fsckptadm remove old /mnt0<br></b></font>			#<font face="Courier New, Courier, sansserif, sans serif" size="2"><b> fsckptadm list /mnt0<br></b></font>			/mnt0<br>			latest:<br>				ctime                = Mon 26 Jul 12:06:42 2004<br>				mtime                = Mon 26 Jul 12:06:42 2004<br>				flags                = nodata, largefiles<br>			oldest:<br>				ctime                = Mon 26 Jul 11:56:41 2004<br>				mtime                = Mon 26 Jul 11:56:41 2004<br>				flags                = nodata, largefiles</font>
</ol>

<!-- End Main Topic Content -->

   </td>
  </tr>
 </table>
</div>

<div>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
 <tr>
  <td height="18" border="0" cellspacing="0" cellpadding="0" colspan="2" bgcolor="#FFFFFF">
  </td>
 </tr>
  <td align="left"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&nbsp;&#94;&nbsp;<a href="05_checkpoints_vxfs49_125067.html" title="Storage Checkpoint Administration">Return to Top</a></font>

  </td>
  <td align="right"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&lt;&nbsp;<a href="05_checkpoints_vxfs48_125031.html" title="Previous - Types of Storage Checkpoints">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="05_checkpoints_vxfs50_125403.html" title="Next - Space Management Considerations">Next</a>
&nbsp;&gt;&nbsp;&nbsp;</font>
  </td>
 <tr>
   <td height="9" border="0" cellspacing="0" cellpadding="0" colspan="2" bgcolor="#FFFFFF">
   </td>
 </tr>

<!-- Footer Breadcrumbs -->
<tr>
<td bgcolor="#FFFFFF" colspan="2" height="15" align="right">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Product:  
<a href="vxfs_splashpage_docCD_vxfs1_103036.vxhd" title="File System Guides title page ">File System Guides</a>&nbsp;&nbsp;</font></td>
</tr>

<tr>
<td bgcolor="#FFFFFF" colspan="2" height="15" align="right">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Manual:  
<a href="vxfs_admin_titlepage_docCD_vxfs2_73700.vxhd" title="File System 4.1 Administrator's Guide title page ">File System 4.1 Administrator's Guide</a>&nbsp;&nbsp;</font></td>
</tr>


 <tr>
  <td colspan="2" align="left"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" color="#000000" align="right" size="-2">
<em>VERITAS Software Corporation
</em></font><br>

<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">www.veritas.com</font><br>
  </td>
 </tr>
</table>
</div>

</BODY>
  <!--
    *************************************************************************************
    * Copyright (c) 2005 VERITAS Software Corporation. All rights reserved. *

    VERITAS, VERITAS SOFTWARE, the VERITAS Logo, and VERITAS Software Documentation 
    are trademarks or registered trademarks of VERITAS Software Corporation 
    or its affiliates in the U.S. and other countries. Other names may be 
    trademarks of their respective owners. 

    Apache Jakarta Lucene:
    Apache Software License
    Version 1.1

    Copyright (c) 2000 The Apache Software Foundation. All rights reserved.

    Redistribution and use in source and binary forms, with or without modification, 
    are permitted provided that the following conditions are met:

    1. Redistributions of source code must retain the above copyright notice, this 
    list of conditions and the following disclaimer.

    2. Redistributions in binary form must reproduce the above copyright notice, this 
    list of conditions and the following disclaimer in the documentation and/or other 
    materials provided with the distribution.

    3. The end-user documentation included with the redistribution, if any, must include 
    the following acknowledgment: "This product includes software developed by the Apache 
    Software Foundation (http://www.apache.org/)." Alternately, this acknowledgment may 
    appear in the software itself, if and wherever such third-party acknowledgments 
    normally appear.

    4. The names "Apache" and "Apache Software Foundation" must not be used to endorse or 
    promote products derived from this software without prior written permission. For 
    written permission, please contact apache@apache.org.

    5. Products derived from this software may not be called "Apache", nor may "Apache" 
    appear in their name, without prior written permission of the Apache Software Foundation.

    THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, 
    BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 
    PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION 
    OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 
    OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 
    OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 
    ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

    This software consists of voluntary contributions made by many individuals on behalf 
    of the Apache Software Foundation. For more information on the Apache Software Foundation, 
    please see <http://www.apache.org/>. Portions of this software are based upon public domain 
    software originally written at the National Center for Supercomputing Applications, University 
    of Illinois, Urbana-Champaign.
    
    This product includes WebWindow Software developed by Horst Heistermann.
    *************************************************************************************
  -->
</HTML>
