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.
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 offvol_name is the name of the source volume for SnapMirror.
Example
SRC_A> vol options sm_src fs_size_fixed off
|
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
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
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.
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. |
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.
Perform step 7 for the source volume to increase the size of the SnapMirror source volume.
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.