如何重命名asm中的磁盘组(二)

2014-11-24 01:33:34 · 作者: · 浏览: 22
acleasm/disks/ASMDISK6 with disk number:1 and timestamp (33001227 75905024) Identified disk UFS:/dev/oracleasm/disks/ASMDISK7 with disk number:2 and timestamp (33001227 75905024) Identified disk UFS:/dev/oracleasm/disks/ASMDISK8 with disk number:5 and timestamp (33001229 -598404096) Identified disk UFS:/dev/oracleasm/disks/ASMDISK9 with disk number:3 and timestamp (33001229 -678575104) Identified disk UFS:/dev/oracleasm/disks/ASMDISK10 with disk number:4 and timestamp (33001229 -678575104) Checking for hearbeat... Re-discovering the group Performing discovery with string:/dev/oracleasm/disks/* Identified disk UFS:/dev/oracleasm/disks/ASMDISK5 with disk number:0 and timestamp (33001227 75905024) Identified disk UFS:/dev/oracleasm/disks/ASMDISK6 with disk number:1 and timestamp (33001227 75905024) Identified disk UFS:/dev/oracleasm/disks/ASMDISK7 with disk number:2 and timestamp (33001227 75905024) Identified disk UFS:/dev/oracleasm/disks/ASMDISK8 with disk number:5 and timestamp (33001229 -598404096) Identified disk UFS:/dev/oracleasm/disks/ASMDISK9 with disk number:3 and timestamp (33001229 -678575104) Identified disk UFS:/dev/oracleasm/disks/ASMDISK10 with disk number:4 and timestamp (33001229 -678575104) Checking if the diskgroup is mounted or used by CSS Checking disk number:0 Checking disk number:1 Checking disk number:2 Checking disk number:5 Checking disk number:3 Checking disk number:4 Generating configuration file.. Completed phase 1 Executing phase 2 Looking for /dev/oracleasm/disks/ASMDISK5 Modifying the header Looking for /dev/oracleasm/disks/ASMDISK6 Modifying the header Looking for /dev/oracleasm/disks/ASMDISK7 Modifying the header Looking for /dev/oracleasm/disks/ASMDISK8 Modifying the header Looking for /dev/oracleasm/disks/ASMDISK9 Modifying the header Looking for /dev/oracleasm/disks/ASMDISK10 Modifying the header Completed phase 2 Terminating kgfd context 0x7f57a379b0a0 -bash-4.1$ sqlplus / as sysasm SQL*Plus: Release 11.2.0.4.0 Production on Mon Mar 24 15:35:04 2014 Copyright (c) 1982, 2013, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the Automatic Storage Management option SQL>
select name,state from v$asm_diskgroup; NAME STATE ------------------------------ ----------- DATAGROUP1 MOUNTED DATAGROUP2 DISMOUNTED SQL> alter diskgroup datagroup2 mount; Diskgroup altered. SQL> select name,state from v$asm_diskgroup; NAME STATE ------------------------------ ----------- DATAGROUP1 MOUNTED DATAGROUP2 MOUNTED SQL> exit Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the Automatic Storage Management option -bash-4.1$ crsctl stat res -t -------------------------------------------------------------------------------- NAME TARGET STATE SERVER STATE_DETAILS -------------------------------------------------------------------------------- Local Resources -------------------------------------------------------------------------------- ora.DATAGROUP1.dg ONLINE ONLINE oracle-one ora.DATAGROUP2.dg ONLINE ONLINE oracle-one ora.LISTENER.lsnr ONLINE ONLINE oracle-one or