当前位置:网站首页>Summary of Aix storage management
Summary of Aix storage management
2022-07-02 00:38:00 【51CTO】
restudy old materials :
Do you know how to calculate the size of the logical volume in the actual physical hard disk ? Through the previous explanation , It is not difficult to know that logical volumes are composed of logical partitions , So just know how many logical partitions there are . Is that right ??? This statement is half right , The reason is that a logical partition can map one to three physical partitions .
1、 If the logical volume has no copies ( Namely Lv Its own size )
The size of the logical volume in the actual physical hard disk (MB)=PP Size (MB)×LV contain LP The number of
2、 If the logical volume has a copy
The size of the logical volume in the actual physical hard disk (MB)= PP Size (MB)×LV contain LP Count ( individual )×LV Number of copies
Link to the original text : AIX Create logical volumes for storage management and view and modify attributes
know sth. new :
Today I want to talk about the above AIX A summary of storage management , Mainly some fragmented knowledge points , If you are interested, you can have a look .
(1) Logical volume manager (Logical Volume Manager, Shorthand for LVM) Is a set of operating system commands used to establish and control logical volume storage 、 Library functions and other tools .
(2)LVM The components of are ∶ Physical volume (Physical Volume)、 The volume group (Volume Group)、 Logic volume (Logical Volume)、 Physical zoning (Physical Partition)、 A logical partition (Logical Partition)、 file system (File System) etc. .
(3) disk Ouorum It is normally accessible in a volume group VGDA and VGSA Of the volume group VGDA Total sum VGSA Ratio of total . Generally, available VGDA/VGSA achieve 51% Or more , Volume group can be activated .
(4) Logical volume mirroring is to save the data on each logical partition in the logical volume to 1~3 On physical partitions , That is, each logical partition has 1~3 Copies . If there's only one copy , Then the logical volume has no mirror ; If there is 2 or 3 Copies , Then the logical volume has a mirror , That is, a logical partition mapping 2 or 3 Physical zones .
(5) Depending on the location of the logical volume on the hard disk , The section of the hard disk can be divided into 5 Concentric regions ∶ Outer edge (Outer-Edge)、 Outer middle (Outer-Middle)、 The central (Center)、 In the middle (Inner-Middle) And inner edge (Inner-Edge). In the central area I/O Best efficiency , Best performance .
(6) To display information about physical volumes , Just use Isdev -Cc disk or lspv command ; use chdev -l hdiskname -a pv=yes The command can configure a hard disk as a physical volume ; To delete a physical volume, use rmdev -l hdiskname -d command ;
(7) use mkvg Command to create a new volume group ; use lsvg The command displays volume group information ; use chvg Command to modify the properties of a volume group ; use extendvg Command to add a new physical volume to a volume group ; use reducevg The command deletes a physical volume from a volume group ; use varyonvg Command activates a volume group , use varoffvg Command deactivates a volume group ;
(8) The logical volume control block holds important information about the logical volume , It is located at the beginning of the logical volume , Occupied 512 Bytes . The logical volume control block includes ∶ Logical volume creation date 、 Number of mirrored copies of logical volumes and file system mount points . use /usr/sbin/getlvcb The command can obtain the LVCB Information .
(9) The strategies that have the greatest impact on the performance of logical volumes are ∶Intra-Disk Allocation( Internal allocation of disk )、Inter-Disk Allocation( Allocation between disks )、I/O Scheduling(I/O Operation scheduling ) and Write-Verify( Write check ).
(10) Inside the disk (Intra-Disk) The allocation policy determines the actual physical location of the physical partition of the logical volume on the disk ; Between disks (Inter-Disk) The allocation policy determines the distribution of physical partitions of a logical volume among multiple physical volumes , It mainly includes the scope of physical partition distribution (Range) And strict (Strict) Degree of .
(11) use lsvg or lslv The command displays information about logical volumes ; use mklv Command to create a logical volume ; use rmlv Command to delete a logical volume ; use chly Command to modify the properties of the logical volume ; use extendly Command to increase the size of the logical volume ; use cplv The command copies a logical volume to a new logical partition or an existing logical partition .
Let's talk about storage management for now , The next article brings you 《 AIX Overview of file system 》
边栏推荐
- ThreadLocal内存泄漏是什么,怎么解决
- js 公共库 cdn 推荐
- Kyushu cloud and Intel jointly released the smart campus private cloud framework, enabling new infrastructure for education
- When installing mysql, there are two packages: Perl (data:: dumper) and Perl (JSON)
- Leetcode skimming: binary tree 03 (post order traversal of binary tree)
- Use es to realize epidemic map or take out order function (including code and data)
- Node -- egg implements the interface of uploading files
- Ldr6035 smart Bluetooth audio can continuously charge and discharge mobile devices
- Leetcode 96 différents arbres de recherche binaires
- 九州云与英特尔联合发布智慧校园私有云框架,赋能教育新基建
猜你喜欢

Leetcode skimming: stack and queue 05 (inverse Polish expression evaluation)

Leetcode skimming: stack and queue 02 (realizing stack with queue)
![Comprehensive usage and case questions of sub query of SQL data analysis [patient sorting]](/img/24/d9a48a0f76cde65421edda04d0f854.png)
Comprehensive usage and case questions of sub query of SQL data analysis [patient sorting]

sso单点登录的实现。

数据库--SqlServer详解

Leetcode skimming: stack and queue 04 (delete all adjacent duplicates in the string)
![[wechat authorized login] the small program developed by uniapp realizes the function of obtaining wechat authorized login](/img/c1/23be4399119f42d85a7b86fc8a59fc.png)
[wechat authorized login] the small program developed by uniapp realizes the function of obtaining wechat authorized login
![[leetcode] number of maximum consecutive ones](/img/70/7f3d1c8e0ab2698d98220cca911209.png)
[leetcode] number of maximum consecutive ones

How to improve data quality

Some understandings of graph convolution neural network r-gcn considering relations and some explanations of DGL official code
随机推荐
使用 ES 实现疫情地图或者外卖点餐功能(含代码及数据)
Some understandings of graph convolution neural network r-gcn considering relations and some explanations of DGL official code
【底部弹出-选择器】uniapp Picker组件——底部弹起的滚动选择器
【微信授权登录】uniapp开发小程序,实现获取微信授权登录功能
【会议资源】2022年第三届自动化科学与工程国际会议(JCASE 2022)
2022 low voltage electrician examination questions and answers
What is the purpose of ERP project implementation plan?
【mysql 07】GPG key retrieval failed: “Couldn‘t open file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022“
vue 强制清理浏览器缓存
JS common library CDN recommendation
How to open an account for individual stock speculation? Is it safe?
Take the enclave Park as a sample to see how Yuhua and Shaoshan play the song of Chang Zhu Tan integrated development
excel查找与引用函数
Picture puzzle wechat applet source code_ Support multi template production and traffic master
GaussDB(for MySQL) :Partial Result Cache,通过缓存中间结果对算子进行加速
挖财学堂开户打新债安全可靠嘛?
gradle
SQL Server 安裝指南
[template] adaptive Simpson integral
LeetCode 0241.为运算表达式设计优先级 - DFS