ONTAP 9.15.1 commands

system smtape showheader

Display SMTape header

Availability: This command is available to cluster administrators at the admin privilege level.

Description

This command displays the image header of a tape. The tape must have a valid backup of data. The following information about the backup is displayed:

  • Tape Number - the tape number if the backup spans multiple tape devices.

  • WAFL Version - WAFL version of the storage system when the volume was backed up on tape.

  • Backup Set ID - a unique backup set ID for the baseline backup.

  • Source Storage System - the source storage system where the volume resided when the backup was performed.

  • Source Volume - the source volume that was backed up to tape.

  • Source Volume Capacity - the capacity of the source volume that was backed up to tape.

  • Source Volume Used Size - the used size of the source volume that was backed up to tape.

  • Source Snapshot - name of the Snapshot copy used for the backup.

  • Volume Type - type of the volume.

  • Is SIS Volume - this field is true if the backed up volume was a SIS volume.

  • Backup Version - the SMTape backup version.

  • Backup Sequence No - the backup sequence number.

  • Backup Mode - this field describes the backup mode.

  • Time of Backup - the time at which the backup was performed.

  • Time of Previous Backup - the time at which the previous backup was performed; this information is displayed only if the previous backup was an incremental backup.

  • Volume Total Inodes - number of inodes of the backed up volume.

  • Volume Used Inodes - number of used inodes of the backed up volume.

  • Number of Snapshots - number of Snapshot copies present in this backup.

  • Snapshot ID - is the Snapshot ID of the backup Snapshot.

  • Snapshot Time - time at which the backup Snapshot copy was created.

  • Snapshot Name - name of the Snapshot copy which was backed up to tape.

Parameters

-tape </node_name/tape_device> - Tape Name

Use this parameter to specify the name of the tape device which is used for this SMTape operation. The format of the tape device name is /node_name /tape_device , where node_name is the name of the cluster node owning the tape and tape_device is the name of the tape device.

[-tape-block-size <integer>] - Tape Record Size in KB

Use this parameter to specify the tape record size in KB for backup and restore operations. The tape record size is in multiples of 4KB, ranging from 4KB to 256KB. The default tape record size is 240KB unless it is specified.

Examples

The following example reads the image header from the tape nrst0l residing on the node cluster1-01 and displays relevant tape header information.

cluster1::> system smtape showheader -tape /cluster1-01/nrst0l
    -tape-block-size 240
Tape record size in KB: 240
            Tape Number: 1
           WAFL Version: 23577
          Backup Set ID: 7d0c9a15-8e20-11e1-8741-123478563412
  Source Storage System: cluster1-01
          Source Volume: /vs1/srcvol
 Source Volume Capacity: 400.00MB
Source Volume Used Size: 0.00
        Source Snapshot: mysnap
            Volume Type: Flex
           Is SISVolume: no
         Backup Version: 1:3
     Backup Sequence No: 0
            Backup Mode: dw-data
         Time of Backup: 4/24/2012 15:16:38
Time of Previous Backup: 0/0/0 00:00:00
    Volume Total Inodes: 12789
     Volume Used Inodes: 100
    Number of Snapshots: 1
            Snapshot ID: 1
          Snapshot Time: 4/24/2012 15:16:10
          Snapshot Name: mysnap
Top of Page