導航:首頁 > 文件類型 > 擴展linux文件系統方法

擴展linux文件系統方法

發布時間:2025-08-13 05:12:25

① multipath多路徑,linux系統底層存儲擴容了,如何擴大文件系統

linux伺服器通過multipath多路徑連接到共享存儲,那麼當文件系統空間不足的時候,有幾種方式可以擴展文件系統的大小:

1、pv不變,原lun存儲擴大容量,擴大lv,擴大文件系統

2、新增pv,加入到vg中,擴大lv,擴大文件系統

下文是針對場景1的情況下如何操作(但是個人建議採取新建pv的方式2進行):

Environment

If you have this specific scenario, you can use the following steps:

Note: if these lv's are part of a clustered vg, steps 1 and 2 need to be performed on all nodes. 注意:集群模式下步驟1和步驟2兩個節點都需要執行。

1) Update block devices

Note: This step needs to be run against any sd devices mapping to that lun. When using multipath, there will be more than one. 通過multipath -ll命令查看每個聚合卷對應的路徑。

2) Update multipath device

例子:

3) Resize the physical volume, which will also resize the volume group

4) Resize your logical volume (the below command takes all available space in the vg)

5) Resize your filesystem

6) Verify vg, lv and filesystem extension has worked appropriately

模擬存儲端擴容testlv增加

查看客戶端多路徑情況

客戶端更新存儲

更新聚合設備

更新pv空間

更新lv空間

更新文件系統空間

閱讀全文

與擴展linux文件系統方法相關的資料

熱點內容
聯想windows7如何重新連接網路 瀏覽:716
蘭州找租房哪個app最靠譜 瀏覽:641
PP助手怎麼樣可以下載蘋果軟體嘛 瀏覽:172
macxip文件 瀏覽:190
手機是大眾化的通訊工具 瀏覽:95
linux查看mysql密碼 瀏覽:456
win10卡的文件看不到 瀏覽:375
什麼數據能反映中等水平 瀏覽:704
胎兒b超數據長和寬是哪個 瀏覽:522
女裝批發哪個網站好 瀏覽:345
金士頓有系統遷移工具 瀏覽:86
方維購物分享系統二次開發教程 瀏覽:83
方舟生存進化最新代碼 瀏覽:966
學而思網校編程怎麼下載 瀏覽:699
民法典涉信息網路貸款有哪些 瀏覽:391
投標文件中的增值稅抵扣憑證有哪些 瀏覽:403
三星g1600有沒有升級 瀏覽:82
怎麼搜索文件名帶括弧 瀏覽:739
眾包app怎麼下載 瀏覽:854
文件夾受控訪問軟體 瀏覽:756

友情鏈接