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

Operation steps of adding new hard disk in AIX

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

1. Power off the host, connect the hard disk, start the host

two。 The system automatically assigns the physical volume name to the new hard disk

3. Configure the hard disk, or join an existing volume group (original volume group: rootvg; new hard disk: hdisk1): # extendvg-f rootvg hdisk1

Create a new volume group for the new hard disk (new volume group: datavg): mkvg-f-y datavg hdisk1

4. Activate the new volume group: # varyonvg datavg

5. Check results:

# lsvg

Rootvg

Datavg

# lspv

Hdisk0 00034a5b555c3456 rootvg

Hdisk1 3434343abce44444 datavg

Intermediate 16-bit hexadecimal PVID

6. Create a logical volume: smit mklv

Enter the following parameters:

Logical volumn NAME logical volume name

VOLUMN GROUP name Volume Group name

Number of LOGICAL PARTITIONS logical volume size (number of logical partitions, logical partition size is 4MB)

7. Create a file system: smit crfs

Enter the following parameters:

LOGICAL VOLUMN name logical volume name

MOUNT POINT mount point, which should be an empty directory, otherwise the original files will not be visible or available. For example: / usr/local/data

Modify the parameters:

Whether to change the default mount to yes when the Mount AUTOMATICALLY at system restart system is restarted

8. Mount the file system: # mount / usr/local/data

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