利用KFED工具從儲存中讀出spfile資訊
關閉crs
[root@hp580-5 ~]# crsctl stop crs
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'hp580-5'
CRS-2673: Attempting to stop 'ora.crsd' on 'hp580-5'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'hp580-5'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN2.lsnr' on 'hp580-5'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN3.lsnr' on 'hp580-5'
CRS-2673: Attempting to stop 'ora.oc4j' on 'hp580-5'
CRS-2673: Attempting to stop 'ora.SYS.dg' on 'hp580-5'
CRS-2673: Attempting to stop 'ora.orcl.db' on 'hp580-5'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'hp580-5'
CRS-2673: Attempting to stop 'ora.cvu' on 'hp580-5'
CRS-2677: Stop of 'ora.LISTENER_SCAN2.lsnr' on 'hp580-5' succeeded
CRS-2673: Attempting to stop 'ora.scan2.vip' on 'hp580-5'
CRS-2677: Stop of 'ora.LISTENER_SCAN3.lsnr' on 'hp580-5' succeeded
CRS-2673: Attempting to stop 'ora.scan3.vip' on 'hp580-5'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'hp580-5' succeeded
CRS-2673: Attempting to stop 'ora.hp580-5.vip' on 'hp580-5'
CRS-2677: Stop of 'ora.scan3.vip' on 'hp580-5' succeeded
CRS-2672: Attempting to start 'ora.scan3.vip' on 'hp580-4'
CRS-2677: Stop of 'ora.scan2.vip' on 'hp580-5' succeeded
CRS-2672: Attempting to start 'ora.scan2.vip' on 'hp580-4'
CRS-2677: Stop of 'ora.hp580-5.vip' on 'hp580-5' succeeded
CRS-2672: Attempting to start 'ora.hp580-5.vip' on 'hp580-4'
CRS-2677: Stop of 'ora.orcl.db' on 'hp580-5' succeeded
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'hp580-5'
CRS-2673: Attempting to stop 'ora.FRA.dg' on 'hp580-5'
CRS-2677: Stop of 'ora.DATA.dg' on 'hp580-5' succeeded
CRS-2676: Start of 'ora.scan2.vip' on 'hp580-4' succeeded
CRS-2676: Start of 'ora.scan3.vip' on 'hp580-4' succeeded
CRS-2677: Stop of 'ora.FRA.dg' on 'hp580-5' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN2.lsnr' on 'hp580-4'
CRS-2672: Attempting to start 'ora.LISTENER_SCAN3.lsnr' on 'hp580-4'
CRS-2676: Start of 'ora.hp580-5.vip' on 'hp580-4' succeeded
CRS-2676: Start of 'ora.LISTENER_SCAN2.lsnr' on 'hp580-4' succeeded
CRS-2676: Start of 'ora.LISTENER_SCAN3.lsnr' on 'hp580-4' succeeded
CRS-2677: Stop of 'ora.oc4j' on 'hp580-5' succeeded
CRS-2672: Attempting to start 'ora.oc4j' on 'hp580-4'
CRS-2677: Stop of 'ora.cvu' on 'hp580-5' succeeded
CRS-2672: Attempting to start 'ora.cvu' on 'hp580-4'
CRS-2676: Start of 'ora.cvu' on 'hp580-4' succeeded
CRS-2676: Start of 'ora.oc4j' on 'hp580-4' succeeded
CRS-2677: Stop of 'ora.SYS.dg' on 'hp580-5' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'hp580-5'
CRS-2677: Stop of 'ora.asm' on 'hp580-5' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'hp580-5'
CRS-2677: Stop of 'ora.ons' on 'hp580-5' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'hp580-5'
CRS-2677: Stop of 'ora.net1.network' on 'hp580-5' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'hp580-5' has completed
CRS-2677: Stop of 'ora.crsd' on 'hp580-5' succeeded
CRS-2673: Attempting to stop 'ora.crf' on 'hp580-5'
CRS-2673: Attempting to stop 'ora.ctssd' on 'hp580-5'
CRS-2673: Attempting to stop 'ora.evmd' on 'hp580-5'
CRS-2673: Attempting to stop 'ora.asm' on 'hp580-5'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'hp580-5'
CRS-2677: Stop of 'ora.evmd' on 'hp580-5' succeeded
CRS-2677: Stop of 'ora.crf' on 'hp580-5' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'hp580-5' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'hp580-5' succeeded
CRS-2677: Stop of 'ora.asm' on 'hp580-5' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'hp580-5'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'hp580-5' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'hp580-5'
CRS-2677: Stop of 'ora.cssd' on 'hp580-5' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'hp580-5'
CRS-2677: Stop of 'ora.gipcd' on 'hp580-5' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'hp580-5'
CRS-2677: Stop of 'ora.gpnpd' on 'hp580-5' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'hp580-5' has completed
CRS-4133: Oracle High Availability Services has been stopped.
[root@hp580-5 ~]# crsctl status res -t
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4000: Command Status failed, or completed with errors.
[root@hp580-5 ~]# gpnptool get -o-
Cannot get GPnP profile. Error CLSGPNP_NO_DAEMON (GPNPD daemon is not running).
GPnP service is not running on localhost. Found locally cached profile...
[root@hp580-5 dev]# kfed dev=/dev/asm-diskb op=READ | egrep "kfdhdb.sp|ausize"
kfdhdb.ausize: 1048576 ; 0x0bc: 0x00100000
kfdhdb.spfile: 0 ; 0x0f4: 0x00000000
kfdhdb.spfflg: 0 ; 0x0f8: 0x00000000
[root@hp580-5 dev]# kfed dev=/dev/asm-diskc op=READ | egrep "kfdhdb.sp|ausize"
kfdhdb.ausize: 1048576 ; 0x0bc: 0x00100000
kfdhdb.spfile: 0 ; 0x0f4: 0x00000000
kfdhdb.spfflg: 0 ; 0x0f8: 0x00000000
[root@hp580-5 dev]# kfed dev=/dev/asm-diskd op=READ | egrep "kfdhdb.sp|ausize"
kfdhdb.ausize: 1048576 ; 0x0bc: 0x00100000
kfdhdb.spfile: 0 ; 0x0f4: 0x0000003b
kfdhdb.spfflg: 0 ; 0x0f8: 0x00000001
[root@hp580-5 dev]# kfed dev=/dev/asm-diske op=READ | egrep "kfdhdb.sp|ausize"
kfdhdb.ausize: 1048576 ; 0x0bc: 0x00100000
kfdhdb.spfile: 0 ; 0x0f4: 0x0000003b
kfdhdb.spfflg: 0 ; 0x0f8: 0x00000001
[root@hp580-5 dev]# kfed dev=/dev/asm-diskf op=READ | egrep "kfdhdb.sp|ausize"
kfdhdb.ausize: 1048576 ; 0x0bc: 0x00100000
kfdhdb.spfile: 0 ; 0x0f4: 0x00000000
kfdhdb.spfflg: 0 ; 0x0f8: 0x00000000
[root@hp580-5 dev]# kfed dev=/dev/asm-diskg op=READ | egrep "kfdhdb.sp|ausize"
kfdhdb.ausize: 1048576 ; 0x0bc: 0x00100000
kfdhdb.spfile: 352 ; 0x0f4: 0x00000160
kfdhdb.spfflg: 1 ; 0x0f8: 0x00000001
可以看出來asm spfile資訊在磁碟g中,spfile從第352個au開始,1個au(1M),恢復asmspfile資訊
[root@hp580-5 dev]# dd if=/dev/asm-diskg bs=1M skip=352 count=1 > /tmp/spfile
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.0361562 s, 29.0 MB/s
[root@hp580-5 dev]# strings /tmp/spfile
+ASM2.asm_diskgroups='FRA','SYS'#Manual Mount
+ASM1.asm_diskgroups='FRA','SYS','DATA'#Manual Mount
*.asm_diskstring='/dev/asm*'
*.asm_power_limit=1
*.diagnostic_dest='/g01/app/grid'
*.instance_type='asm'
*.large_pool_size=12M
*.remote_login_passwordfile='EXCLUSIVE'
[root@hp580-5 dev]#
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26870952/viewspace-1470777/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- kfed 工具讀出的各項內容解釋
- kfed 檢視磁碟頭資訊工具
- Oracle ASM儲存Spfile解析OracleASM
- 利用Windows登錄檔儲存資訊 (轉)Windows
- SQLPLUS命令列儲存輸出資訊SQL命令列
- (slam工具)1檔案讀取和儲存SLAM
- (slam工具)2 從照片讀取GNSS資訊SLAM
- 利用php+mysql儲存和輸出檔案(轉)PHPMySql
- Java中的Properties類儲存丟失資訊?!Java
- Android從外部儲存裝置中儲存和載入本地檔案Android
- 配置儲存和工具
- 直播平臺製作,利用python批量讀取儲存圖片Python
- springboot利用快取儲存物件從新獲取異常Spring Boot快取物件
- 列印QObject 對應的QMetaObject中儲存的方法資訊Object
- 區塊鏈資訊儲存是如何實現安全儲存區塊鏈
- 從舊版本SQL Server中重新儲存資料SQLServer
- 利用jws釋出一個查詢員工資訊的Web服務(員工資訊儲存在資料庫中)Web資料庫
- 只讀儲存器ROM
- Android內部儲存和外部儲存,以及讀取Android讀取RAM,ROM內部儲存和外部儲存卡容量Android
- mysql儲存地理資訊的方法MySql
- C++(2) 從yml或者txt讀取和儲存資料C++
- c++ (2-0) 從txt讀取和儲存資料C++
- ASP.NET中利用儲存過程實現模糊查詢ASP.NET儲存過程
- Sql server:從XML檔案中讀取配置資訊SQLServerXML
- 讀取和儲存Excel表Excel
- java儲存讀取文字oracleJavaOracle
- jQuery實現的利用cookie儲存使用者登入資訊程式碼例項jQueryCookie
- 如何利用MySQL有效的儲存IP地址MySql
- 利用Qt將網頁儲存為PDFQT網頁
- 資訊的儲存及整數表示
- 企業如何做好資訊儲存
- 穀粒商城day61-商品服務-API-新增商品-儲存SPU基本資訊+儲存SKU基本資訊+呼叫遠端服務儲存優惠等資訊API
- Python中檔案讀取與儲存程式碼示例Python
- ASM磁碟頭資訊損壞和修復(kfed/dd)ASM
- Word在Normal.dot模板檔案中儲存預設資訊ORM
- 在SQL Server中儲存和輸出圖片 (轉)SQLServer
- C#中從Clipboard儲存獲取資料的方法C#
- ASM管理命令列三工具:KFOD、KFED和AMDUASM命令列