Converting multiple Storage Checkpoints

You can convert Storage Checkpoints to nodata Storage Checkpoints when dealing with older Storage Checkpoints on the same file system.

To convert multiple Storage Checkpoints

  1. Create a file system and mount it on /mnt0:
    # mkfs -t vxfs /dev/vx/rdsk/dg1/test0
    version 10 layout
    134217728 sectors, 67108864 blocks of size 1024, log size 65536 blocks
    rcq size 4096 blocks
    largefiles supported
    maxlink    supported 
    # mount -t vxfs /dev/vx/dsk/dg1/test0 /mnt0
  2. Create four data Storage Checkpoints on this file system, note the order of creation, and list them:
    # fsckptadm create oldest /mnt0
    # fsckptadm create older /mnt0
    # fsckptadm create old /mnt0
    # fsckptadm create latest /mnt0
    # fsckptadm list /mnt0
      /mnt0
      latest:
        ctime                =  Mon 26 Jul 11:56:55 2004
        mtime                =  Mon 26 Jul 11:56:55 2004
        flags                =  largefiles
      old:
        ctime                =  Mon 26 Jul 11:56:51 2004
        mtime                =  Mon 26 Jul 11:56:51 2004
        flags                =  largefiles
      older:
        ctime                =   Mon 26 Jul 11:56:46 2004
        mtime                =  Mon 26 Jul 11:56:46 2004
        flags                =  largefiles
      oldest:
        ctime                =  Mon 26 Jul 11:56:41 2004
        mtime                =  Mon 26 Jul 11:56:41 2004
        flags                =  largefiles
  3. Try to convert synchronously the latest Storage Checkpoint to a nodata Storage Checkpoint. The attempt will fail because the Storage Checkpoints older than the latest Storage Checkpoint are data Storage Checkpoints, namely the Storage Checkpoints old, older, and oldest:
    # fsckptadm -s set nodata latest /mnt0
    UX:vxfs fsckptadm: ERROR: V-3-24632: Storage Checkpoint 
    set failed on latest.  File exists (17)
  4. You can instead convert the latest Storage Checkpoint to a nodata Storage Checkpoint in a delayed or asynchronous manner.
    # fsckptadm set nodata latest /mnt0
  5. List the Storage Checkpoints, as in the following example. You will see that the latest Storage Checkpoint is marked for conversion in the future.
    # fsckptadm list /mnt0
      /mnt0
      latest:
        ctime                = Mon 26 Jul 11:56:55 2004
        mtime                = Mon 26 Jul 11:56:55
        flags                = nodata, largefiles, delayed
      old:
        ctime                = Mon 26 Jul 11:56:51 2004
        mtime                = Mon 26 Jul 11:56:51 2004
        flags                = largefiles
      older:
        ctime                = Mon 26 Jul 11:56:46 2004
        mtime                = Mon 26 Jul 11:56:46 2004
        flags                = largefiles
      oldest:
        ctime                = Mon 26 Jul 11:56:41 2004
        mtime                = Mon 26 Jul 11:56:41 2004
        flags                = largefiles