GPFS添加物理磁盘的过程 -电脑资料
1,创建临时文件
[root@sdcmpdb1 ~]# vi /tmp/nsdprofile2
emcpoweri:::dataAndMetadata::
emcpowerj:::dataAndMetadata::
emcpowerk:::dataAndMetadata::
emcpowerl:::dataAndMetadata::
emcpowerm:::dataAndMetadata::
2,生成nsd磁盘
mmcrnsd -F /tmp/nsdprofile2
[root@sdcmpdb1 ~]# mmcrnsd -F /tmp/nsdprofile2
mmcrnsd: Processing disk emcpoweri
mmcrnsd: Processing disk emcpowerj
mmcrnsd: Processing disk emcpowerk
mmcrnsd: Processing disk emcpowerl
mmcrnsd: Pro
cessing disk emcpowermmmcrnsd: Propagating the cluster configuration data to all
affected nodes.This is an asynchronous process.
3,查看目前的nsd盘
[root@sdcmpdb1 ~]# mmlsnsd
File systemDisk nameNSD servers
---------------------------------------------------------------------------
gpfs_lvgpfs1nsd(directly attached)
gpfs_lvgpfs2nsd(directly attached)
gpfs_lvgpfs3nsd(directly attached)
(free disk)gpfs4nsd(directly attached)
(free disk)gpfs5nsd(directly attached)
(free disk)gpfs6nsd(directly attached)
(free disk)gpfs7nsd(directly attached)
(free disk)gpfs8nsd(directly attached)
4,添加nsd到gpfs文件系统中,注意对应的gpfs_lv是上面步骤查到的文件系统名
[root@sdcmpdb1 ~]# mmadddisk gpfs_lv -F /tmp/nsdprofile2
The following disks of gpfs_lv will be formatted on node sdcmpdb1: