AGGR
名称
AGGR - 管理总量,显示聚合状态的命令,和复制总量内容简介
AGGR 命令参数...描述
AGGR命令家庭管理总量 。 AGGR命令可以创建新的聚集,破坏现有的,总undestroy以前销毁,plex的镜像总额内管理,改变聚合状态,应用聚合选项,复制一个到另一个聚合,并显示其状态。 总结命令往往会影响内聚集中的音量(S)。AGGR命令家庭是在Data ONTAP 7.0中新的。 vol命令系列提供比传统vol_üMES控制一个单一的用户可见的文件系统和单个RAID级别存储容器(总)融合成一个不可分割的单位,仍然如此。 为了让更多的存储空间的灵活运用,总量现在也支持能力包含多个独立的用户级别的文件系统,名为“ 灵活的卷 。
的Data ONTAP 7.0完全支持传统的和灵活的卷。 AGGR命令家庭是1文件管理器的集合体,包括那些在传统卷的嵌入式管理的首选方法。
请注意,大部分的AGGR命令同样适用于骨料类型,它包含灵活的数量和类型紧密结合,形成一个传统的体积。 因此,长期总往往是用在这里是指两个存储类。 在这些情况下,它提供了一个更长,更笨重的那句“聚集和传统卷”的简写。
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.
复制
聚合是目前活跃AGGR复制操作的目标总和。
退化
总包含至少一个未被重建降级的RAID组。
国外
总所包含的磁盘被移动到另一个文件管理器从目前的文件管理器。
成长
磁盘被添加到聚合的过程中。
初始化
总的是在被初始化的过程。
无效
总不包含卷,没有可以添加。 通常情况下,发生这种情况后,才中止的总复制操作。
熨烫
正在执行在此聚集一WAFL一致性检查。
镜子退化
总镜像聚合,和它的plex离线或RESYNCING的。
镜像
总镜像和RAID组的所有功能。
需要检查
一的WAFL一致性检查,需要总执行。
部分的
至少有一个磁盘被发现的总和,但两个或更多磁盘丢失。
RAID0总额组成的RAID-0(无校验)RAID组(V系列的NetCache只)。
RAID4总额组成的RAID 4 RAID组。
raid_dp
总额组成的RAID-DP(双奇偶校验)RAID组。
重建
正在重建中至少有一个RAID组的总。
重定向
已经开始对总总结再分配或-p选项的文件再分配。 阅读量在总体性能可能会降低。
重新同步
镜像总额的plex正在重新同步。
snapmirrored
聚合是另一个聚合snapmirrored副本。 如果聚合是一个传统卷的一部分,这种状态只能出现。
繁体总额融合与一个单一的量。 这也被称为作为一个传统的体积是完全等价的Data ONTAP 7.0之前存在的卷。 灵活的卷内不能创建此聚合。
验证
RAID镜像核查行动,目前正在上运行的总和。
WAFL不一致
总已被标记为损坏。 如果你看到一个聚集在此状态下,请联系客户支持。
用法
下面的命令是在AGGR套件:添加镜子限制undestroy复制脱机擦洗验证创建在线show_space破坏分裂media_scrub重命名状态的选项
[-F]
[-N]
[-G {raidgroup | 新| ALL}]
{ndisks [ 大小 ]
- |
- -D DISK1 [DISK2 ... ] [-D diskn [diskn +1 ... ]]}
如果不使用-g选项,磁盘被添加到最近创建的RAID组中的util是充分,然后创建一个或多个新的RAID组和剩余磁盘被添加到新组。 任何其他现有的RAID组是不完整的部分仍然充满。
-g选项允许指定一个RAID组(例如,rg0)应该被添加到指定的磁盘或磁盘被添加到新的或现有的RAID组的方法。
如果-g选项用于指定一个RAID组中,RAID组必须已经存在。 添加到磁盘,RAID组UTIL是充分。 任何剩余的磁盘将被忽略。
如果使用-g选项是由新的Data ONTAP创建一个或多个新的RAID组,并增加了对他们的磁盘,磁盘,即使将融入现有的RAID组。 任何现有的RAID组是不完整的部分仍然充满。 自动选择的新RAID组的名称。 这是不可能指定为新的RAID组的名称。
如果-g选项, 所有的Data ONTAP指定的磁盘添加到现有的RAID组第一。 毕竟现有的RAID组都满了,它会创建一个或多个新的RAID组,并增加了新组指定的磁盘。
-n选项,可以用来显示,该系统将执行的命令,实际上不进行任何更改。 显示自动选择的磁盘,例如,这是有用的。
默认情况下,文件管理器填补了与磁盘一个RAID组开始之前另一个RAID组。 假设总目前有12个磁盘的RAID组的RAID组大小为14。 如果添加5磁盘此聚合,它将有一个有14个磁盘的RAID组和另3个磁盘的RAID组。 文件管理器并不均匀地分布在RAID组中的磁盘。
你可以不添加磁盘镜像总的plex。
在一个复杂的磁盘不允许跨越磁盘池。 这种行为可以用-f标志覆盖,用-D参数一起使用时,列出要添加的磁盘。 组合与-d,-f标志,也可以被用于强制加入具有转速不匹配的磁盘,大多数现有的磁盘总。
AGGR副本中止[-H] operation_number | 所有
终止聚合的复制操作。 opera_ţion_number参数指定的操作终止。 如果指定了所有 ,所有总活跃的复制操作被终止。
AGGR副本启动
[ - S-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]
[ 米 ]
[-N]
[-T raidtype]
-R raidsize的 ]
[-T的 磁盘类型 ]
[-R的 RPM]
[-L的合规 | 企业 ]
[-V]
[-L 语言代码 ]
{ndisks [ 大小 ]
- |
- -D DISK1 [DISK2 ... ] [-D diskn [diskn +1 ... ]]}
创建一个嵌入式的聚合都可以作为一个传统的音量使用-v选项的一部分。 它不能包含任何灵活的卷。
定期汇总,创建没有-v选项,可以只包含灵活的卷。 它不能被纳入传统的体积,它包含创建后没有立即卷。 使用 vol create命令可以创建新的灵活卷。
-T raidtype参数指定类型的RAID组(S)被用来创建聚合。 可能的RAID组类型RAID4 raid_dp的RAID-DP(双奇偶校验),RAID-4,简单的条纹无奇偶校验保护RAID0。 总量和传统报税卷的默认raidtype是raid_dp。 不允许设置raidtype V系列系统; RAID0默认总是使用。
-R raidsize参数指定聚集在每个RAID组中的磁盘的最大数目。 raidsize的最大默认值是依赖于平台的,基于性能和可靠性方面的考虑。 见AGGR选项的更多细节raidsize。
盘型的-T参数指定的磁盘类型,使用时,创建一个新的聚合。 它是只需要连接到不同类型的磁盘系统。 可能的磁盘类型:ATA,FCAL以及LUN的的SAS和SATA和SCSI。 在一个聚合不同类型的混合磁盘上是不允许的。T不能与-d一起使用。
磁盘类型标识磁盘技术和连接类型。ATA识别IDE或串行ATA接口连接FCAL(光纤通道仲裁环路)。FCAL标识在货架上的FC-AL连接FC磁盘的LUN。货架ATA磁盘标识出口从虚拟磁盘外部存储阵列。 底层的磁盘技术和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的数目相等。
在一个复杂的磁盘不允许跨越备用池。 这种行为可以使用-f选项覆盖。 相同的选项也可以被用于强制使用的磁盘,不具有匹配的转速。 只有当使用-d选项指定的磁盘使用-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。 摧毁聚合,传统卷或plex之前,将提示用户确认操作。 可以使用-f标志,不提示用户的情况下摧毁一个聚合,传统卷或plex。
原本在销毁对象的磁盘将成为备用磁盘。 只有脱机聚合,传统卷和plex可以被摧毁。
[aggrname plexname | groupname的 AGGR media_scrub状态 ]
[-V]
打印媒体命名的总和,复杂的,或组的洗涤状态。 如果没有给定的名字,然后打印状态为所有的RAID组,目前运行媒体擦洗。 包括%完整,是否暂停状态。
-v标志显示,去年全媒体擦洗完成的日期和时间,日期和时间当前实例的媒体洗刷开始,命名的总和,复杂的,或组的当前状态。 如果没有给定的名字,这更详细的状态印刷与活跃的媒体洗刷所有的RAID组。
AGGR镜 aggrname
[-F]
[-N]
[-V victim_aggrname]
[-D DISK1 DISK2 ... ]]
变成镜像总给它添加一个plex的镜像的总和。 无论是从选择一个备用池的磁盘的plex新成立的,或者,如果指定了-v选项,从另一个现有的镜像的聚合。 目前总aggrname必须是镜像的。 使用AGGR创建一个新的,反映从头总。
磁盘可以使用-D在与AGGR创建和add命令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 根 )的体积也不能脱机。
如果总被嵌入在传统的体积,有CIFS共享,用户应采取的总和(因而整个传统卷)脱机之前警告。 使用-t开关。 cifsdelaytime参数指定分钟之前延迟采取嵌入式总额脱机,在这期间的时间CIFS传统卷的用户服务有待损失的警告数量。 0意味着立即采取总额脱机没有发出警告。 CIFS的用户可能会失去数据,如果他们没有机会来终止应用程序正常。
如果plexname指定的plex必须镜像总额的一部分,两个plex必须是在线的。 一个plex脱机之前,该系统将刷新所有内部缓冲的plex关联的数据,并创建一个快照被写入了双方的plex。 快照允许的plex随后被带回线上的高效再同步。
聚集的传统量正在执行的操作数可以防止成功,为不同的时间长度,AGGR离线 。 如果发现这样的操作,会有一秒钟的等待一个这样的操作完成。 如果他们不这样做,命令中止。
支票也聚集的相关传统内部ONTAP的过程中打开的卷中的文件。 如有发现,该命令将被中止。
AGGR在线 {aggrname | plexname}
[-F]
带来的总名为aggrname(或名为plexname的plex)在线。 此命令立即生效。 如果指定的集合嵌入在一个传统的体积,体积也还带来了网上。
如果一个aggrname被指定,它必须是当前处于脱机状态,限制或外国。 如果聚合是外国的,它将会取得本地联机之前。 “外资”合计是从另一个文件管理器和移动从未带来了对当前文件管理器的在线磁盘组成的聚合。 是不是外国的集合体被视为“本土”。
如果聚合是不一致的,但不会丢失数据,用户将被警告,才使总在线提示。 可以使用-f标志来覆盖此行为。 这是可取运行WAFL_check(或嵌入在传统卷的总的情况下做1 SnapMirror的初始化 )将不一致的总联机之前。 使网上不一致的总增加了进一步的文件系统损坏的风险。 如果聚合是不一致的,经历了可能的数据丢失,它不能被联机,除非已WAFL_check( 或 SnapMirror嵌入式案件中的initialize)总运行。
如果plexname指定的plex必须是网上镜像总额的一部分。 该系统将启动的plex重新同步在线处理的一部分。
AGGR选项 aggrname [optname optval]
显示总aggrname已设置或设置名为总名为aggrname的optname价值optval选项的选项。 该命令仍然有效的文件管理器重新启动后,所以没有必要添加AGGR选项命令在/ etc / rc文件。 有些选项是数字的值。 一些选项有可能(也可表示为是真实的 ,或1)或关闭 (也可以没有 , 虚假或0表示)的值。 键入一个选项的值时,可以使用大写和小写字符的混合。 AGGR status命令显示每总额中设置的选项。
以下描述的选项和其可能的值:
fs_size_fixed上 | 关闭
This option only applies to aggregates that are embedded in traditional volumes. It causes the file system to remain the same size and not grow or shrink when a SnapMirrored volume relationship is broken, or an aggr add is performed on it. This option is automatically set to be on when a traditional volume becomes a SnapMirrored volume. It will remain on after the snapmirror break command is issued for the traditional volume. This allows a traditional volume to be SnapMirrored back to the source without needing to add disks to the source traditional volume. If the traditional volume size is larger than the file system size, turning off this option will force the file system to grow to the size of the traditional volume. The default setting is off .
ignore_inconsistent on | off
This command can only be used in maintenance mode. If this option is set, it allows the aggregate containing the root volume to be brought online on booting, even though it is inconsistent. The user is cautioned that bringing it online prior to running WAFL_check or wafliron may result in further file system inconsistency.
nosnap on | off
If this option is on , it disables automatic snapshots on the aggregate. The default setting is off .
raidsize number
这个选项的值是总可以在创建一个RAID组的最大大小。 更改这个选项的值,不会导致现有的RAID组,以扩大或收缩;它只会影响更多的磁盘是否将被添加到最后一个现有RAID组,如何将新的大型RAID组。
此选项的合法值取决于raidtype。 例如,raid_dp比RAID4允许更大的RAID组。 限制和默认值也有不同的文件管理器用具的不同类型和不同类型的磁盘。 下表定义为raidsize限制和默认值。
-------------- RAID4 raidsize分钟的默认最大-------------- R100的2 8 R150 2 6 FAS250 2 7 14其他(FCAL磁盘) 2 8月14日(ATA磁盘)2 7 7 ---------------------------- raid_dp raidsize分钟的默认最大------ -------- R100的3 12 12 3 12 16其他(FCAL磁盘R150)3月16日28其他(ATA磁盘)3 13 14 15 16 ---------- ----
raidtype RAID4 raid_dp | RAID0
设置用来防止磁盘故障的RAID类型。 使用RAID4提供RAID组的每一个校验磁盘,而raid_dp提供了两个。 立即更改这个选项改变聚集内所有RAID组的RAID类型。 当升级RAID组从RAID4 raid_dp,每个RAID组开始为第二的`dparity“奇偶校验磁盘分配一个备用磁盘上重建。
Changing this option also changes raidsize to a more suitable value for new raidtype . When upgrading from raid4 to raid_dp , raidsize will be increased to the default value for raid_dp . When downgrading from raid_dp to raid4 , raidsize will be decreased to the size of the largest existing RAID group if it is between the default value and the limit for raid4 . If the largest RAID group is above the limit for raid4 , the new raidsize will be that limit. If the largest RAID group is below the default value for raid4 , the new raidsize will be that default value. If raidsize is already below the default value for raid4 , it will be reduced by 1.
resyncsnaptime number
This option is used to set the mirror resynchronization snapshot frequency (in minutes). The default value is 60 minutes.
root
If this option is set on a traditional volume, then the effect is identical as that defined in vol man page. Otherwise, if this option is set on an aggregate capable of containing flexible volumes, then that aggregate is marked as being the one that will also contains the root flexible volume on the next reboot. This option can be used on only one aggregate or traditional volume at any given time. 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
这阅读的唯一选择表明,聚合是的SnapLock遵守总额。 团聚,只能在创建时指定的SnapLock遵守聚集。
snaplock_enterprise
这阅读的唯一选择表明,聚合是的SnapLock企业聚集。 团聚,只能在创建时指定的SnapLock企业聚集。
snapmirrored关闭
SnapMirror的是传统的体积(SnapMirror的不支持包含灵活的卷的聚集)如果启用,文件管理器会自动设置这个选项上 。 将此选项设置为关闭,如果SnapMirror的不再是被用来更新传统的卷镜像。 此选项设置为关闭后,镜子成为一个常规的可写的传统卷。 这个选项只能被设置为关闭 ,只有文件管理器可以从这个选项的值上 。
snapshot_autodelete上 | 关闭
此选项用于设置是否快照,在AGGR自动删除。 然后如果设置的快照在AGGR恢复必要的存储可能会被删除。 如果设置为关闭 ,然后在AGGR快照不会自动删除恢复存储。 请注意,仍然可能为其他原因,如维持AGGR快照计划,或删除,具体操作不再需要快照快照,删除快照。 允许要及时删除快照的AGGR快照的数量是有限的启用snapshot_autodelete时。 正因为如此,如果有太多快照在AGGR一些快照,必须删除之前snapshot_autodelete选项可以启用。
AGGR重命名 aggrname NEWNAME
改名总名为aggrname newname的 。 如果这个集合嵌入在传统卷,该卷的名称也发生了变化。
AGGR限制 aggrname
[-T cifsdelaytime]
提出在限制状态的总名为aggrname,从联机或脱机状态。 命令返回之前生效。
如果总包含任何灵活的卷,操作中止,除非是在维护模式下的文件管理器。
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.
-v标志显示的日期和时间命名的总和,复杂的,或组的当前状态完成最后的全磨砂;如果没有名字,所有的RAID组。
[aggrname plexname | groupname的 AGGR擦洗站 ]
停止平价擦洗命名的总和,复杂的,或组,如果没有给定的名称,在所有的RAID组,目前正处于平价擦洗。
AGGR擦洗暂停 aggrname | plexname | 组名 ]
暂停平价擦洗命名的总和,复杂的,或组,如果没有名字,在所有的RAID组,目前正处于平价洗涤。
AGGR show_space [-H |-K-M |-G-T |-B] <aggrname>
显示在聚合空间使用。 不像DF,此命令显示每个空间内聚集的灵活卷使用如果aggrname指定,AGGR show_space只有在相应的总运行,否则报告上所有的聚合空间使用情况。
各种规模的报告,在1024字节块,除非另有要求的-h,-K-M-G或-t选项。 每个输出的大小相关领域的-k,-M-G和-t选项规模在千字节,兆字节,千兆字节或千兆字节分别表示。
下列术语使用的命令,在报告的空间。
Total space This is the amount of total disk space that the aggregate has. WAFL reserve WAFL reserves a percentage of the total total disk space for aggregate level metadata. The space used for maintaining the volumes in the aggregate comes out of the WAFL reserve. Snap reserve Snap reserve is the amount of space reserved for aggregate snapshots. Usable space This is the total amount of space that is available to the aggregate for provisioning. This is computed as Usable space = Total space – WAFL reserve – Snap reserve df displays this as the 'total' space. BSR NVLOG This is valid for Synchronous SnapMirror destinations only. This is the amount of space used in the aggregate on the destination filer to store data sent from the source filer(s) before sending it to disk. Allocated This is the sum of the space reserved for the volume and the space used by non reserved data. For volume guaranteed volumes, this is at least the size of the volume since no data is unreserved. For volumes with space guarantee of none, this value is the same as the 'Used' space (explained below) since no unused space is reserved. The Allocated space value shows the amount of space that the volume is taking from the aggregate. This value can be greater than the size of the volume because it also includes the metadata required to maintain the volume. Used This is the amount of space that is taking up disk blocks. This value is not the same as the 'used' space displayed by the df command. The Used space in this case includes the metadata required to maintain the flexible volume. Avail Total amount of free space in the aggregate. This is the same as the avail space reported by df.
-R oldvol newvol] [-R]
[-S 后缀 ]
删除镜像总plexname,并创建一个新的镜像的总的命名aggrname,包含的plex。 原镜像聚合成为镜像的。 必须从原来的总分裂的复杂功能(部分),但它可能是无效的,RESYNCING,或outof最新。 Aggr split can therefore be used to gain access to a plex that is not up to date with respect to its partner plex, if its partner plex is currently failed.
If the aggregate in which plexname resides is embedded in a traditional volume, aggr split behaves identically to vol split . The new aggregate is embedded in a new traditional volume of the same name.
If the aggregate in which plexname resides contains exactly one flexible volume, aggr split will by default rename the flexible volume image in the split-off plex to be the same as the new aggregate.
If the aggregate in which plexname resides contains more than one flexible volume, it is necessary to specify how to name the volumes in the new aggregate resulting from the split. The -r option can be used repeatedly to give each flexible volume in the resulting aggregate a new name. In addition, the -s option can be used to specify a suffix that is added to the end of all flexible volume names not covered by a -r .
If the original aggregate is restricted at the time of the split, the resulting aggregate will also be restricted. If the restricted aggregate is hosting flexible volumes, they are not renamed at the time of the split. Flexible volumes will be renamed later, when the name conflict is detected while bringing an aggregate online. Flexible volumes in the aggregate that is brought online first keep their names. That aggregate can be either the original aggregate, or the aggregate resulting from the split. When the other aggregate is brought online later, flexible volumes in that aggregate will be renamed.
If the plex of an aggregate embedded within a traditional volume is offline at the time of the split, the resulting aggregate will be offline. When splitting a plex from an aggregate that hosts flexible volumes, if that plex is offline, but the aggregate is online, the resulting aggregate will come online, and its flexible volumes will be renamed. It is not allowed to split a plex from an offline aggregate.
A split mirror can be joined back together via the -v option to aggr mirror .
aggr status [ aggrname ]
[ -r | -v | -d | -c | -b | -s | -f | -i ]
Displays the status of one or all aggregates on the filer. If aggrname is used, the status of the specified aggregate is printed; otherwise the status of all aggregates in the filer are printed. By default, it prints a one-line synopsis of the aggregate which includes the aggregate name, whether it contains a single traditional volume or some number of flexible volumes , if it is online or offline, other states (for example, partial , degraded , wafl inconsistent , and so on) and peraggregate options. Per-aggregate options are displayed only if the options have been changed from the system default values by using the aggr options command, or by the vol options command if the aggregate is embedded in a traditional volume. If the wafl inconsistent state is displayed, please contact Customer Support.
The -v flag shows the on/off state of all peraggregate options and displays information about each volume, plex and RAID group contained in the aggregate.
The -r flag displays a list of the RAID information for that aggregate. If no aggrname is specified, it prints RAID information about all aggregates, information about file system disks, spare disks, and failed disks. For more information about failed disks, see the -f switch description below.
The -d flag displays information about the disks in the specified aggregate. The types of disk information are the same as those from the sysconfig -d command.
The -c flag displays the upgrade status of the Block Checksums data integrity protection feature.
The -b is used to get the size of source and destination aggregates for use with aggr copy . The output contains the storage in the aggregate and the possibly smaller size of the aggregate. The aggregate copy command uses these numbers to determine if the source and destination aggregate sizes are compatible. The size of the source aggregate must be equal or smaller than the size of the destination aggregate.
The -s flag displays a listing of the spare disks on the filer.
The -f flag displays a list of the failed disks on the filer. The command output includes the disk failure reason which can be any of following:
The -i flag displays a list of the flexible volumes contained in an aggregate.
unknown Failure reason unknown. failed Data ONTAP failed disk due to a fatal disk error. admin failed User issued a 'disk fail' command for this disk. labeled broken Disk was failed under Data ONTAP 6.1.X or an earlier version. init failed Disk initialization sequence failed. admin removed User issued a 'disk remove' command for this disk. not responding Disk not responding to requests. pulled Disk was physically pulled, or no data path exists on which to access the disk. bypassed Disk was bypassed by ESH.
Undestroy a partially intact or previously destroyed aggregate or traditional volume. The command prints a list of candidate aggregates and traditional volumes matching the given name, which can be potentially undestroyed.
The -n option prints the list of disks contained by the aggregate or by the traditional volume, which can be potentially undestroyed. This option can be used to display the result of command execution, without actually making any changes.
aggr verify resume [ aggrname ]
Resumes RAID mirror verification on the named aggregate; if no aggregate name is given, on all aggregates currently undergoing a RAID mirror verification that has been suspended.
AGGR验证启动 [aggrname] [-F plexnumber]
开始在网上镜像总RAID镜像核查。 如果没有给定的名字,然后开始对所有在线的镜像集合体RAID镜像验证。 验证比较两个plex的镜像聚合数据。 在默认情况下,所有不同的块记录,但不进行任何更改。 如果给出了-f标志,指定的plex是固定的,被发现不匹配时,以配合其他的plex。 -F plexnumber选项必须指定一个名称。
AGGR验证停止 [aggrname]
停止对命名的总RAID镜像核查;如果没有总的名称,目前正在对所有总量RAID镜像核查。
AGGR验证地位 [aggrname]
打印命名总的镜像的RAID核查的状态;目前正在进行RAID镜像验证所有聚集,如果没有总的名称。 状态包括%完成,核查暂停状态。
AGGR验证暂停 [aggrname]
暂停RAID名为聚合镜核查;如果没有总的名称,目前正在进行RAID镜像验证所有聚集。
CLUSTER CONSIDERATIONS
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.
EXAMPLES
aggr create aggr1 -r 10 20Creates an aggregate named aggr1 with 20 disks. The RAID groups in this aggregate can contain up to 10 disks, so this new aggregate has two RAID groups. The filer adds the current spare disks to the new aggregate, starting with the smallest disk.
aggr create aggr1 20@9
Creates an aggregate named aggr1 with 20 9-GB disks. Because no RAID group size is specified, the default size (8 disks) is used. The newly-created aggregate contains two RAID groups with 8 disks and a third group with four disks.
aggr create aggr1 -d 8a.1 8a.2 8a.3
Creates an aggregate named aggr1 with the specified three disks.
aggr create aggr1 10
aggr options aggr1 raidsize 5
第一个命令创建名为aggr1的 10个磁盘属于一个RAID组的聚合。 The second command specifies that if any disks are subsequently added to this aggregate, they will not cause any current RAID group to have more than five disks. Each existing RAID group will continue to have 10 disks and no more disks will be added to that RAID group. When new RAID groups are created, they will have a maximum size of five disks.
aggr show_space -h ag1
Displays the space usage of the aggregate `ag1′ and scales the unit of space according to the size.
Aggregate 'ag1′ Total space WAFL reserve Snap reserve Usable space BSR NVLOG 66GB 6797MB 611MB 59GB 65KB Space allocated to volumes in the aggregate Volume Allocated Used Guarantee vol1 14GB 11GB volume vol2 8861MB 8871MB file vol3 6161MB 6169MB none vol4 26GB 25GB volume vol1_clone 1028MB 1028MB (offline) Aggregate Allocated Used Avail Total space 55GB 51GB 3494MB Snap reserve 611MB 21MB 590MB WAFL reserve 6797MB 5480KB 6792MB
aggr status aggr1 -r
显示关于总aggr1的 RAID信息。 在下面的例子中,我们看到aggr1的是一个RAID-DP粒料块校验保护。 它是在线的,所有的磁盘都正常运作。 总包含四个磁盘,两个数据的磁盘,一个奇偶磁盘,磁盘和一个doubleparity。 0B适配器,适配器1B两个位于两个磁盘。 每个磁盘的磁盘架和托架编号表示。 所有四个磁盘是10,000 RPM光纤通道连接的磁盘通过磁盘通道A中的磁盘的“池”属性显示SyncMirror可只有被许可,这是不是这里的情况(SyncMirror可如果被授权,游泳池将是0或1) 。 最右边的列中显示的磁盘空间的使用量的Data ONTAP(“二手”)和磁盘上的可用(“物理学报”)。
Aggr aggr1 (online, raid_dp) (block checksums) Plex /aggr1/plex0 (online, normal, active) RAID group /aggr1/plex0/rg0 (normal) RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks) ——— —— ————- —- —- —- —– ————– ————– dparity 0b.16 0b 1 0 FC:A – FCAL 10000 136000/278528000 137104/280790184 parity 1b.96 1b 6 0 FC:A – FCAL 10000 136000/278528000 139072/284820800 data 0b.17 0b 1 1 FC:A – FCAL 10000 136000/278528000 139072/284820800 data 1b.97 1b 6 1 FC:A – FCAL 10000 136000/278528000 139072/284820800
SEE ALSO
vol , partner , snapmirror , sysconfig 。Copyright © 1994-2008 NetApp, Inc. Legal Information
based on 2 ratings








































