Showing posts with label Storage - Netapp. Show all posts
Showing posts with label Storage - Netapp. Show all posts

Tuesday, September 29, 2015

Create new volume on Netapp




scenario1.
Create a new aggregate. Then create a 500GB new volume on the aggr1.
Subject: - Create a new aggregate and create a new volume
Target Storage devices:
Aggregate type:
raid size: 20 (18 disks + 2 dp)
type: raid-dp
name: aggr1

Instruction:
1. Login to
2. Check the existing aggregate and spare disks status
> sysconfig -r
3. Create a new aggregate
> aggr create aggr1 -r 20 -t raid_dp -d xx.xx.xx xx.xx.xx xx.xx.xx xx.xx.xx xx.xx.xx xx.xx.xx ......
4. Check the aggregate status
> aggr status -v
> sysconfig -r
> aggr show_space -h
5. Check capacity of aggr1
> df -Ah aggr1
6. Create a 500GB volume on aggr1
> vol create <volume name> aggr1 500g
7. Check the volume and aggregate status
> vol status <volume name>
> aggr show_space -h
> df -h

Change snap reserve percentage of a snapmirrored volume



0 people like thisscenario1:
decrease snapmirrored volume's snap reserve space percentage from default (20%) to 10%.
source: filer_A:source_vol
destination: filer_B:dest_vol

Subject: - change a volume's snap reserve space to 10%
Target Storage devices: ,
* In fact, you only need to change the snap reserve percentage on the source volume. No operation is required on the destination volumes.

Instruction:
1.      Decrease snap reserve percentage on the source volume
2.       Login to the device
3.      Check the aggregate capacity and current snap reserve space
> aggr show_space -h
> snap reserve source_vol
4. Change snapshot reserved space to 10%
> snap reserve source_vol 10
5. Check the new snap reserve space
> aggr show_space -h
> snap reserve source_vol

Remove a volume



Remove a volume

scenario1:
Remove one of the snapmirrored destination volume. Change snapmirror setting.
source: : source_vol
destination1: : dest1_vol     <--- remove="" span="" this="" volume="">
destination2: : dest2_vol

Subject: - Remove a copy volume and change snapmirror setting
Target Storage devices: , ,
Removed volume:  : dest1_vol


 Instruction:
1.      Login to the device
2.      Check the volume status and snapmirror status
> vol status
>snapmirror status
3.      Off line the volume and destroy it 
> vol offline dest1_vol

> vol destroy dest1_vol

4.      Delete a snapmirror entry from /etc/snapmirror.conf
  
   :source_vol-:dest1_vol  xxxxxxxxxxx

5.      Verify the volume is removed
> vol status

6.      Login to destination2 device
7.      Modify /etc/snapmirror.conf
 
Before: :dest1_vol-:dest2_vol  xxxxxxxxxx
After: :source_vol-:dest2_vol  xxxxxxxxxx
8.      Check snapmirror status
>snapmirror status