GPFS添加物理磁盘的过程


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: Processing disk emcpowerm
mmcrnsd: Propagating the cluster configuration data to all
  affected nodes.  This is an asynchronous process.
  
3,查看目前的nsd盘
[root@sdcmpdb1 ~]# mmlsnsd
 
 File system   Disk name    NSD servers                                    
---------------------------------------------------------------------------
 gpfs_lv       gpfs1nsd     (directly attached)      
 gpfs_lv       gpfs2nsd     (directly attached)      
 gpfs_lv       gpfs3nsd     (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:
    gpfs4nsd: size 146801280 KB
    gpfs5nsd: size 146801280 KB
    gpfs6nsd: size 146801280 KB
    gpfs7nsd: size 146801280 KB
    gpfs8nsd: size 146801280 KB
Extending Allocation Map
Checking Allocation Map for storage pool system
Completed adding disks to file system gpfs_lv.
mmadddisk: Propagating the cluster configuration data to all
  affected nodes.  This is an asynchronous process.

相关内容

    暂无相关文章