政府机关GPFS

gpfs文件系统配置复制策略出错

[db1:root:/home/shdnt] mmlsdisk gpfs01disk         driver   sector failure holds    holds                          ...显示全部
[db1:root:/home/shdnt] mmlsdisk gpfs01
disk         driver   sector failure holds    holds                            storage
name         type       size   group metadata data  status        availability pool
------------ -------- ------ ------- -------- ----- ------------- ------------ ------------
gpfs2nsd     nsd         512       4 yes      yes   ready         up           system      
gpfs3nsd     nsd         512       4 yes      yes   ready         up           system      
gpfs4nsd     nsd         512       4 yes      yes   ready         up           system      
gpfs5nsd     nsd         512       4 yes      yes   ready         up           system      
GPFS: 6027-740 Attention: Due to an earlier configuration change the file system
is no longer properly replicated.

[db1:root:/] mmlsfs gpfs01
flag                value                    description
------------------- ------------------------ -----------------------------------
-f                 8192                     Minimum fragment size in bytes
-i                 512                      Inode size in bytes
-I                 16384                    Indirect block size in bytes
-m                 2                        Default number of metadata replicas
-M                 2                        Maximum number of metadata replicas
-r                 2                        Default number of data replicas
-R                 2                        Maximum number of data replicas
-j                 cluster                  Block allocation type
-D                 nfs4                     File locking semantics in effect
-k                 all                      ACL semantics in effect
-n                 32                       Estimated number of nodes that will mount file system
-B                 262144                   Block size
-Q                 none                     Quotas enforced
                    none                     Default quotas enabled
--filesetdf        no                       Fileset df enabled?
-V                 12.10 (3.4.0.7)          File system version
--create-time      Mon Jul 22 11:59:05 2013 File system creation time
-u                 yes                      Support for large LUNs?
-z                 no                       Is DMAPI enabled?
-L                 4194304                  Logfile size
-E                 yes                      Exact mtime mount option
-S                 no                       Suppress atime mount option
-K                 whenpossible             Strict replica allocation option
--fastea           yes                      Fast external attributes enabled?
--inode-limit      70144                    Maximum number of inodes
-P                 system                   Disk storage pools in file system
-d                 gpfs2nsd;gpfs3nsd;gpfs4nsd;gpfs5nsd  Disks in file system
-A                 yes                      Automatic mount option
-o                 none                     Additional mount options
-T                 /gpfs/gpfs01             Default mount point
--mount-priority   0                        Mount priority


重新分布gpfs文件系统,提示空间不足,gpfs01已经有4块盘而且failuregroup为4是大于复制策略2份的,就不懂是什么地方配置出错了


[db1:root:/home/shdnt] mmrestripefs gpfs01 -r      
GPFS: 6027-589 Scanning file system metadata, phase 1 ...
GPFS: 6027-552 Scan completed successfully.
GPFS: 6027-589 Scanning file system metadata, phase 2 ...
GPFS: 6027-552 Scan completed successfully.
GPFS: 6027-589 Scanning file system metadata, phase 3 ...
GPFS: 6027-552 Scan completed successfully.
GPFS: 6027-589 Scanning file system metadata, phase 4 ...
GPFS: 6027-552 Scan completed successfully.
GPFS: 6027-565 Scanning user file metadata ...
  95.81 % complete on Mon Jul 22 12:47:01 2013  (     70144 inodes        183 MB)
100.00 % complete on Mon Jul 22 12:47:02 2013
GPFS: 6027-578 Attention: 6 out of 40 user or system files are not properly replicated:
GPFS: 6027-555 The desired replication factor exceeds the number of available failure groups.
There is not enough space in the file system.


另外我理解的话如果是配置了复制策略,比如复制1份文件拷贝,那么总文件系统大小为4G配置复制策略后空间大小为2G吧,我是用mirror方式来思考的收起
参与3

查看其它 1 个回答yanxi的回答

yanxiyanxi软件开发工程师yanxi
我理解的faiuregroup只是一个标识符并不代表里面有几块磁盘,如果要复制2分的话就需要文件系统中有2个不同的faiuregroup
政府机关 · 2013-07-23
浏览1842

回答者

yanxi
软件开发工程师yanxi
擅长领域: 服务器云计算Unix

yanxi 最近回答过的问题

回答状态

  • 发布时间:2013-07-23
  • 关注会员:1 人
  • 回答浏览:1842
  • X社区推广