Creating an aggregate
Steps to create Aggregate:
=>You can display a list of the available spares by using the aggr status -s command.
=>Aggregate names must conform to the following requirements:
• Begin with either a letter or an underscore (_)
• Contain only letters, digits, and underscores
• Contain no more than 250 characters
Steps
1. Create the aggregate by entering the following command:
aggr create aggr_name [-f] [-m] [-n] [-t {raid0 | raid4 | raid_dp}] [-r raidsize] [-T disk-type] -R rpm] [-L] [-B {32 | 64}] disk-list
=>First am going to check the spare disks,
=>Create the aggregate with raid group size of 7 and raid_dp type,
Steps to create Aggregate:
=>You can display a list of the available spares by using the aggr status -s command.
=>Aggregate names must conform to the following requirements:
• Begin with either a letter or an underscore (_)
• Contain only letters, digits, and underscores
• Contain no more than 250 characters
Steps
1. Create the aggregate by entering the following command:
aggr create aggr_name [-f] [-m] [-n] [-t {raid0 | raid4 | raid_dp}] [-r raidsize] [-T disk-type] -R rpm] [-L] [-B {32 | 64}] disk-list
- aggr_name is the name for the new aggregate.
- -f overrides the default behavior that does not permit disks in a plex to belong to different disk pools. This option also enables you to mix disks with different RPM speeds even if the appropriate raid.rpm option is not off.
- -m specifies the optional creation of a SyncMirror-replicated volume if you want to supplement RAID protection with SyncMirror protection. A SyncMirror license is required for this feature.
- -n displays the results of the command but does not execute it. This is useful for displaying the disks that would be automatically selected prior to executing the command.
- -t {raid0 | raid4 | raid_dp} specifies the level of RAID protection you want to provide for this aggregate. If no RAID level is specified for an aggregate composed of disks, the default value (raid_dp) is applied. raid0 is used only for array LUNs.
- -r raidsize is the maximum size of the RAID groups for this aggregate. If no size is specified,the default is used.
- -T disk-type specifies the Data ONTAP disk type. This option is needed when creating aggregates on systems that have mixed disk types or both disks and array LUNs. (Note: If the raid.disktype.enable option is set to off (its default value), FCAL and SAS disks are considered to be the same type for the purposes of creating an aggregate and can be combined even if the -T option is used. Similarly, ATA, BSAS, and SATA disks are considered to be the same type and can be combined, even when the -T option is used.)
- -R rpm specifies the type of disk to use based on its speed. Valid values for rpm include 5400,7200, 10000, and 15000.
- -L creates a SnapLock aggregate. For more information about the SnapLock feature, see the na_aggr(1) man page or the Data ONTAP Archive and Compliance Management Guide for 7- Mode.
- -B {64 | 32} specifies the type of the aggregate: 64-bit or 32-bit. The default value is 64. The type of the aggregate determines its maximum size.
- -d disk_name1 disk_name2... disk_nameN disk_name1, disk_name2, and disk_nameN are disk IDs of available disks; use a space to separate disk IDs.
=>First am going to check the spare disks,
=>Create the aggregate with raid group size of 7 and raid_dp type,
=> Now we can check that newly created aggregate with aggr status -r command
Creating an Volume
=>Am going to create a new volume (Vol1) in newly created aggregate (Aggr1).
=>Changing volume gurantee option to none,
============= Finished ===================================================
No comments:
Post a Comment