In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article will explain in detail how to achieve online expansion of the file system under the AIX volume group. The content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
Due to the need of production, an AIX minicomputer expands the capacity of the / sapdata directory from 90g to 210g, adding 120g of space. The EMC storage at the back end of the Aix minicomputer is connected through an optical switch. First of all, RAID the idle hard disk on EMC storage, divide the LUN, and map it to the production AIX minicomputer.
After EMC has finished LUN mapping, execute cfgmgr on AIX, and then lspv will deny the newly expanded hard disk.
# cfgmgr-I disk
# lspv
Hdisk0 00c6abdfc094f4e8 rootvg active
Hdisk1 00c6abcfc4edbd87 rootvg active
Hdisk6 oravg active
Hdisk7 oravg active
Pay attention to the 16 digits after HDISK. If not, please execute
# chdev-l hdisk6-a pv=yes (to make the physical volume available for LVM).
# chdev-l hdisk7-a pv=yes (to make the physical volume available for LVM).
# lspv
Hdisk0 00c6abdfc094f4e8 rootvg active
Hdisk1 00c6abcfc4edbd87 rootvg active
Hdisk6 00c6abcf1d17f7bf oravg active
Hdisk7 00c6abcf1d189c64 oravg active
(in the case of HA architecture, execute # rmdev-Rd1 hdisk6 on node An and then scan cfgmgr on node B)-- check whether the LSPV and HDISK of the two nodes are consistent.
Original file directory size
# df-g
/ dev/sapdata 90.00 84.80 94% 26.1% / oracle/sapdata
Then execute smitty hacmp--- System Management (C-SPOC)-HACMP Logical Volume Management--- Shared Volume Groups-- Set Characteristics of a Shared Volume Group-- Add a Volume to a Shared Volume Group-- to select the VG-- enter that needs to be expanded, and then select the added hard disk-OK. Then expand the file system. # smitty chfs-change/show charactertistics of an enhanced journaled file system- Select the file system to be expanded-then press enter to continue.
If there is an error in file system expansion, it is usually the Block size of the file system or the original LV size of the volume that limits the maximum capacity expansion space. You can # smitty hacmp--- System Management (C-SPOC)-- HACMP Logical Volume Management--- Shared file systems---enhanced journaled file systems---change/show characteristics of a shared enhanced journaled file system- selects the file system to modify the block size, and then you can successfully expand the file system. Note: you can modify the size of LV through # smitty chlv.
Original parameters:
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
File system name / oracle/sapdata
NEW mount point [/ oracle/sapdata]
SIZE of file system
Unit Size 512bytes +
Number of units [188743680] #
Mount GROUP []
Mount AUTOMATICALLY at system restart? No +
PERMISSIONS read/write +
Mount OPTIONS [] +
Start Disk Accounting? No +
Block Size (bytes) 256
Inline Log? No
Inline Log size (MBytes) [0] #
Extended Attribute Format [v1]
Enable Quota Management? No +
Allow Small Inode Extents? No +
Current parameters:
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
File system name / oracle/sapdata
NEW mount point [/ oracle/sapdata]
SIZE of file system
Unit Size 512bytes +
Number of units [440401920] #
Mount GROUP []
Mount AUTOMATICALLY at system restart? No +
PERMISSIONS read/write +
Mount OPTIONS [] +
Start Disk Accounting? No +
Block Size (bytes) 2048
Inline Log? No
Inline Log size (MBytes) [0] #
Extended Attribute Format [v1]
Enable Quota Management? No +
Allow Small Inode Extents? No +
Then expand it again, and it will be normal. The following prompt Filesystem size changed to 440401920 appears.
Note: the capacity of existing space is included after expansion.
Verify it.
# df-g
/ dev/sapdata 210.00 84.80 40% 26.1% / oracle/sapdata
On the AIX volume group on how to achieve online expansion of the file system to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.