LinuxMoz

Linux Stuff && Coffee

NetApp Display or Change Volume Options - Command Line

How to display and change NetApp volume options from the command line. This command can be used to change the raid type of a volume.

NetApp Display Volume Options

The following command will display Volume Options on a NetApp Volume:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
netapp> vol options
vol options: No volume name supplied.
usage:
vol options <vol-name> <option-name> <option-val>
The following commands are available; for more information
type "vol help options <command>"
acdirmax            flexcache_min_reserve nosnap              snaplock_default_period
acdisconnected      fractional_reserve  nosnapdir           snaplock_maximum_period
acregmax            fs_size_fixed       nvfail              snaplock_minimum_period
acsymmax            guarantee           raidsize            snapmirrored
actimeo             maxdirsize          raidtype            snapshot_clone_dependency
convert_ucode       minra               read_realloc        svo_allow_rman
create_ucode        nbu_archival_snap   resyncsnaptime      svo_checksum
disconnected_mode   no_atime_update     root                svo_enable
dlog_hole_reserve   no_delete_log       schedsnapname       svo_reject_errors
extent              no_i2p              snaplock_autocommit_period try_first
flexcache_autogrow

NetApp Change Volume Option – Change RAID Type from RAID4 to RAID DP

The following example changes the NetApp volume RAID type from RAID4 to RAID DP (assuming the Vol is currenty running RAID4):

1
netapp> vol options cifs1 raidtype raid_dp

This will give an output similar to:

1
2
3
4
5
6
netapp01> vol options cifs1 raidtype raid_dp
Volume aggr1: raidsize is adjusted from 8 to 16 after changing raidtype.
netapp01> Sun May  5 16:23:07 GMT [netapp01:raid.config.raidsize.change:notice]: aggregate aggr1: raidsize is adjusted from 8 to 16 after changing raidtype
Sun May  5 16:23:08 GMT [netapp01:raid.rg.recons.missing:notice]: RAID group /aggr1/plex0/rg0 is missing 1 disk(s).
Sun May  5 16:23:08 GMT [netapp01:raid.rg.recons.info:notice]: Spare disk v5.24 will be used to reconstruct one missing disk in RAID group /aggr1/plex0/rg0.
Sun May  5 16:23:08 GMT [netapp01:raid.rg.recons.start:notice]: /aggr1/plex0/rg0: starting reconstruction, using disk v5.24

You can view the RAID reconstruction info if you wish to see the status.

You might be interested in my other Netapp Commands.

Comments