欧美一级特黄大片做受成人-亚洲成人一区二区电影-激情熟女一区二区三区-日韩专区欧美专区国产专区

GPFS如何在線添加和刪除磁盤

這篇文章主要為大家展示了“GPFS如何在線添加和刪除磁盤”,內(nèi)容簡而易懂,條理清晰,希望能夠幫助大家解決疑惑,下面讓小編帶領(lǐng)大家一起研究并學(xué)習(xí)一下“GPFS如何在線添加和刪除磁盤”這篇文章吧。

創(chuàng)新互聯(lián)是一家專業(yè)從事成都做網(wǎng)站、網(wǎng)站設(shè)計的網(wǎng)絡(luò)公司。作為專業(yè)網(wǎng)站制作公司,創(chuàng)新互聯(lián)依托的技術(shù)實力、以及多年的網(wǎng)站運營經(jīng)驗,為您提供專業(yè)的成都網(wǎng)站建設(shè)、成都全網(wǎng)營銷及網(wǎng)站設(shè)計開發(fā)服務(wù)!

一、在線加盤
1、查看當(dāng)前NSD磁盤
dbfc:/tmp # mmlsnsd -m


 Disk name    NSD volume ID      Device         Node name                Remarks       
---------------------------------------------------------------------------------------
 gpfs1nsd     0AC8016258A2CCC4   /dev/sdc       dbfc.example.com         
 gpfs2nsd     0AC8016258A2CCF2   /dev/sdd       dbfc.example.com         
 gpfs3nsd     0AC8016258A2CD1B   /dev/sde       dbfc.example.com         
 gpfs4nsd     0AC8016258A3AF5D   /dev/sdf       dbfc.example.com         


dbfc:/tmp # mmlsnsd


 File system   Disk name    NSD servers                                    
---------------------------------------------------------------------------
 db2arch       gpfs4nsd     (directly attached)      
 db2data       gpfs2nsd     (directly attached)      
 db2inst       gpfs1nsd     (directly attached)      
 db2log        gpfs3nsd     (directly attached)      


2、編輯NSD配置文件
vi /tmp/nsdprofile
sdg:::dataAndMetadata::


3、創(chuàng)建NSD盤
dbfc:/tmp # mmcrnsd -F /tmp/nsdprofile
mmcrnsd: Processing disk sdg
mmcrnsd: Propagating the cluster configuration data to all
  affected nodes.  This is an asynchronous process.


4、確認創(chuàng)建情況
dbfc:/tmp # mmlsnsd


 File system   Disk name    NSD servers                                    
---------------------------------------------------------------------------
 db2arch       gpfs4nsd     (directly attached)      
 db2data       gpfs2nsd     (directly attached)      
 db2inst       gpfs1nsd     (directly attached)      
 db2log        gpfs3nsd     (directly attached)      
 (free disk)   gpfs5nsd     (directly attached)      


dbfc:/tmp # mmlsnsd -m


 Disk name    NSD volume ID      Device         Node name                Remarks       
---------------------------------------------------------------------------------------
 gpfs1nsd     0AC8016258A2CCC4   /dev/sdc       dbfc.example.com         
 gpfs2nsd     0AC8016258A2CCF2   /dev/sdd       dbfc.example.com         
 gpfs3nsd     0AC8016258A2CD1B   /dev/sde       dbfc.example.com         
 gpfs4nsd     0AC8016258A3AF5D   /dev/sdf       dbfc.example.com    


dbfc:/tmp # mmlsdisk db2data
disk         driver   sector     failure holds    holds                            storage
name         type       size       group metadata data  status        availability pool
------------ -------- ------ ----------- -------- ----- ------------- ------------ ------------
gpfs2nsd     nsd         512          -1 yes      yes   ready         up           system    
gpfs5nsd     nsd         512          -1 yes      yes   ready         up           system    


5、將新建的NSD盤添加到GPFS集群
dbfc:/tmp # cat /tmp/nsdprofile
# sdg:::dataAndMetadata::
gpfs5nsd:::dataAndMetadata:-1::system


dbfc:/tmp # mmadddisk db2data -F /tmp/nsdprofile


The following disks of db2data will be formatted on node dbfc:
    gpfs5nsd: size 10240 MB
Extending Allocation Map
Checking Allocation Map for storage pool system
Completed adding disks to file system db2data.
mmadddisk: Propagating the cluster configuration data to all
  affected nodes.  This is an asynchronous process.
  
6、確認擴容結(jié)果
異步同步,所以需要登錄所有節(jié)點檢查
df -h
dbnode02:~ # mmlsnsd


 File system   Disk name    NSD servers                                    
---------------------------------------------------------------------------
 db2arch       gpfs4nsd     (directly attached)      
 db2data       gpfs2nsd     (directly attached)      
 db2data       gpfs5nsd     (directly attached)      
 db2inst       gpfs1nsd     (directly attached)      
 db2log        gpfs3nsd     (directly attached)   


二、 rebalance文件系統(tǒng)
dbfc:/tmp # mmrestripefs db2data -b
Scanning file system metadata, phase 1 ... 
Scan completed successfully.
Scanning file system metadata, phase 2 ... 
Scan completed successfully.
Scanning file system metadata, phase 3 ... 
Scan completed successfully.
Scanning file system metadata, phase 4 ... 
Scan completed successfully.
Scanning user file metadata ...
 100.00 % complete on Thu Apr 13 16:44:28 2017  (    133376 inodes with total       1969 MB data processed)
Scan completed successfully.

三、 動態(tài)減盤
dbfc:/tmp # mmrestripefs db2data -b
Scanning file system metadata, phase 1 ... 
Scan completed successfully.
Scanning file system metadata, phase 2 ... 
Scan completed successfully.
Scanning file system metadata, phase 3 ... 
Scan completed successfully.
Scanning file system metadata, phase 4 ... 
Scan completed successfully.
Scanning user file metadata ...
 100.00 % complete on Thu Apr 13 16:44:28 2017  (    133376 inodes with total       1969 MB data processed)
Scan completed successfully.
dbfc:/tmp # mmlsnsd


 File system   Disk name    NSD servers                                    
---------------------------------------------------------------------------
 db2arch       gpfs4nsd     (directly attached)      
 db2data       gpfs2nsd     (directly attached)      
 db2data       gpfs5nsd     (directly attached)      
 db2inst       gpfs1nsd     (directly attached)      
 db2log        gpfs3nsd     (directly attached)      


dbfc:/tmp # mmdeldisk db2data gpfs2nsd
Deleting disks ...
Scanning file system metadata, phase 1 ... 
  73 % complete on Thu Apr 13 16:51:18 2017
 100 % complete on Thu Apr 13 16:51:19 2017
Scan completed successfully.
Scanning file system metadata, phase 2 ... 
Scan completed successfully.
Scanning file system metadata, phase 3 ... 
Scan completed successfully.
Scanning file system metadata, phase 4 ... 
Scan completed successfully.
Scanning user file metadata ...
 100.00 % complete on Thu Apr 13 16:51:28 2017  (    133376 inodes with total       1969 MB data processed)
Scan completed successfully.
Checking Allocation Map for storage pool system
Attention: A disk being removed reduces the number of failure groups to 1,
           which is below the number required for replication: 2.
           New blocks will be allocated from the remaining disks,
           but files will be unreplicated and hence at risk.
tsdeldisk completed.
mmdeldisk: Propagating the cluster configuration data to all
  affected nodes.  This is an asynchronous process.

以上是“GPFS如何在線添加和刪除磁盤”這篇文章的所有內(nèi)容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內(nèi)容對大家有所幫助,如果還想學(xué)習(xí)更多知識,歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道!

當(dāng)前題目:GPFS如何在線添加和刪除磁盤
本文鏈接:http://aaarwkj.com/article38/gjdepp.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供企業(yè)網(wǎng)站制作、、搜索引擎優(yōu)化、App設(shè)計、動態(tài)網(wǎng)站、網(wǎng)站內(nèi)鏈

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都seo排名網(wǎng)站優(yōu)化
亚洲国产区男人的天堂| 国产成人大片一区二区三区| 日本韩国三级理伦久久久| 日韩黄色成人在线观看| 亚洲国产精品一区二区三区| 自拍偷拍亚洲精品第一页| 成人一区二区三区观看| 国产精品久久久天美传媒| 朋友的尤物人妻中文字幕| 小黄片视频免费在线播放| 欧美系列诱惑性国产精品| 亚洲av污精品一区二区三区| 日日夜夜久久一二三区| 国产国产成人精品久久蜜| 国产在线不卡中文字幕| 亚洲国产成人一区二区精品区| 日本不卡二区高清三区| 国产亚洲欧美精品在线观看| 久草亚洲一区二区三区av| 国产三级av高清一区二区| 尤物视频官网在线观看| 午夜福利成人在线免费观看| 亚洲精品一区二区av| 亚洲大乳大丰满中文字幕| 亚洲久久精品中文字幕| 在线免费观看国产不卡| 日韩一级毛一片欧美一级| 午夜视频在线观看区一| 日韩一级免费高清黄片| 国产黄a三级三级三级老师绑| 日韩欧美亚洲综合另类| 最新日本免费久久精品| 在线视频一区二区三区精品观看| 欧美成人一区二区三区八| 18岁以下禁止观看的视频| 亚洲欧美日韩另类精品一区二区三区 | 在线播放精品免费不卡| 国产精品精品国产色婷婷| 亚洲新大香蕉视频在线播放| 精品国产视频一区二区三区| 日日摸夜夜添添出白浆|