In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Install customer core production database, disk group name is wrong, need to delete, re-create.
The steps to delete a disk group are as follows:
Su-gridsqlplus / as sysasmSQL > select group_number, name from vastly asmically diskgroupThe group number NAME- 1 DATADGSQL > col path for a40SQL > col name for a40SQL > set lines 120SQL > select path, name from v$asm_disk where group_number=1 PATH NAME---/ dev/rhdiskpower0 DATADG_0000/ Dev/rhdiskpower1 DATADG_0001/dev/rhdiskpower2 DATADG_0002/dev/rhdiskpower3 DATADG_0003/dev/rhdiskpower4 DATADG_0004SQL > SQL > alter diskgroup datadg dismount force Diskgroup altered.SQL > drop diskgroup datadg force including contents The original Diskgroup dropped.## disk group is called DATADG Now it needs to be changed to DATA# su-grid$ asmcmd-pASMCMD [+] > lsdgState Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files NameMOUNTED EXTERN N 512 4096 1048576 1024000 1023928 1023928 0 N DATADG/ ASMCMD [+] > exit### deleted and found that the disk group is indeed missing. $asmcmd-pASMCMD [+] > lsdgASMCMD [+] > exit$ $
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.