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

AIX file system expansion

2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

I. objectives

The utilization rate of BAK space and log space of C server has exceeded 80%. It is planned to apply for expansion of file system.

1. Apply for / sybase expansion

2. Apply for / tran expansion

The overall idea of the plan is:

1. / sybase file system is expanded using local disk space

2. / tran file system is expanded using magnetic array space.

Above all take the online operation, do not need to stop, do not need to stop the application.

Please make a backup of the data before implementing the operation.

III. Implementation steps

1. / sybase file system is expanded to add 15 GB of space

A. Check that the remaining space in the winding group rootvg of the machine meets more than 15g of space.

# lsvg rootvg

B. Confirm that the remaining space is satisfied, and expand the / sybase file system.

# chfs-a size=+15G / sybase

C. Check whether the expansion is successful (before the expansion, the space of the original file system is 5G)

# df-g / sybase

2. / tran file system is expanded to add 260G space

A. Recycling machine saek1 rolls up the group bak space.

# lsvg-p bak-View and record the physical volume hdiskX in the volume group

(hdisk25, hdisk27, hdisk30)

# fget_config-Av-View and record the physical volume hdiskX in the previous instruction

LUN number and Logical Drive number of:

Disk DAC LUN Logical Drive

Hdisk25 dac0 4 15

Hdisk27 dac1 6 17

Hdisk30 dac1 9 31

# umount / bak

# varyoffvg bak

# exportvg bak

B. On the magnetic array DS4700, delete the mapping between the logical disks (Logical Drive) 15, 17, 31 and the host saek1, and then remap the logical disks (Logical Drive) 15, 17, 31 (a total of about 267g) lun to the host CBD-ReportDB1:

C. Identify the new disk on the host CBD-ReportDB1

# cfgmgr

D, list the new disk found and record the hdiskX (X is the number, please record)

# lspv

# mpio_get_config-Av (the hdiskX corresponding to the new lun can be found by this command)

E. Configure three new hdiskX disks as PV

# chdev-l hdiskX-a pv=yes

F. Expand the space of volume group Transfer_VG and add three new disks to volume group Transfer_VG

# extendvg-f Transfer_VG hdiskX1 hdiskX2 hdiskX3

There is the vg information of the previous host on the lun. Use the f parameter to forcibly join the vg

Vsrsion:hiubuntu, http://qujunorz.blog.51cto.com/6378776/1389699

G. Expand the space of the file system / trans

# chfs-a size=+260G / tran

Report: exceeded the maximum number of lp of lv

0516-787extendlv: Maximum allocation for logical volume Translv1

Is 2954.

Use smit chlv to change MAXIMUM NUMBER of LOGICAL PARTITIONS

H. Check whether the expansion is successful.

# df-g / tran

The implementation is complete.

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

Database

Wechat

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

12
Report