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

Asmcmd lsdsk and lsdg view asmdisk and asmdiskgroup

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

Share

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

Check the total number of asmdisk on the server

[root@GI_Softwareonly_64 ~] # oracleasm listdisks

OCPDATA1

OCPDATA2

Check the total number of asmdisk on the server

[oracle@GI_Softwareonly_64 dbs] $asmcmd lsdsk-- discovery

Path

/ dev/oracleasm/disks/OCPDATA1

/ dev/oracleasm/disks/OCPDATA2

Check the total number of asmdisk on the server, as well as the specific information of each asmdisk (the following result is two lines, corresponding to OCPDATA1, OCPDATA2, free space of each disk, raw space, etc.)

[oracle@GI_Softwareonly_64 dbs] $asmcmd lsdsk-k-t-- discovery

Total_MB Free_MB OS_MB Name Failgroup Failgroup_Type Library Label UDID Product Redund Create_Date Mount_Date Repair_Timer Path

3067 3015 3067 FRA_0000 FRA_0000 REGULAR System UNKNOWN 13-OCT-17 13-OCT-17 0 / dev/oracleasm/disks/OCPDATA1

0 0 3067 REGULAR System UNKNOWN 0 / dev/oracleasm/disks/OCPDATA2

View the asmdisk already in asmdiskgroup

[oracle@GI_Softwareonly_64 dbs] $asmcmd lsdsk

Path

/ dev/oracleasm/disks/OCPDATA1

Check for asmdisk that is not in asmdiskgroup (that is, asmdisk that is not used)

[oracle@GI_Softwareonly_64 dbs] $asmcmd lsdsk-- candidate

Path

/ dev/oracleasm/disks/OCPDATA2

View asmdiskgroup information (free space for disk groups, etc.)

[oracle@GI_Softwareonly_64 dbs] $asmcmd lsdg-- discovery-g

Inst_ID State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name

1 MOUNTED EXTERN N 512 4096 1048576 3067 3015 0 3015 0 N FRA/

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