Expand or shrink a snapmirrorred volume size
scenario1:
Expand a snapmirrored volume size by 1.5TB
source: filer_A:source_vol
destination: filer_B:dest_vol
Subject: - Expand volume size by 1.5TB
Target Storage devices: ,
Instruction:
1. Expand Source volume:
1-1. Login to the source device
1-2. Check the aggregate capacity and current volume size
> aggr show_space -h
> df -h source_vol
1-3. Expand the source volume size by 1.5TB
> vol size source_vol
+1500g
1-4. Check the new volume size
> aggr
show_space -h
> df -h
source_vol
2. Expand destination volume:
2-1. Login to the source device
2-2. Check the aggregate capacity and current volume size
> aggr show_space -h
> df -h
destination_vol
2-3. Expand the destination volume size by 1.5TB
> vol size
destination_vol +1500g
2-4. Check the new volume size
> aggr
show_space -h
> df -h
destination_vol
Scenario2:
Shrink a snapmirrored volume size by 500GB
source: filer_A:source_vol
destination: filer_B:dest_vol
Subject:
- Shrink volume size by 500GB
Target Storage devices: ,
Instruction:
1. Shrink Source volume:
1-1. Login to the source device
1-2. Check the aggregate capacity and current volume size
> aggr show_space -h
> df -h source_vol
1-3. Shrink the source volume size by 500GB
> vol size source_vol
-500g
1-4. Check the new volume size
> aggr
show_space -h
> df -h
source_vol
2. Shrink destination volume:
2-1. Login to the source device
2-2. Check the aggregate capacity and current volume size
> aggr show_space -h
> df -h
destination_vol
2-3. Shrink the destination volume size by 500GB
> vol size
destination_vol -500g
2-4. Check the new volume size
> aggr
show_space -h
> df -h
destination_vol
No comments:
Post a Comment