bl双性强迫侵犯h_国产在线观看人成激情视频_蜜芽188_被诱拐的少孩全彩啪啪漫画

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

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

創(chuàng)新互聯(lián)是一家專業(yè)從事成都做網(wǎng)站、網(wǎng)站設(shè)計(jì)的網(wǎng)絡(luò)公司。作為專業(yè)網(wǎng)站制作公司,創(chuàng)新互聯(lián)依托的技術(shù)實(shí)力、以及多年的網(wǎng)站運(yùn)營(yíng)經(jīng)驗(yàn),為您提供專業(yè)的成都網(wǎng)站建設(shè)、成都全網(wǎng)營(yíng)銷及網(wǎng)站設(shè)計(jì)開發(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、確認(rèn)創(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、確認(rèn)擴(kuò)容結(jié)果
異步同步,所以需要登錄所有節(jié)點(diǎn)檢查
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.

三、 動(dòng)態(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)容對(duì)大家有所幫助,如果還想學(xué)習(xí)更多知識(shí),歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道!

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

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

廣告

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

成都seo排名網(wǎng)站優(yōu)化