Table of ContentsView in Frames

Resizing a SnapMirror source and destination volume pair for traditional volumes

You can increase the size of the source volume for traditional volumes. If the destination volume is not large enough to contain the resized source volume, you have to manually increase the size of the destination volume to the same size as that of the resized source volume.

About this task

Before increasing the size of a source volume, you must compare the size of the source and destination volumes for a specific volume SnapMirror relationship. If the destination volume is not large enough to contain the larger source volume, you must manually resize the destination volume.

Note: In an active volume SnapMirror relationship, the size of the source and destination file systems is identical. However, the size of the destination volume can be larger than or equal to the size of the source volume. The size of the file systems must be identical to allow the source to be restored from the destination.

Steps

  1. On the source system, enter the following command to check whether the fs_size_fixed option is off:vol status vol_name -v
    vol_name is the name of the source volume for SnapMirror.
    Example
    SRC_A> vol status sm_src -v
            Volume State    Status            Options                      
            sm_src online   raid4, trad       nosnap=off, nosnapdir=off, minra=off, 
                            parity uninit'd!  no_atime_update=off, raidtype=raid4, raidsize=8,
                            32-bit            nvfail=off, ignore_inconsistent=off, 
                                              snapmirrored=off, resyncsnaptime=60, 
                                              create_ucode=off, convert_ucode=off, 
                                              maxdirsize=41861, schedsnapname=ordinal, 
                                              fs_size_fixed=off, svo_enable=off, 
                                              svo_checksum=off, svo_allow_rman=off, 
                                              svo_reject_errors=off, no_i2p=off, 
                                              fractional_reserve=100, extent=off, 
                                              read_realloc=off, snapshot_clone_dependency=off,
                                              dlog_hole_reserve=off, ha_policy=cfo, 
                                              nbu_archival_snap=off
                         Volume UUID: 73b3baae-653d-11e2-9c13-123478563412
                 Containing aggregate: <N/A> 
    
                  Plex /sm_src/plex0: online, normal, active
                      RAID group /sm_src/plex0/rg0: normal, block checksums
    
           Snapshot autodelete settings for sm_src:
                                state=off
                                target_free_space=0%
                                delete_order=oldest_first
                                defer_delete=none
                                prefix=(not specified)
                                destroy_list=none 
          Hybrid Cache:
                  Eligibility=None
    
    Note: If the fs_size_fixed option is set to off, the size of the destination volume's file system might be different from that of the source volume. To restore the source volume from the SnapMirror destination, the size of the source and destination file systems should be identical. When the status of a volume SnapMirror relationship is Idle, and the size of the destination volume is increased, then you can change the fs_size_fixed option to on.
  2. Depending on the value of the fs_size_fixed option, choose one of the actions from the following table:
    If the fs_size_fixed option is set to... Then...
    off Go to the next step.
    on On the source system, enter the following command:vol options vol_name fs_size_fixed off

    vol_name is the name of the source volume for SnapMirror.

    Example

    SRC_A> vol options sm_src fs_size_fixed off
    
  3. On the source system, enter the following command to find the size of the source volume and the size of the file system: vol status vol_name -b
    vol_name is the name of the SnapMirror source volume.
    Example
    SRC_A> vol status sm_src -b
    Volume              Block Size (bytes)  Vol Size (blocks)   FS Size (blocks)
    ------              ------------------  ------------------  ----------------
    sm_src              4096                256000              256000
  4. On the destination system, enter the following command to find the size of the destination volume and the size of file system: vol status vol_name -b
    vol_name is the name of the SnapMirror destination volume.
    Example
    DST_B> vol status sm_dst -b
    Volume              Block Size (bytes)  Vol Size (blocks)   FS Size (blocks)
    ------              ------------------  ------------------  ----------------
    sm_dst              4096                512000              256000
  5. Compare the size of the volume and the file system, for the source and destination pair of a SnapMirror relationship.
    Note: If you want to increase the size of the source volume beyond the present size of the destination volume, you must manually increase the size of the destination volume.
    Example
    In the example shown in the previous steps, the destination volume size is greater than the source volume size.
  6. Depending on the present size of the SnapMirror destination volume, choose one of the actions from the following table:
    If the size of the destination volume... Then...
    Is enough to contain the intended increase in the size of the source volume Go to Step 8.
    Needs to be increased to contain the intended increase in the size of the source volume Go to the next step.
  7. To increase the size of the SnapMirror destination volume, enter the following command: vol add vol_name disks

    vol_name is the name of the SnapMirror source volume.

    disks is the number of disks that you want to add to the traditional volume.

    You can use the vol status command to confirm the increase in the source volume size.
    Note: You can increase the destination volume size to be equal to or greater than the intended increased size of the source volume.
  8. Perform Step 7 for the source volume to increase the size of the SnapMirror source volume.
  9. On the source system, enter the following command:vol options vol_name fs_size_fixed on
    vol_name is the name of the source volume for SnapMirror.

    This option ensures that the size of the SnapMirror source and destination file systems are identical.

    Note: SnapMirror updates the size of the destination file system to match the source in the next SnapMirror transfer for the volume pair.