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

Related commands about file storage in AIX

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Mkdev or chdev create physical volume chdev-l physical volume name-a pv=yes

Mkdev-c disk-s hard disk connection subclass-t hard disk size-p parent setting name-w logical location-a pv=yes

Mkdev-l physical volume name changes the state of the physical volume to the available state (Avaliable)

Mkvg or extendvg add physical volumes to the volume group extendvg volume group name physical volume name

Reducevg removes physical volumes from the volume group reducevg volume group name physical volume name

Mklv creates logical volumes

Mklvcopy creates a copy of an existing logical volume

Mirrorvg mirrors all logical volumes in a volume group

Chpv modifies the availability of physical volumes

Chpv-v r hdiskX modifies the physical volume to an unavailable state

Lspv displays physical volumes

Lspv hdiskX displays physical volume details

Lspv-l hsiskX displays logical volumes on physical volumes

Lspv-p hdiskx displays the physical partition range assigned to each logical volume on the physical volume

Lspv-M hdiskx view the correspondence between physical and logical partitions

Rmdev-l hdiskx changes physical volumes from an available state to a defined state

Rmdev-d hdiskX completely removes the physical volume information from the ODM database

Lsvg-p volume group name checks the disks contained in a volume group

Rmdev-l-d hdiskx physically removes disks from the system

Mkvg create volume group mkvg-y volume group name-d the maximum number of physical volumes [- s physical partition size] contains the physical volume name

Example: mkvg-y datavg-d 6-s 8 hdisk6 hdisk7

Lsvg displays volume group information

Lsvg-o displays the volume groups that are active

Lsvg-l volume group name shows the logical volumes in the volume group

Lsvg-p volume group name displays the physical volumes in the volume group

Chvg-ay volume group name setting is automatically activated at startup in the volume group

Chvg-an volume group name setting cannot be automatically activated at startup in a volume group

Chvg-u volume group name unlocks a volume group

Chpv-hy physical volume name defines the physical volume as a hot backup disk

Varyonvg activation volume group varyonvg volume group name

Varyonvg-f Volume Group name forcibly activate Volume Group

Varyonvg-n volume group name prevents synchronization of all stale physical partitions (when the volume group is activated by default, the syncvg command is called to synchronize all stale physical partitions)

Varyonvg-r volume group name activates the volume group to read-only

Varyoffvg changed the volume group state to inactive

Exportvg volume group name export volume group (delete the definition information of the volume group from the ODM database)

Syncvg synchronization

Syncvg-l logical volume name

Syncvg-p physical volume name

Syncvg-v volume group name

Step to replace a bad disk in the mirror (non-rootvg)

Unmirrorvg volume group name physical volume name removes mirrors on physical volum

Reducevg volume group name physical volume name removes the physical volume from the volume group

Rmdev-l physical volume name-d removes the physical volume from the system

Change the disk

Chdev-l physical volume name-a pv=yes creates a physical volume

Extendvg volume group name physical volume name adds a physical volume to a volume group

Mirrorvg volume group name mirrors the volume group

Dd backup bare device (bare logical volume)

Lslv logical volume name displays logical volume detail properties

The lslv-l logical volume name shows the physical volume spanned by a logical volume and the distribution of the logical volume on the physical volume

Lslv-p logical volume allocation diagram with the physical volume name displayed on the specified physical volume

Lslv-m logical volume name all PP mapped by each LP in the logical volume

Mklv create logical volume mklv-y logical volume name-c copy number volume group name logical partition number

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