目录表
aggr – commands for managing aggregates, displaying aggregate status, and copying aggregates
aggr command argument … The
aggr command family manages
aggregates . The
aggr commands can create new aggregates, destroy existing ones, undestroy previously destroyed aggregate, manage plexes within a mirrored aggregate, change aggregate status, apply options to an aggregate, copy one aggregate to another, and display their status. Aggregate commands often affect the volume(s) contained within aggregates.
The aggr command family is new in Data ONTAP 7.0. The vol command family provided control over the traditional vol_ u mes that fused a single user-visible file system and a single RAID-level storage container (aggregate) into an indivisible unit, and still does. To allow for more flexible use of storage, aggregates now also support the ability to contain multiple, independent user-level file systems named flexible volumes .
Data ONTAP 7.0 fully supports both traditional and flexible volumes. The aggr command family is the preferred method for managing a filer's aggregates, including those that are embedded in traditional volumes.
Note that most of the aggr commands apply equally to both the type of aggregate that contains flexible volumes and the type that is tightly bound to form a traditional volume. Thus, the term aggregate is often used here to refer to both storage classes. In those cases, it provides a shorthand for the longer and more unwieldy phrase "aggregates and traditional volumes”.
Aggregates may either be mirrored or unmirrored. A plex is a physical copy of the WAFL storage within the aggregate. A mirrored aggregate consists of two plexes; unmirrored aggregates contain a single plex. In order to create a mirrored aggregate, you must have a filer configuration that supports RAID-level mirroring. When mirroring is enabled on the filer, the spare disks are divided into two disk pools. When an aggregate is created, all of the disks in a single plex must come from the same disk pool, and the two plexes of a mirrored aggregate must consist of disks from separate pools, as this maximizes fault isolation. This policy can be overridden with the -f option to aggr create , aggr add and aggr mirror , but it is not recommended.
An aggregate name can contain letters, numbers, and the underscore character(_), but the first character must be a letter or underscore. A combined total of up to 200 aggregates (including those embedded in traditional volumes) can be created on each filer.
A plex may be online or offline. If it is offline, it is not available for read or write access. Plexes can be in combinations of the following states:
normal All RAID groups in the plex are functional.
failed At least one of the RAID groups in the plex has failed.
empty The plex is part of an aggregate that is being created, and one or more of the disks targeted to the aggregate need to be zeroed before being added to the plex.
active The plex is available for use.
inactive
The plex is not available for use.
resyncing
The plex's contents are currently out of date and are in the process of being resynchronized with the contents of the other plex of the aggregate (applies to mirrored aggregates only).
adding disks
Disks are being added to the plex's RAID group(s).
out-of-date
This state only occurs in mirrored aggregates where one of the plexes has failed. The non-failed plex will be in this state if it needed to be resynchronized at the time the other plex failed.
A plex is named using the name of the aggregate, a slash character delimiter, and the name of the plex. The system automatically selects plex names at creation time. For example, the first plex created in aggregate aggr0 would be aggr0/plex0 .
An aggregate may be online, restricted, or offline. When an aggregate is offline, no read or write access is allowed. When an aggregate is restricted, certain operations are allowed (such as aggregate copy, parity recomputation or RAID reconstruction) but data access is not allowed. Aggregates that are not a part of a traditional volume can only be restricted or offlined if they do not contain any flexible volumes.
Aggregates can be in combinations of the following states:
aggr The aggregate is a modern-day aggregate; it is capable of containing zero or more flexible volumes.
copying
The aggregate is currently the target aggregate of an active aggr copy operation.
degraded
The aggregate contains at least one degraded RAID group that is not being reconstructed.
foreign
The disks that the aggregate contains were moved to the current filer from another filer.
growing
Disks are in the process of being added to the aggregate.
initializing
The aggregate is in the process of being initialized.
invalid
The aggregate contains no volumes and none can be added. Typically this happens only after an aborted aggregate copy operation.
ironing
A WAFL consistency check is being performed on this aggregate.
mirror degraded
The aggregate is a mirrored aggregate, and one of its plexes is offline or resyncing.
mirrored
The aggregate is mirrored and all of its RAID groups are functional.
needs check
A WAFL consistency check needs to be performed on the aggregate.
partial
At least one disk was found for the aggregate, but two or more disks are missing.
raid0 The aggregate consists of RAID-0 (no parity) RAID groups (V-Series and NetCache only).
raid4 The aggregate consists of RAID-4 RAID groups.
raid_dp
The aggregate consists of RAID-DP (Double Parity) RAID groups.
reconstruct
At least one RAID group in the aggregate is being reconstructed.
redirect
Aggregate reallocation or file reallocation with the -p option has been started on the aggregate. Read performance to volumes in the aggregate may be degraded.
resyncing
One of the plexes of a mirrored aggregate is being resynchronized.
snapmirrored
The aggregate is a snapmirrored replica of another aggregate. This state can only arise if the aggregate is part of a traditional volume.
trad The aggregate is fused with a single volume. This is also referred to as a traditional volume and is exactly equivalent to the volumes that existed before Data OnTAP 7.0. Flexible volumes can not be created inside of this aggregate.
verifying
A RAID mirror verification operation is currently being run on the aggregate.
wafl inconsistent
The aggregate has been marked corrupted. Please contact Customer Support if you see an aggregate in this state.
The following commands are available in the
aggr suite:
add mirror restrict undestroy copy offline scrub verify create online show_space destroy options split media_scrub rename status
aggr add aggrname [
-f ]
[
-n ]
[
-g {
raidgroup |
new |
all } ]
{
ndisks [@
size ]
- |
- -d disk1 [ disk2 ... ] [ -d diskn [ diskn+1 ... ] ] }
Adds disks to the aggregate named
aggrname . Specify the disks in the same way as for the
aggr create command. If the aggregate is mirrored, then the
-d argument must be used twice (if at all).
If the -g option is not used, the disks are added to the most recently created RAID group util it is full, and then one or more new RAID groups are created and the remaining disks are added to new groups. Any other existing RAID groups that are not full remain partially filled.
The -g option allows specification of a RAID group (for example, rg0 ) to which the indicated disks should be added, or a method by which the disks are added to new or existing RAID groups.
If the -g option is used to specify a RAID group, that RAID group must already exist. The disks are added to that RAID group util it is full. Any remaining disks are ignored.
If the -g option is followed by new , Data ONTAP creates one or more new RAID groups and adds the disks to them, even if the disks would fit into an existing RAID group. Any existing RAID groups that are not full remain partially filled. The name of the new RAID groups are selected automatically. It is not possible to specify the names for the new RAID groups.
If the -g option is followed by all , Data ONTAP adds the specified disks to existing RAID groups first. After all existing RAID groups are full, it creates one or more new RAID groups and adds the specified disks to the new groups.
- n选项,可以用来显示系统将执行的命令,而不实际进行任何更改。 显示自动选择的磁盘,例如,这是有用的。
默认情况下,文件管理器填补了与磁盘一个RAID组开始之前另一个RAID组。 假设总目前有12个磁盘和RAID组的大小是14的RAID组。 如果添加5磁盘此聚合,将有14个磁盘的RAID组和另3个磁盘的RAID组。 文件管理器没有均匀地分布在RAID组中的磁盘。
你可以不添加磁盘镜像总的plex之一是离线的。
在复杂的磁盘不允许跨越磁盘池。 这种行为可以与- f标志覆盖- D参数一起使用时,列出要添加的磁盘。 的结合- D - F标志,也可以用来强制添加磁盘,具有转速不匹配,大多数现有磁盘总。
[- H] operation_number | 所有AGGR复制中止
终止聚合的复制操作。 该opera_吨ion_number参数指定的操作终止。 如果你指定所有 ,所有总活跃的复制操作被终止。
AGGR复制启动
[- S | - S 快照 ] [- C]
源目标
复制的所有数据,包括快照和灵活卷,从一个聚合到另一个。 如果使用了- S标志是,该命令源聚合的所有快照复制到目标集合。 要指定一个特定的快照复制,使用- s标志的快照的名称。 如果您使用既不- S或- S命令的标志,文件管理器创建一个快照AGGR副本启动命令执行时的时间和仅复制快照到目的地集合。
- C标志是必需的,如果源总有自由空间就可以进行碎片整理,如果目标总将自由空间碎片整理。 自由空间碎片上使用重新分配命令的总。
总结的副本只能聚集主机灵活的卷之间进行。 嵌入在传统卷的聚合无法参与。
源和目标聚集可以在同一个文件管理器或不同的文件管理器。 如果源或目的地总在其中输入AGGR副本启动命令以外的一个文件管理器,指定在 filer_name总的名称:aggre_克ate_name格式。
参与聚合副本的文件管理器,必须满足AGGR副本启动命令得以圆满完成以下要求:
源聚合必须在线和目标集合必须加以限制。
如果两个文件管理器之间的复制是必须被定义为一个可信主机的其他文件管理器,每个文件管理器。 也就是说,文件管理器的名字必须在/ etc / hosts.equiv的其他文件管理器的文件。
如果复制相同的文件管理器中,localhost必须包含在文件管理器的/ etc / hosts.equiv文件。 此外,环回地址必须在文件管理器的/ etc / hosts文件。 否则,文件管理器无法通过回送地址发送数据包本身时,试图将数据复制。
目的地总的可用磁盘空间必须大于或等于源聚合的可用磁盘空间。 使用DF -一个 路径名命令看到的一个特定的总的可用磁盘空间量。
每个AGGR副本启动命令生成两个总的复制操作:读取从源头数据汇总和数据写入目的地总之一之一。 每个文件管理器支持多达四个同时复制操作总额。
AGGR副本的状态 [operation_number]
显示一个或所有AGGR复制操作的进度。 编号从0到3的操作。
重新启动检查站对所有转让的信息也显示。
AGGR复制油门 [operation_number]的值
控制AGGR复制操作的性能。 值的范围从10(全速)1(十分之一全速)。 默认值是保持在文件管理器的aggr.copy.throttle选项,并在出厂时设置10(全速) 。 你可以申请的性能值由operation_number参数指定的操作。 如果你不指定一个操作数AGGR复制油门命令,该命令适用于所有AGGR复制操作。
如果您怀疑AGGR复制操作是造成文件管理器的性能问题,使用此命令限制AGGR复制操作的速度。 特别是,油门是旨在帮助限制AGGR复制操作的CPU使用率。 它不能被用来微调的网络带宽消费模式。
AGGR复制油门命令只允许你设置正在进行中AGGR复制操作的速度。 要设置默认AGGR复印速度将用于未来的复制操作,使用“ 选项 ”命令, 设置的aggr.copy.throttle选项。
AGGR创建 aggrname
[- F]
[- M]
[- N]
[- T raidtype]
[ř raidsize]
[- T的 磁盘类型 ]
[- R的 RPM]
[- L [ 合规 | 企业 ]
[- V]
[- L 语言代码 ]
{ndisks [ 大小 ]
- |
- - D DISK1 [DISK2 ... ] [- D diskn [diskn 1 ... ]]}
创建一个新的聚集命名aggrname。 总的名称可以包含字母,数字和下划线字符(_),但第一个字符必须是字母或下划线。 每个文件管理器可以创建多达200聚合。 这个数字包括那些嵌入在传统卷的聚合。 创建一个嵌入式的骨料可作为传统使用- v选项的音量的一部分。 它不能包含任何灵活的卷。
一个定期汇总,创建没有- v选项,只能包含灵活的卷。 它不能被纳入传统卷,它包含创建后没有立即卷。 使用卷创建命令可以创建新的灵活卷。
- T raidtype参数指定类型的RAID组(S)被用来创建聚合。 可能的RAID组类型RAID4 raid_dp的RAID - DP(双奇偶校验),RAID - 4,和RAID0简单的条带无奇偶校验保护。 总量和传统卷上的文件管理器的默认 raidtype raid_dp 。 V系列系统上不允许设置raidtype;总是使用默认的RAID0。
- R raidsize参数指定总在每个RAID组磁盘的最大数目。 raidsize的最大值和默认值依赖于平台的,基于性能和可靠性方面的考虑。 有关详细信息,请参阅AGGR选项 raidsize 。
- T的 磁盘类型参数指定创建一个新的聚合时使用的磁盘类型。 它是只需要连接到不同类型的磁盘系统。 可能的磁盘类型:ATA,FCAL以及LUN的SAS,SATA和SCSI。 在一个聚合的不同类型的混合磁盘是不允许的。- T不能与 - d一起使用。
磁盘类型标识磁盘技术和连接类型。ATA识别IDE或串行ATA接口在FCAL(光纤通道仲裁环路)。FCAL连接货架,ATA磁盘标识在货架中的FC - AL连接FC 磁盘LUN的标识出口从虚拟磁盘外部存储阵列。 底层的磁盘技术和RAID类型取决于实施等外部存储阵列SAS标识匹配的货架上的串行连接SCSI磁盘,SATA标识串行ATA磁盘在SAS货架。SCSI小型计算机系统接口,和它是为了向后兼容与早期的磁盘技术。
- R的 转速参数指定的磁盘使用基于他们在每分钟转速的转速(RPM)的类型。 它是只需要与不同转速的磁盘系统。 转速的典型值是5400,7200,10000,和15000 - R不能与- d一起使用。
ndisks是在总的磁盘数,包括奇偶校验磁盘。 在这个新创建的聚合的磁盘从备用磁盘池中。 在此池的最小的磁盘加入总首先,除非你指定@的大小参数的大小是GB的磁盘大小,磁盘内指定大小的10%将在总使用选定。
可以使用- m选项指定,在创建新的聚合的镜像(有两个plex) 。 如果给出这个选项,然后将指定的磁盘分割成两个plex。 默认情况下,新的聚合不会镜像。
- n选项,可以用来显示系统将执行的命令,而不实际进行任何更改。 显示自动选择的磁盘,例如,这是有用的。
如果您使用- D DISK1 [DISK2 ... 文件管理器]参数,创建指定的备用磁盘DISK1,DISK2,等的总和。 您可以指定一个磁盘名称空间分隔的列表。 必须指定两个不同的列表,如果新的聚合镜像。 在的情况下,新的聚合镜像,指定的磁盘必须在磁盘上每个新的plex的数目相等。
一个plex的磁盘不允许跨越备用池。 这种行为可以使用- f选项覆盖。 同样的选择,也可以用来强制使用的磁盘,没有匹配的转速。 - f选项只有当使用- ð指定的磁盘使用“选项的效果。
要创建的SnapLock总AGGR创建命令,指定- L标志。 这个标志只支持如果任的SnapLock遵守或企业的SnapLock的许可。 类型的SnapLock创建的总和,无论是履约或企业,是由安装的SnapLock许可证。 如果双方的SnapLock遵守和 SnapLock 企业的许可, 符合使用- L或- l企业 ,指定所需的总类型。
- L LANGUAGE_CODE参数可用于只有当创建一个传统的卷使用- v选项。 文件管理器创建的传统语言代码所指定的语言量。 默认情况下是由文件管理器的根卷使用的语言。 见的 VOL 手册页的语言代码清单。
AGGR破坏 aggrname | plexname} [- F]
销毁总名为aggrname,或复杂的命名 plexname的。 请注意,如果指定的聚合与传统卷,那么传统的体积本身以及销毁。
如果一个总的规定,在总所有plex被销毁。 命名总还必须不包含任何灵活的卷,不论其mount状态(在线,限制,或离线)。 如果指定了一个plex plex的破坏,留下一个未镜像包含其余复杂的聚合或传统卷。 在销毁总体来说,传统卷或plex之前,将提示用户确认操作。 可以使用- f标志,不提示用户的情况下聚合,传统卷或plex的破坏。
最初的磁盘成为备用磁盘在被摧毁的对象。 离线聚集,传统卷和plex可以被摧毁。
AGGR media_scrub状态 aggrname | plexname | 组名 ]
[- V]
打印命名的总和,复杂,或组的媒体洗刷状态。 如果没有名字,然后状态是所有RAID组当前正在运行的媒体擦洗打印。 状态包括一个完成百分比和是否暂停。
- v标志显示在去年的全媒体擦洗完成的日期和时间,当前实例的媒体洗刷开始的日期和时间,并命名的聚合,复杂的,或组的当前状态。 如果没有名字,这更详细的状态印刷与活跃的媒体洗刷所有的RAID组。
AGGR镜 aggrname
[- F]
[- N]
[- V victim_aggrname]
[- D DISK1 [DISK2 ... ]]
加入一个plex变成镜像总未镜像的聚合。 该plex是新成立的,从选择一个备用池,或者,如果指定了- v选项,是从另一个现有的未镜像总的磁盘。 总结aggrname目前必须镜像。 使用AGGR创建从头开始一个新的,镜像总。
磁盘可以明确指定使用- D AGGR创建和AGGR添加命令相同的方式。 表示磁盘的数目必须与现有的总量上存在的数量。 指定的磁盘不允许跨越磁盘池。 这种行为可以使用- f选项覆盖。 - f选项结合- D,也可以用来强制使用有转速不匹配大多数现有磁盘总的磁盘。
如果没有明确指定磁盘,然后磁盘自动选择匹配聚集的现有的plex。
可以使用- v选项加入到aggrname victim_aggrname形成一个镜像聚合。 其结果是镜像总名为aggrname否则相同aggrname之前的操作。Victim_aggrname有效地摧毁。Victim_aggrname以前必须有被镜像aggrname,然后通过AGGR split命令分开。Victim_aggrname必须离线。 - V选项,可以使用- f选项不提示用户的情况下加入 aggrname 和 vic_吨im_aggrname。
可以使用- n选项,显示该系统将实际进行任何更改的情况下执行的命令。 显示自动选择的磁盘,例如,这是有用的。
AGGR离线 {aggrname | plexname}
[- T cifsdelaytime]
时间总命名aggrname(或名为plexname的plex)脱机。 该命令返回之前的效果。 如果总已经在限制状态,那么它已经是不可用于数据访问,下面的说明不适用。
如果聚合包含任何灵活的卷,然后将中止操作,除非文件管理器处于维护模式。
除了在维护模式下,总包含当前的根卷可能不会采取脱机。 包含已标记成为root(使用卷选项 vol_ ñ AME 根 )的卷的总也不能脱机。
If the aggregate is embedded in a traditional volume that has CIFS shares, users should be warned before taking the aggregate (and hence the entire traditional volume) offline. Use the -t switch for this. The cifsdelaytime argument specifies the number of minutes to delay before taking the embedded aggregate offline, during which time CIFS users of the traditional volume are warned of the pending loss of service. A time of 0 means take the aggregate offline immediately with no warnings given. CIFS users can lose data if they are not given a chance to terminate applications gracefully.
If a plexname is specified, the plex must be part of a mirrored aggregate and both plexes must be online. Prior to offlining a plex, the system will flush all internally-buffered data associated with the plex and create a snapshot that is written out to both plexes. The snapshot allows for efficient resynchronization when the plex is subsequently brought back online.
A number of operations being performed on the aggregate's traditional volume can prevent aggr offline from succeeding, for various lengths of time. If such operations are found, there will be a one-second wait for such operations to finish. If they do not, the command is aborted.
A check is also made for files in the aggregate's associated traditional volume opened by internal ONTAP processes. The command is aborted if any are found.
aggr online { aggrname | plexname }
[ -f ]
Brings the aggregate named aggrname (or the plex named plexname ) online. This command takes effect immediately. If the specified aggregate is embedded in a traditional volume, the volume is also also brought online.
If an aggrname is specified, it must be currently offline, restricted, or foreign. If the aggregate is foreign, it will be made native before being brought online. A “foreign” aggregate is an aggregate that consists of disks moved from another filer and that has never been brought online on the current filer. Aggregates that are not foreign are considered “native.”
If the aggregate is inconsistent, but has not lost data, the user will be cautioned and prompted before bringing the aggregate online. The -f flag can be used to override this behavior. It is advisable to run WAFL_check (or do a snapmirror initialize in case of an aggregate embedded in a traditional volume) prior to bringing an inconsistent aggregate online. Bringing an inconsistent aggregate online increases the risk of further file system corruption. If the aggregate is inconsistent and has experienced possible loss of data, it cannot be brought online unless WAFL_check (or snapmirror initialize in the embedded case) has been run on the aggregate.
If a plexname is specified, the plex must be part of an online mirrored aggregate. The system will initiate resynchronization of the plex as part of online processing.
aggr options aggrname [ optname optval ]
显示总aggrname已设置的选项,或者设置选项命名的总命名aggrname optname 价值 optval 。 该命令仍然有效的文件管理器重新启动后,所以没有必要添加AGGR选项命令在/ etc / rc文件。 有些选项是数字的值。 有些选项的值可能(也可表达为是 , 真实 ,或1)或关闭 (也可以没有 , 虚假 ,或0表示)。 键入一个选项的值时,可以使用大写和小写字符的混合。 AGGR status命令显示每总设置的选项。
以下描述的选项和它们的可能值:
fs_size_fixed上 | 关闭
此选项仅适用于嵌入在传统卷的聚合。 它会导致文件系统,以保持相同的大小,而不是增长或收缩时SnapMirrored体积的关系被打破,或 AGGR添加就可以执行。 此选项会自动设置为在传统卷时成为SnapMirrored量。 它的SnapMirror打破传统的卷发出命令后仍将。 这使得传统卷SnapMirrored回源,而无需将磁盘添加到源传统卷。 如果传统的音量大小是大于文件系统的大小,关闭此选项将迫使增长到传统的体积的大小的文件系统。 默认设置是关闭的。
ignore_inconsistent上 | 关闭
此命令只能用在维护模式。 如果设置了这个选项,它允许总根量将提请启动网上,即使它是不一致的。 提醒用户的是,把它上网前先运行WAFL_check或wafliron可能导致进一步的文件系统不一致。
nosnap上 | 关闭
如果此选项,禁用对总的自动快照。 默认设置是关闭的。
raidsize 数量
此选项的值是在总量上可以创建一个RAID组的最大大小。 更改这个选项的值不会造成现有的RAID组,以扩大或收缩;它只会影响更多的磁盘是否将被添加到最后一个现有RAID组和新的RAID组将如何大。
此选项的法律价值取决于 raidtype 。 例如,raid_dp比RAID4允许更大的RAID组。 限制和默认值也有不同的文件管理器设备的不同类型和不同类型的磁盘。 下表定义为raidsize限制和默认值。
-------------- RAID4 raidsize分钟默认的最大-------------- R100 2 8 8 R150 2 6 6 FAS250 2 7 14其他(FCAL磁盘) 2 8月14日其他(ATA磁盘)2 7 7 -------------- -------------- raid_dp raidsize分钟默认最大------ -------- R100 3 12 12 R150 3 12 16其他(FCAL磁盘)3 16 28其他(ATA磁盘)3 13 14 15 16 ---------- ----
这些值可能会改变在未来版本的Data ONTAP。 raidtype RAID4 | raid_dp | RAID0
设置用来防止磁盘故障的RAID类型。 使用RAID4提供每一个RAID组的奇偶校验磁盘, 而 raid_dp提供了两个。 更改此选项,立即改变了所有RAID组内总的RAID类型。 当升级RAID组从RAID4 raid_dp,每个RAID组开始到第二个`dparity“奇偶校验磁盘分配一个备用磁盘重建。
更改此选项,也改变 raidsize到一个新 raidtype的更合适的值。 当升级从RAID4 raid_dp,raidsize raid_dp默认值将增加。 降级从raid_dp RAID4,raidsize将减少到现有的RAID组中的最大的大小,如果它之间的默认值和RAID4的限制。 如果以上RAID4的限制是最大的RAID组,新raidsize将这一限额。 如果低于RAID4的默认值是最大的RAID组,新raidsize将默认值。 如果raidsize已经低于RAID4的默认值,它会减少1 。
resyncsnaptime 数量
此选项用于设置镜像重新同步快照的频率(以分钟为单位)。 默认值是60分钟。
根
如果此选项是一个传统的卷上设置,则效果是相同的定义,在第 手册页。 否则,如果这个选项是能够包含灵活的卷聚合的聚合,然后被标记为一个,也将包含根在下次重新启动的灵活卷。 此选项可用于只有一个聚合或传统的体积在任何给定的的时间。 The existing root aggregate or traditional volume will become a non-root entity after the reboot.
Until the system is rebooted, the original aggregate and/or traditional volume will continue to show root as one of its options, and the new root aggregate or traditional volume will show diskroot as an option. In general, the aggregate that has the diskroot option is the one that will contain the root flexible volume following the next reboot.
The only way to remove the root status of an aggregate or traditional volume is to set the root option on another aggregate or traditional volume.
snaplock_compliance
This read only option indicates that the aggregate is a SnapLock Compliance aggregate. Aggregates can only be designated SnapLock Compliance aggregates at creation time.
snaplock_enterprise
This read only option indicates that the aggregate is a SnapLock Enterprise aggregate. Aggregates can only be designated SnapLock Enterprise aggregates at creation time.
snapmirrored off
If SnapMirror is enabled for a traditional volume (SnapMirror is not supported for aggregates that contain flexible volumes), the filer automatically sets this option to on . Set this option to off if SnapMirror is no longer to be used to update the traditional volume mirror. After setting this option to off , the mirror becomes a regular writable traditional volume. This option can only be set to off ; only the filer can change the value of this option from off to on .
snapshot_autodelete on | off
This option is used to set whether snapshot are automatically deleted in the aggr. If set to on then snapshots may be deleted in the aggr to recover storage as necessary. If set to off then snapshots in the aggr are not automatically deleted to recover storage. Note that snapshots may still be deleted for other reasons, such as maintaining the snapshot schedule for the aggr, or deleting snapshots that are associated with specific operations that no longer need the snapshot. To allow snapshots to be deleted in a timely manner the number of aggr snapshots is limited when snapshot_autodelete is enabled. Because of this, if there are too many snapshots in an aggr then some snapshots must be deleted before the snapshot_autodelete option can be enabled.
aggr rename aggrname newname
Renames the aggregate named aggrname to newname . If this aggregate is embedded in a traditional volume, then that volume's name is also changed.
aggr restrict aggrname
[ -t cifsdelaytime ]
Put the aggregate named aggrname in restricted state, starting from either online or offline state. The command takes effect before returning.
If the aggregate contains any flexible volumes, the operation is aborted unless the filer is in maintenance mode.
If the aggregate is embedded in a traditional volume that has CIFS shares, users should be warned before restricting the aggregate (and hence the entire traditional volume). Use the -t switch for this. The cifsdelaytime argument specifies the number of minutes to delay before taking the embedded aggregate offline, during which time CIFS users of the traditional volume are warned of the pending loss of service. A time of 0 means take the aggregate offline immediately with no warnings given. CIFS users can lose data if they are not given a chance to terminate applications gracefully.
aggr scrub resume [ aggrname | plexname | groupname ]
Resumes parity scrubbing on the named aggregate, plex, or group. If no name is given, resume all RAID groups currently undergoing a parity scrubbing that has been suspended.
aggr scrub start [ aggrname | plexname | groupname ]
Starts parity scrubbing on the named online aggregate. Parity scrubbing compares the data disks to the parity disk(s) in their RAID group, correcting the parity disk's contents as necessary. If no name is given, parity scrubbing is started on all online aggregates. If an aggregate name is given, scrubbing is started on all RAID groups contained in the aggregate. If a plex name is given, scrubbing is started on all RAID groups contained in the plex.
aggr scrub status [ aggrname | plexname | groupname ] [ -v ]
Prints the status of parity scrubbing on the named aggregate, plex, or group; all RAID groups currently undergoing parity scrubbing if no name is given. The status includes a percent-complete, and the scrub's suspended status.
The -v flag displays the date and time at which the last full scrub completed along with the current status on the named aggregate, plex, or group; all RAID groups if no name is given.
aggr scrub stop [ aggrname | plexname | groupname ]
Stops parity scrubbing on the named aggregate, plex, or group; if no name is given, on all RAID groups currently undergoing a parity scrubbing.
aggr scrub suspend [ aggrname | plexname | groupname ]
暂停平价命名的聚合,复杂的,或组擦洗,如果没有给定的名称是,在所有的RAID组,目前正处于平价擦洗。
AGGR show_space [- H | - K | - M | - G | - T | - B] <aggrname>
显示在聚合空间使用。 DF不同,此命令显示的空间内的每个总AGGR show_space如果aggrname指定,只有在相应的总运行灵活体积使用情况,否则报告的聚集空间的使用率。
所有尺寸的报道在1024字节块,除非- H - K - M,- G或- t选项要求。 - K - M,- G和- t选项的规模每千字节,兆字节,千兆字节或兆兆字节分别表示输出的大小相关的领域。
以下术语是使用在报告空间的命令。
总空间,这是总的总磁盘空间量。 WAFL的储备WAFL储备总体水平的元数据的总总的磁盘空间的百分比。 WAFL储备保持在总卷使用的空间。 捕捉储备管理单元储备的总快照预留空间金额。 可用空间,这是空间总量,可用来配置总。 这是计算可用空间=总空间 - WAFL公积 - 储备DF捕捉显示为“总”的空间。 BSR的NVLOG这是有效期为仅同步的SnapMirror目的地。 这是总存储从源文件管理器(S)发送的数据发送到磁盘之前,在目标文件管理器使用的空间量。 分配这是对非保留数据的数量和使用的空间预留的空间总和。 对于保证卷量,这至少是毫无保留的,因为没有数据量的大小。 卷与空间没有保证,这个值是相同的“用”的空间,因为没有未使用的空间保留(下面解释)。 分配的空间值显示该卷是从总量上的空间量。 这个值可以大于量的大小,因为它也包括维持量所需的元数据。 这是空间占用的磁盘块的数量。 这个值是不相同的“使用”df命令所显示的空间。 在这种情况下使用的空间,包括需要保持灵活的卷元数据。 利用在总总的可用空间量。 这是由df报告的利用空间是相同的。
AGGR分裂 plexname aggrname [- R oldvol newvol] [- R ...] [- S 后缀 ] 从镜像总plexname,并创建一个新的未镜像的总命名aggrname包含的plex。 原镜像聚合成为镜像。 从原来的总分裂的plex必须功能(部分),但它可能是无效,RESYNCING,或outof最新。 AGGR分裂,因此可以被用来获得一个复杂的,是不是最新到其合作伙伴复杂,目前没有,如果它的合作伙伴复杂。
如果总plexname驻留在嵌入传统卷,AGGR分裂的行为相同的卷分割。 新的聚合是嵌入在一个新的同名传统卷。
如果plexname驻留的总包含一个灵活的批量,AGGR分裂将重新命名默认情况下,在分割的复杂灵活的卷映像,作为新的聚合相同。
如果plexname驻留的总和,其中包含多个灵活的卷,它是必要的指定如何在新的分割造成的总的名称卷。 可以使用- r选项,反复给每个灵活卷中形成的聚合一个新的名字。 此外,可以使用- s选项指定一个后缀添加到年底A - R未涵盖所有灵活的批量名称。
如果原来的总量是在分裂的时间限制,由此产生的总额,也将受到限制。 如果限制总量主办灵活卷,他们不改名在分裂的时间。 灵活的卷将被重新命名后,名称冲突时,同时使总在线检测。 是带来了灵活的总卷联机首先要保持自己的名字。 这总可以要么是原始的骨料,或从分裂产生的聚合。 当其他聚合联机后,在这个总的灵活卷将被重新命名。
如果传统卷内嵌入一个总的plex脱机分裂的时间,造成总将处于脱机状态。 当分裂从一个主机灵活卷的总的plex,该plex脱机,但总在线,由此产生的聚合将联机,其灵活的卷将被重新命名。 这是不允许的分裂从一个plex脱机总量。
分割镜像可以加入到一起,通过- v选项AGGR镜子。
AGGR状态 [aggrname]
[- R | - V | - D | - C | - B | - S | - F | - I]
显示所有文件管理器上的一个或聚集的状态。 如果是用来aggrname,打印指定的总的状态,否则印有所有聚集在文件管理器的状态。 默认情况下,打印出一行的总和,其中包括总名称简介,它是否包含一个单一的传统卷或一些灵活的卷,如果是联机或脱机,其他国家(例如, 局部的,退化, WAFL不一致 ,等等)和peraggregate选项。 每骨料的选择仅显示如果选项已改变使用AGGR选项命令,或由卷选项“命令,如果总是在传统卷的嵌入式系统默认值。 如果WAFL不一致的状态显示,请联系客户支持。
- v标志显示开/关状态的所有peraggregate每个卷,plex和在总量上载RAID组选项和显示有关信息。
- r标志显示,总的RAID信息列表。 如果没有aggrname指定,它打印RAID所有聚集的信息,有关的文件系统的磁盘,备用磁盘,发生故障的磁盘的信息。 欲了解更多有关故障的磁盘的信息,请参阅- f开关下面的说明。
- d标志显示在指定的总磁盘信息。 sysconfig中- d命令的相同类型的磁盘信息。
- c标志显示块的校验数据的完整性保护功能的升级状态。
- B是用来获取AGGR副本使用的源和目的地聚集的大小。 输出包含在总量和总可能更小尺寸的存储。 总的复制命令使用这些数字来确定,如果源和目标的总大小是兼容的。 源总的大小必须等于或小于目标总的大小。
- s标志显示备用磁盘上的文件管理器的上市。
- f标志显示发生故障的磁盘上的文件管理器的列表。 命令的输出包括磁盘故障的原因可以是下列任何:
- i标志显示在聚合中的灵活卷的列表。
未知故障原因不明。 失败的Data ONTAP由于一个致命的磁盘错误,出现故障的磁盘。 此磁盘管理失败的用户发出一个“磁盘失败”命令。 标有“破盘下的Data ONTAP 6.1.X或更早版本失败。 初始化失败磁盘的初始化序列失败。 此磁盘管理删除用户发出一个“磁盘删除”命令。 不响应不响应请求的磁盘。 身体拉,拉磁盘或没有存在的数据路径访问磁盘。 绕过磁盘的ESH绕过。
AGGR undestroy [- N] <aggrname> Undestroy部分完好或以前销毁的聚合或传统卷。 该命令将打印的候选人聚合和匹配给定的名称,这可能是潜在的未销毁的传统卷名单。
- n选项,打印由聚合或包含由传统的音量,可潜在的未销毁的磁盘列表。 此选项可用于显示命令执行的结果,而不实际进行任何更改。
AGGR验证恢复 [aggrname]
恢复RAID命名总的镜像核查;如果没有总的名称是,目前正在经历一个RAID镜像核查已经暂停所有聚集。
AGGR验证启动 [aggrname] [- F plexnumber]
Starts RAID mirror verification on the named online mirrored aggregate. If no name is given, then RAID mirror verification is started on all online mirrored aggregates. Verification compares the data in both plexes of a mirrored aggregate. In the default case, all blocks that differ are logged, but no changes are made. If the -f flag is given, the plex specified is fixed to match the other plex when mismatches are found. A name must be specified with the -f plexnumber option.
aggr verify stop [ aggrname ]
Stops RAID mirror verification on the named aggregate; if no aggregate name is given, on all aggregates currently undergoing a RAID mirror verification.
aggr verify status [ aggrname ]
Prints the status of RAID mirror verification on the named aggregate; on all aggregates currently undergoing RAID mirror verification if no aggregate name is given. The status includes a percent-complete, and the verification's suspended status.
aggr verify suspend [ aggrname ]
Suspends RAID mirror verification on the named aggregate; if no aggregate name is given, on all aggregates currently undergoing RAID mirror verification.
Aggregates on different filers in a cluster can have the same name. For example, both filers in a cluster can have an aggregate named
aggr0 .
However, having unique aggregate names in a cluster makes it easier to migrate aggregates between the filers in the cluster.
aggr create aggr1 -r 10 20 创建名为aggr1的 20磁盘聚合。 在这个总的RAID组最多可以包含10个磁盘,所以这个新的聚合有两个RAID组。 当前的备用磁盘文件管理器增加了新的聚合,最小磁盘开始。
AGGR创建aggr1的20 @ 9
创建名为aggr1的 20 9 GB的磁盘聚合。 由于没有RAID组大小是指定,则默认的大小(8个磁盘)使用。 新创建的聚合包含两个8盘和第三组四个磁盘的RAID组。
AGGR创建aggr1的- D 8A.1 8A.2 8a.3
创建名为指定的三个磁盘aggr1的聚合。
10创建aggr1的AGGR
AGGR选项aggr1的raidsize 5
第一个命令创建名为aggr1的 10个磁盘属于一个RAID组的聚合。 第二个命令规定,如果任何磁盘随后加入到这个总,也不会造成任何当前的RAID组中有超过五个磁盘。 每个现有的RAID组将继续有10个磁盘,将被添加到没有更多的磁盘,RAID组。 当创建新的RAID组,他们将有一个由5个磁盘的最大尺寸。
AGGR show_space h AG1
显示总AG1和尺度空间的大小单位的空间使用率。
总结“AG1”总面积的WAFL储备管理单元储备可用空间的BSR NVLOG 66GB 6797MB 611MB 59GB 65KB空间分配给总卷的卷分配用于保证VOL1 14GB 11GB卷VOL2 8861MB 8871MB文件VOL3 VOL4没有26GB 25GB体积vol1_clone 1028MB 1028MB 6161MB 6169MB(离线)骨料分配的已用可用总空间55GB 51GB 3494MB捕捉储备611MB 21MB 590MB的WAFL储备6797MB 5480KB 6792MB
AGGR状态aggr1的- R
显示有关聚合aggr1的 RAID信息。 在下面的例子中,我们看到,aggr1的是一个RAID - DP的总块校验保护。 它是在线的,并且所有的磁盘都正常运行。 总包含四个磁盘,两个数据的磁盘,一个奇偶校验磁盘,和一个doubleparity磁盘。 0B适配器,适配器1B和两个位于两个磁盘。 每个磁盘的磁盘架和托架编号表示。 所有四个磁盘10,000 RPM光纤通道连接的磁盘通过磁盘通道A磁盘“池”属性显示只有被授权的SyncMirror,这是不是这里的情况(如果获发牌照的SyncMirror,游泳池将是0或1) 。 最右边的列中显示的Data ONTAP(“拿来主义”),用于在磁盘上(“物理学报”)的磁盘空间量。
用于AGGR aggr1的(在线,raid_dp)(块校验)PLEX / aggr1/plex0(在线,正常,活跃)RAID组/ aggr1/plex0/rg0(正常)RAID磁盘设备HA货架湾陈池键入rpm(MB / BLKS)物理学(MB / BLKS)--- - - - - - - - - - - ------- ------- dparity 0b.16 0B 1 0 FC A - FCAL 10000278528000分之136000 280790184分之137104平价1b.96 1B 6 0 FC:一个 - FCAL 10000278528000分之136000284820800分之139072数据0b.17 0B 1的FC:一个 - FCAL 10000278528000分之136000284820800分之139072数据1b.97 1B 6 1的FC: - FCAL 10000278528000分之136000284820800分之139072
vol ,
partner ,
snapmirror ,
sysconfig 。
目录表
Read more... (8017 words, estimated 32:04 mins reading time) 手册页 AGGR , 男子 , 手册中, NetApp , ONTAP