Current Filer Head:
- Upgrade OS to match new filer head
- Shutdown filer head
New Filer Head
- Run options disk.auto_assign off
- Shutdown filer head
- Connect only one of the shelf chains from the current filer head
- Boot to maintenance mode
- Run disk assign all
- Shutdown the filer head
- Connect the other shelf chain
- Boot to normal mode
- Verify shelves – aggr status
- Run aggr online
- Verify shelves are online
- Run options disk.auto_assign on
Posted: March 30th, 2011
Categories:
netapp,
storage
Tags:
filer,
netapp,
ontap
Comments:
No Comments.
# Gather original volume size and LUN serials
vol size /vol/SOURCE_VOL
lun show -v /vol/SOURCE_VOL/SOURCE_1_LUN
lun show -v /vol/SOURCE_VOL/SOURCE_2_LUN
( Note Volume Size & Serial# for each LUN )
# Create volume
vol create TARGET_VOL -s volume NEW_AGGREGRATE SIZE_FROM_SOURCE
vol options TARGET_VOL nosnap on
vol options TARGET_VOL nosnapdir on
vol restruct TARGET_VOL
snapmirror initialize -S FILER:SOURCE_VOL TARGET_VOL
snapmirror status
# Unmount LUNs from the host
# Update Snapmirror
(host) umount LUN_1_PATH
(host) umount LUN_2_PATH
snapmirror update -S FILER:SOURCE_VOL TARGET_VOL
snapmirror status
# Break Snapmirror
# Update volume options
snapmirror break TARGET_VOL
snapmirror status -l (record snapshot volume)
snap delete TARGET_VOL BASE SNAPSHOT FROM STATUS -L)
vol options TARGET_VOL fs_size_fixed off
snap sched TARGET_VOL 0 0 0
snap reserve TARGET_VOL 0
vol size TARGET_VOL ANY_NEW_SIZE
# Unmap source LUNs
lun unmap /vol/SOURCE_VOL/SOURCE_1_LUN LUN_HOST
lun unmap /vol/SOURCE_VOL/SOURCE_2_LUN LUN_HOST
# Offline source & target LUNs
lun offline /vol/SOURCE_VOL/SOURCE_1_LUN
lun offline /vol/SOURCE_VOL/SOURCE_2_LUN
lun offline /vol/TARGET_VOL/TARGET_1_LUN
lun offline /vol/TARGET_VOL/TARGET_1_LUN
# Apply serial number on target LUNs
lun serial /vol/TARGET_VOL/TARGET_1_LUN SERIAL#
lun serial /vol/TARGET_VOL/TARGET_2_LUN SERIAL#
# Online target LUNs
lun online /vol/TARGET_VOL/TARGET_1_LUN
lun online /vol/TARGET_VOL/TARGET_2_LUN
# Map target LUNs
lun map /vol/TARGET_VOL/TARGET_1_LUN LUN_HOST
lun map /vol/TARGET_VOL/TARGET_2_LUN LUN_HOST
# Mount LUNs from the host
# Applying the serial number to the LUN keeps the device path
(host) mount LUN_1_PATH
(host) mount LUN_2_PATH
Posted: December 13th, 2009
Categories:
netapp,
ontap,
storage
Tags:
luns,
netapp,
ontap,
snapmirror,
volumes
Comments:
No Comments.
To go into the advanced mode:
- priv set advanced (diag mode)
To read files on the console:
- rdfile
To read files from your machine:
- Mount :/vol0
To write files on the console:
- wrfile (CTRL-C)
Some useful disk commands (use -v for more info):
- sysconfig -r (show disks)
- aggr status
- vol stat
vol options
- nosnap
- nosnapdirectory
- no_i2p
vol create -s dist_vol origin:source_vol guarantee=none (thin provisioned)
Security:
- qtree security /vol/volume/qtree
- options wafl
Snapmirror:
- snapmirror status
- snapmirror destinations
- rdfile /etc/snapmirror.allow
- vol create volumes -s none aggr0 100g (source)
- vol create volume_dr -s none aggr1 110g (destination)
- vol restrict volumes_dr
- snapmirror initialize -s 5train:volumes volume_dr
- snapmirror status
- rdfile /etc/snapmirror.conf
Exports:
- exportfs -p
- exportfs -a (if you do this with a file)
Posted: September 26th, 2008
Categories:
netapp,
ontap
Tags:
netapp,
ontap
Comments:
No Comments.