处理GPFS磁盘错误

本文记录了在IBM Spectrum Scale 4.2.3环境下,针对Centos 7.3系统的FPO集群中出现的文件系统复制不当问题的解决过程。通过暂停磁盘、检查状态并重新条带化文件系统,最终恢复了系统的正常运行。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

IBM spectrum scale Protocols Advanced 4.2.3 ,Centos 7.3,FPO cluster

 

[root@gpfsfpo2 /]# mmlsdisk fpofs0
disk         driver   sector     failure holds    holds                            storage
name         type       size       group metadata data  status        availability pool
------------ -------- ------ ----------- -------- ----- ------------- ------------ ------------
fpo_linux1_NSD_Meta_1 nsd         512         101 Yes      No    emptied       up           system      
fpo_linux1_NSD_Data_1 nsd         512         101 No       Yes   emptied       up           datapool    
fpo_linux1_NSD_Data_2 nsd         512         101 No       Yes   emptied       up           datapool    
fpo_linux2_NSD_Meta_1 nsd         512         201 Yes      No    ready         up           system      
fpo_linux2_NSD_Data_1 nsd         512         201 No       Yes   ready         up           datapool    
fpo_linux2_NSD_Data_2 nsd         512         201 No       Yes   ready         up           datapool    
Attention: Due to an earlier configuration change the file system
is no longer properly replicated.

 

 

[root@gpfsfpo2 /]# mmchdisk fpofs0 resume -a
[root@gpfsfpo2 /]# mmlsdisk fpofs0
disk         driver   sector     failure holds    holds                            storage
name         type       size       group metadata data  status        availability pool
------------ -------- ------ ----------- -------- ----- ------------- ------------ ------------
fpo_linux1_NSD_Meta_1 nsd         512         101 Yes      No    ready         up           system      
fpo_linux1_NSD_Data_1 nsd         512         101 No       Yes   ready         up           datapool    
fpo_linux1_NSD_Data_2 nsd         512         101 No       Yes   ready         up           datapool    
fpo_linux2_NSD_Meta_1 nsd         512         201 Yes      No    ready         up           system      
fpo_linux2_NSD_Data_1 nsd         512         201 No       Yes   ready         up           datapool    
fpo_linux2_NSD_Data_2 nsd         512         201 No       Yes   ready         up           datapool    
Attention: Due to an earlier configuration change the file system
is no longer properly replicated.


[root@gpfsfpo2 /]# mmrestripefs fpofs0 -r
Scanning file system metadata, phase 1 ...
  52 % complete on Mon Aug 14 23:13:03 2017
  92 % complete on Mon Aug 14 23:13:06 2017
 100 % complete on Mon Aug 14 23:13:06 2017
Scan completed successfully.
Scanning file system metadata, phase 2 ...
Scanning file system metadata for datapool storage pool
  17 % complete on Mon Aug 14 23:13:11 2017
  37 % complete on Mon Aug 14 23:13:14 2017
  55 % complete on Mon Aug 14 23:13:18 2017
  78 % complete on Mon Aug 14 23:13:22 2017
  97 % complete on Mon Aug 14 23:13:26 2017
 100 % complete on Mon Aug 14 23:13:26 2017
Scan completed successfully.
Scanning file system metadata, phase 3 ...
Scan completed successfully.
Scanning file system metadata, phase 4 ...
Scan completed successfully.
Scanning user file metadata ...
 100.00 % complete on Mon Aug 14 23:13:38 2017  (    500096 inodes with total      10766 MB data processed)
Scan completed successfully.


[root@gpfsfpo2 /]# mmlsdisk fpofs0
disk         driver   sector     failure holds    holds                            storage
name         type       size       group metadata data  status        availability pool
------------ -------- ------ ----------- -------- ----- ------------- ------------ ------------
fpo_linux1_NSD_Meta_1 nsd         512         101 Yes      No    ready         up           system      
fpo_linux1_NSD_Data_1 nsd         512         101 No       Yes   ready         up           datapool    
fpo_linux1_NSD_Data_2 nsd         512         101 No       Yes   ready         up           datapool    
fpo_linux2_NSD_Meta_1 nsd         512         201 Yes      No    ready         up           system      
fpo_linux2_NSD_Data_1 nsd         512         201 No       Yes   ready         up           datapool    
fpo_linux2_NSD_Data_2 nsd         512         201 No       Yes   ready         up           datapool

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值