Oracle 11gR 2 ASM diskgroup 의 ASM spfile 찾기
[grid@vzwc1 ~]$ crsctl query crs activeversion
Oracle Clusterware active version on the cluster is [11.2.0.4.0]
[grid@vzwc1 ~]$
[grid@vzwc1 ~]$ crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 400bdba7f2e64f8fbf23f6806f25e4c6 (/dev/asm-diskg) [SYSDG]
2. ONLINE 76ff5698d65c4f0dbf7693abd7c33a4b (/dev/asm-diskh) [SYSDG]
3. ONLINE 6410be3052a94ffdbfa2805c73cef4ea (/dev/asm-diski) [SYSDG]
4. ONLINE 76aedd7a81c74f75bf09bf5020bf340a (/dev/asm-diskj) [SYSDG]
5. ONLINE 6968dea5a6be4f17bf0a6caa8a23d534 (/dev/asm-diskk) [SYSDG]
Located 5 voting disk(s).
ASM 미 러 범위 찾기
SQL> select GROUP_KFFXP, DISK_KFFXP, AU_KFFXP
2 from x$kffxp
3 where number_kffxp =
4 (select file_number
5 from v$asm_alias
6 where name = 'REGISTRY.253.826491951');
GROUP_KFFXP DISK_KFFXP AU_KFFXP
----------- ---------- ----------
1 0 34
1 3 35
1 4 36
SQL>
SQL> select GROUP_KFDAT, NUMBER_KFDAT, AUNUM_KFDAT
2 from x$kfdat
3 where fnum_kfdat = (select file_number
4 from v$asm_alias
5 where name = 'REGISTRY.253.826491951');
GROUP_KFDAT NUMBER_KFDAT AUNUM_KFDAT
----------- ------------ -----------
1 0 34
1 3 35
1 4 36
대응 하 는 disk 찾기
SQL> select path,DISK_NUMBER from v$asm_disk where GROUP_NUMBER=1 and disk_number in (0,3,4);
PATH DISK_NUMBER
-------------------- -----------
/dev/asm-diskf 4
/dev/asm-diske 3
/dev/asm-diskb 0
pfile 만 들 기, 내용 보기
SQL> create pfile='/tmp/asm.ora' from spfile;
File created.
SQL> !cat /tmp/asm.ora
+ASM1.asm_diskgroups='SYSDG','DATADG','FRADG','OGGDG'#Manual Mount
+ASM2.asm_diskgroups='DATADG','FRADG','SYSDG','OGGDG'#Manual Mount
*.asm_diskstring='/dev/asm-*'
*.asm_power_limit=1
*.diagnostic_dest='/u01/app/grid'
*.instance_type='asm'
*.large_pool_size=12M
*.remote_login_passwordfile='EXCLUSIVE'
SQL>
dd 읽 기 AUNUMKFDAT
[grid@vzwc1 ~]$ dd if=/dev/asm-diskb of=/tmp/spfile1.ora skip=34 bs=1024k count=1
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.0491284 seconds, 21.3 MB/s
[grid@vzwc1 ~]$
[grid@vzwc1 ~]$ strings /tmp/spfile1.ora
+ASM1.asm_diskgroups='SYSDG','DATADG','FRADG','OGGDG'#Manual Mount
+ASM2.asm_diskgroups='DATADG','FRADG','SYSDG','OGGDG'#Manual Mount
*.asm_diskstring='/dev/asm-*'
*.asm_power_limit=1
*.diagnostic_dest='/u01/app/grid'
*.instance_type='asm'
*.large_pool_size=12M
*.remote_login_passwordfile='EXCLUSIVE'
[grid@vzwc1 ~]$ dd if=/dev/asm-diske of=/tmp/spfile2.ora skip=35 bs=1024k count=1
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.0244123 seconds, 43.0 MB/s
[grid@vzwc1 ~]$
[grid@vzwc1 ~]$ strings /tmp/spfile2.ora
+ASM1.asm_diskgroups='SYSDG','DATADG','FRADG','OGGDG'#Manual Mount
+ASM2.asm_diskgroups='DATADG','FRADG','SYSDG','OGGDG'#Manual Mount
*.asm_diskstring='/dev/asm-*'
*.asm_power_limit=1
*.diagnostic_dest='/u01/app/grid'
*.instance_type='asm'
*.large_pool_size=12M
*.remote_login_passwordfile='EXCLUSIVE'
[grid@vzwc1 ~]$ dd if=/dev/asm-diskf of=/tmp/spfile3.ora skip=36 bs=1024k count=1
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.0141957 seconds, 73.9 MB/s
[grid@vzwc1 ~]$ strings /tmp/spfile3.ora
+ASM1.asm_diskgroups='SYSDG','DATADG','FRADG','OGGDG'#Manual Mount
+ASM2.asm_diskgroups='DATADG','FRADG','SYSDG','OGGDG'#Manual Mount
*.asm_diskstring='/dev/asm-*'
*.asm_power_limit=1
*.diagnostic_dest='/u01/app/grid'
*.instance_type='asm'
*.large_pool_size=12M
*.remote_login_passwordfile='EXCLUSIVE'
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
Why does there exist DB_UNKNOWN directory on ASM disk?Today I found a glitch about my database instance.When I browsed my files on ASM disks,I found this file,which path was ...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.