对已经添加的名为gpfs的文件系统删除节点,通过ls /dev/gpfs可以查看到文件系统的设备名
1、查看nsd
[[email protected] ~]# mmlsnsd File system Disk name NSD servers --------------------------------------------------------------------------- gpfs metansd00 g0 gpfs metansd01 g1 gpfs metansd02 g2 gpfs datansd00 g3 gpfs datansd01 g4 gpfs datansd02 g5
2、从文件系统中删除nsd
# /usr/lpp/mmfs/bin/mmdeldisk <File_System_Name> <Network Shared Disk Name(s) -N <Node(s)> mmdeldisk gpfs datansd00 -N g3
3、删除nsd
查看nsd
[[email protected] ~]# mmlsnsd File system Disk name NSD servers --------------------------------------------------------------------------- gpfs metansd00 g0 gpfs metansd01 g1 gpfs metansd02 g2 gpfs datansd01 g4 gpfs datansd02 g5 (free disk) datansd00 g3
删除nsd
mmdelnsd datansd00
4、删除节点
mmshutdown -N g3 mmdelnode -N g3
时间: 2024-10-05 05:07:36