浪潮存储新建池、创建卷提示I/O组内存不足、I/O空间位置不足解决方法

19 篇文章 1 订阅
17 篇文章 0 订阅

在这里插入图片描述

增加I/O组内存chiogrp
使用终端工具登录到存储
使用用lsiogrp id查看I/O组信息,例如查看I/O组0可输入lsiogrp 0在这里插入图片描述
此时可以看到
local_copy_total_memory 20.0MB
I/O组内存为20M
更改I/O组内存可以通过chiogrp命令修改
可以通过chiogrp -help查看各个操作需要内存

Inspur_MCS:Cluster_192.168.70.10:superuser>chiogrp -help
chiogrp



Use the chiogrp command to modify the name of an I/O group, or the
amount of memory that is available for RAID arrays, Copy Services,
LocalCopy(r) services, or volume mirroring operations.






Syntax 

>>- chiogrp -- ------------------------------------------------->

>--+------------------------------------------------------------------+-->
   +- -name -- new_name ----------------------------------------------+   
   +- ----------------------------------------------------------------+   
   '- -feature --+- local --+-- -- -size ---- memory_size --+-------+-'   
                 +- remote -+                               '- -kb -'     
                 +- mirror -+                                             
                 '- raid ---'                                             

>--+-------------------------+---------------------------------->
   '- -maintenance --+-----+-'   
                     +-yes-+     
                     '-no--'     

>--+---------------------------------------+--+------------+---->
   '- -fctargetportmode --+-disabled-----+-'  '- -force ---'   
                          +-transitional-+                     
                          '-enabled------'                     

>--+- io_group_id ---+-----------------------------------------><
   '- io_group_name -'   





Parameters

-name new_name
   (Optional) Specifies the name to assign to the I/O group. The -name
   parameter cannot be specified with the -feature, -size, or -kb
   parameters.

-feature local | remote | mirror | raid
   (Optional) Specifies the feature to modify the amount of memory for
   RAID arrays, Copy Services, or volume mirroring. You must specify
   this parameter with the -size parameter. You cannot specify this
   parameter with the -name parameter. 
   *  local specifies the amount of memory that is used for LocalCopy.

   *  remote specifies the amount of memory that is used for remote copy
      processing. Remote copy includes Sync Copy, Async Copy, and
      InMetro.

   *  mirror specifies the amount of memory that is used for volume
      mirroring operations.

   *  raid specifies the amount of memory that is used for RAID arrays.

   Note: Specifying remote changes the amount of memory that is
   available for remote copy processing. Any volume that is in a remote
   copy relationship uses memory in its I/O group, including master and
   auxiliary volumes, and volumes that are in inter-system or
   intra-system relationships.

-size memory_size
   (Optional) Specifies the amount of memory that is available for the
   specified RAID arrays, Copy Services, or volume mirroring function.
   Valid input is 0 or any integer. The default unit of measurement for
   this parameter is megabytes (MB); you can use the kilobytes -kb
   parameter to override the default. You must specify this parameter
   with the -feature parameter. You cannot specify this parameter with
   the -name parameter.

-kb
   (Optional) Changes the units for the -size parameter from megabytes
   (MB) to kilobytes (KB). If you specify this parameter, the -size
   memory_size value must be any number divisible by 4. You must specify
   this parameter with the -feature and -size parameters. You cannot
   specify this parameter with the -name parameter.

-maintenance yes | no
   (Optional) Specifies whether the I/O group must be in maintenance
   mode. The I/O group must be placed in maintenance mode while
   performing service procedures on storage enclosures. After you enter
   maintenance mode, it continues until either: 
   *  It is explicitly cleared

   *  Thirty minutes elapse

   Note: Changing the maintenance mode on any I/O group changes the
   maintenance mode on all I/O groups.

-fctargetportmode disabled | transitional | enabled
   (Optional) Specifies the Fibre Channel (FC) host port mode of the I/O
   group. The values are disabled, transitional, or enabled.

-force
   (Optional) Specifies that an FC host port be disabled or enabled,
   even if disruption to host I/O might occur as a result. You can only
   specify -force with -fctargetportmode.

   Important: Specifying -force might result in a loss of access. Use it
   only under the direction of the your product support information.

io_group_id | io_group_name
   (Required) Specifies the I/O group to modify. You can modify an I/O
   group by using the -name or the -feature parameter.



Description

The chiogrp command modifies the name of an I/O group or the amount of
memory that is available for RAID arrays, Copy Services, or volume
mirroring.

Use the -feature and -size parameters (together) to change the amount of
memory available in the I/O group to one of the following types: 
*  LocalCopy

*  Volume mirroring

*  RAID

*  Remote copy, including Sync Copy, Async Copy, and InMetro.

For example: 

chiogrp -feature local -size 40 0

You can assign a name to an I/O group or change the name of a specified
I/O group. You can change the amount of memory that is available for
RAID arrays, Copy Services, or volume mirroring operations by specifying
the -feature local | remote | mirror parameter - and a memory size. For
volume mirroring and Copy Services (Local Copy(r), Sync Copy, Async Copy,
and InMetro), memory is traded against memory that is
available to the cache. 

The amount of memory can be decreased or increased. Consider the
following memory sizes when you use this command: 
*  The default amount of memory for LocalCopy is 20 MB.

*  The default amount of memory for remote copy (which includes Sync Copy,
   Async Copy, and InMetro) is 20 MB.

*  The default memory size for mirrored volumes is 20 MB.

*  The default memory size for RAID arrays is 40 MB.

*  The maximum amount of memory that can be specified for LocalCopy is
   512 MB. For 64-bit systems, the maximum is 2048 MB.

*  The maximum amount of memory for remote copy (which includes Sync Copy,
   Async Copy, and InMetro) is 1024 MB.

*  The maximum memory size that can be specified for mirrored volumes is
   1024 MB.

*  The maximum memory size for RAID arrays is 1024 MB.

The maximum combined amount of memory across all features is 1064 MB.

Some systems running 64-bit mode might have 2 GB of bitmap space to use for LocalCopy,
which is enough for 4 PB of data space to be used per I/O grou
Sync Copy, Async Copy, Volume Mirroring, and RAID share 1064 MB of
bitmap space; in 8GB platform, Sync Copy, Async Copy, Volume Mirroring,
and RAID share 552 MB of bitmap space.

Table 5 demonstrates the amount of memory that is required for RAID
arrays, Copy Services, and volume mirroring. Each 1 MB of memory
provides the following volume capacities and grain sizes: 

Table 5. Memory required for RAID arrays, Copy Services, and volume 
mirroring
+-----------------------+----------------------+----------------------+
|  Feature              | Grain size           | 1 MB of memory       |
|                       |                      | provides the         |
|                       |                      | following volume     |
|                       |                      | capacity for the     |
|                       |                      | specified I/O group  |
+-----------------------+----------------------+----------------------+
| Sync Copy and         | 256 KB               | 2 TB of total Sync   |
| Async Copy            |                      | Copy and Async       |
|                       |                      | Copy volume          |
|                       |                      | capacity             |
+-----------------------+----------------------+----------------------+
| InMetro               | 256 KB               | 2 TB of total        |
|                       |                      | inmetro volume       |
|                       |                      | capacity             |
|                       |                      | Note: For 2 TB of    |
|                       |                      | InMetro volume       |
|                       |                      | capacity, 1 MB must  |
|                       |                      | be assigned in each  |
|                       |                      | caching I/O group.   |
+-----------------------+----------------------+----------------------+
| LocalCopy             | 256 KB               | 2 TB of total        |
|                       |                      | LocalCopy source     |
|                       |                      | volume capacity      |
+-----------------------+----------------------+----------------------+
| LocalCopy             | 64 KB                | 512 GB of total      |
|                       |                      | LocalCopy source     |
|                       |                      | volume capacity      |
+-----------------------+----------------------+----------------------+
| Incremental LocalCopy | 256 KB               | 1 TB of total        |
|                       |                      | Incremental          |
|                       |                      | LocalCopysource      |
|                       |                      | volume capacity      |
+-----------------------+----------------------+----------------------+
| Incremental LocalCopy | 64 KB                | 256 GB of total      |
|                       |                      | Incremental          |
|                       |                      | LocalCopy source     |
|                       |                      | volume capacity      |
+-----------------------+----------------------+----------------------+
| Volume mirroring      | 256 KB               | 2 TB of mirrored     |
|                       |                      | volumes              |
+-----------------------+----------------------+----------------------+

Table 6 provides an example of RAID level comparisons with their bitmap
memory cost, where MS is the size of the member drives and MC is the
number of member drives. 

Table 6. RAID level comparisons
+-------------+----------+--------------+---------+-------------------+
| Level       | Member   | Approximate  | Redunda | Approximate       |
|             | count    | capacity     | ncy     | bitmap memory     |
|             |          |              |         | cost              |
+-------------+----------+--------------+---------+-------------------+
| RAID-0      | 1-8      | MC * MS      | None    | (1 MB per 2 TB of |
|             |          |              |         | MS) * MC          |
+-------------+----------+--------------+---------+-------------------+
| RAID-1      | 2        | MS           | 1       | (1 MB per 2 TB of |
|             |          |              |         | MS) * (MC/2)      |
+-------------+----------+--------------+---------+-------------------+
| RAID-5      | 3-16     | (MC-1) * MS  | 1       | 1 MB per 2 TB of  |
|             |          |              |         | MS with a strip   |
|             |          |              |         | size of 256 KB;   |
|             |          |              |         | double with strip |
|             |          |              |         | size of 128 KB.   |
+-------------+----------+--------------+---------+-------------------+
| RAID-6      | 5-16     | less than    | 2       |                   |
|             |          | (MC-2 * MS)  |         |                   |
+-------------+----------+--------------+---------+-------------------+
| RAID-10     | 2-16     | MC/2 * MS    | 1       | (1 MB per 2 TB of |
|             | (evens)  |              |         | MS) * (MC/2)      |
+---------------------------------------------------------------------+
| Note: There is a margin of error on the approximate bitmap memory   |
| cost of approximately 15%. For example, the cost for a 256 KB strip |
| size for RAID-5 is ~1.15 MB for the first 2 TB of MS.               |
+---------------------------------------------------------------------+

For multiple Local Copy(r) targets, you must consider the number of
mappings. For example, for a mapping with a 256 KB grain size, 8 KB of
memory allows one mapping between a 16 GB source volume and a 16 GB
target volume. Alternatively, for a mapping with a 256 KB grain size, 8
KB of memory allows two mappings between one 8 GB source volume and two
8 GB target volumes.

Afte you create a Local Copy(r) mapping, if you specify an I/O group other
than the I/O group of the source volume, the memory accounting goes
towards the specified I/O group, not towards the I/O group of the source
volume.



An invocation example to create a new I/O group testiogrpone
chiogrp -name testiogrpone io_grp0

The resulting output:

No feedback



An invocation example for changing the amount of Local Copy(r) memory in
io_grp0 to 30 MB
chiogrp -feature local -size 30 io_grp0

The resulting output:

No feedback



An invocation example for changing the amount of RAID memory in I/O
group 0 to 512 MB
chiogrp -feature raid -size 512 0

The resulting output:

No feedback

我这做了分布式Raid6容量110T,按上面1M/B 每2TB,仅这一项至少得60MB的内存

在这里插入图片描述

增加I/O组0和1的内存

chiogrp -feature local -size 120 0
chiogrp -feature local -size 120 1

尝试创卷或池
在这里插入图片描述
已经操作成功

再次lsiogrp 0 lsiogrp 1查看
在这里插入图片描述
2个I/O组还剩余19.5M,也就是说Local_copy至少100MB才够,
其他的remote\mirror内存可以参靠Help里面的提示操作。

在这里插入图片描述
我把remote和mirroring内存都做了增加,留一点余量,后续操作也方便

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值