Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Extend lvm volume group under centos7.5 xfs file system

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

I got a centos7.5 to install 12.2rac, and there is not enough space to install database software, so I plan to expand lvm.

Operating system version:

[root@mdb1] # lsb_release-a

LSB Version:: core-4.1-amd64:core-4.1-noarch

Distributor ID: CentOS

Description: CentOS Linux release 7.5.1804 (Core)

Release: 7.5.1804

Codename: Core

Sdb disk initialization to physical volume

[root@mdb1 ~] # pvcreate / dev/sdb

Physical volume "/ dev/sdb" successfully created.

Add the physical volume to be added to the vg volume group

[root@mdb1 ~] # vgs

VG # PV # LV # SN Attr VSize VFree

Centos 1 1 0 wz--n- 21.53g 0

[root@mdb1 ~] # vgextend centos / dev/sdb

Volume group "centos" successfully extended

[root@mdb1 ~] # vgs

VG # PV # LV # SN Attr VSize VFree

Centos 2 1 0 wz--n-

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report