GPFS添加物理磁盘的过程

页面导航:首页 > 操作系统 > LINUX > GPFS添加物理磁盘的过程

GPFS添加物理磁盘的过程

来源: 作者: 时间:2016-08-18 10:30 【

GPFS添加物理磁盘的过程1,创建临时文件[[email protected] ~]# vi /tmp/nsdprofile2emcpoweri:::dataAndMetadata::emcpowerj:::dataAndMetadata::emcpowerk:::dataAndMetadata::emcpowerl:::dataAndMetadata::emc...
GPFS添加物理磁盘的过程
 
1,创建临时文件
[[email protected] ~]# vi /tmp/nsdprofile2
 
emcpoweri:::dataAndMetadata::
emcpowerj:::dataAndMetadata::
emcpowerk:::dataAndMetadata::
emcpowerl:::dataAndMetadata::
emcpowerm:::dataAndMetadata::
 
2,生成nsd磁盘
mmcrnsd -F /tmp/nsdprofile2
 
[[email protected] ~]# 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盘
[[email protected] ~]# 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是上面步骤查到的文件系统名
[[email protected] ~]# 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.
Tags:

文章评论

最 近 更 新
热 点 排 行
Js与CSS工具
代码转换工具

<