互联网服务数据库GPFS

db2purescale异常卸载导致GPFS文件系统无法删除

数据库运行时,使用root用户直接删除数据目录和实例目录下所有文件,导致数据目录和实例目录的GPFS文件系统无法删除。

这种情况下,如何强制删除GPFS文件系统?

参与3

1同行回答

icycastleicycastle课题专家组数据库管理员某证券公司
###GPFS文件系统删除###1. Unmount all GPFS file systems on all nodes by issuing the mmumount all -a command.mmlsfs allmmumount all -a2. Issue the mmdelfs command for each file system in the cluster to remove GPFS file systems.mmlsfs allmmdelfs /dev/gp...显示全部

###GPFS文件系统删除###

1. Unmount all GPFS file systems on all nodes by issuing the mmumount all -a command.

mmlsfs all

mmumount all -a

2. Issue the mmdelfs command for each file system in the cluster to remove GPFS file systems.

mmlsfs all

mmdelfs /dev/gpfs1nsd

3. Issue the mmdelnsd command for each NSD in the cluster to remove the NSD volume ID written on

sector 2.

If the NSD volume ID is not removed and the disk is again used with GPFS at a later time, you will

receive an error message when issuing the mmcrnsd command. See NSD creation fails with a message

referring to an existing NSD in the GPFS: Problem Determination Guide.

mmlsnsd

mmdelnsd gpfs1nsd

4. Issue the mmshutdown -a command to shutdown GPFS on all nodes.

mmshutdown -a

5. 删除集群

mmlscluster

db2cluster -cfs -delete -domain gpfsdomain.psfc

收起
证券 · 2017-03-15
浏览2056

提问者

武陵l渔人
数据库管理员北京北京

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2017-01-06
  • 关注会员:2 人
  • 问题浏览:2635
  • 最近回答:2017-03-15
  • X社区推广