ORACLE EXADATA升級—從11.2.3.1.0到11.2.3.3.0–(5)釋放Solaris空間
Exadata在出廠的時候,預設安裝了兩個OS系統,一個是Linux,一個是Solaris X86,然後互相做RAID 1,我們在升級計算節點的時候,如果不釋放掉Solaris就會報下列錯誤:
ERROR: Solaris disks are not reclaimed. This needs to be done before the upgrade. See the Exadata Database Machine documentation to claim the Solaris disks
我們可以使用出廠自帶的指令碼來檢視計算節點本地盤的一個情況,這裡可以看到,總共物理盤有4塊,RDID的級別是1,擁有dual boot。
[root@gxx2db01 oracle.SupportTools]# ./reclaimdisks.sh -check [INFO] This is SUN FIRE X4170 M2 SERVER machine [INFO] Number of LSI controllers: 1 [INFO] Physical disks found: 4 (252:0 252:1 252:2 252:3) [INFO] Logical drives found: 3 [INFO] Dual boot installation: yes [WARNING] Some lvm logical volume(s) resizes on other than /dev/sda device [INFO] Linux logical drive: 0 [INFO] RAID Level for the Linux logical drive: 1 [INFO] Physical disks in the Linux logical drive: 2 (252:0 252:1) [INFO] Dedicated Hot Spares for the Linux logical drive: 0 [INFO] Global Hot Spares: 0 [INFO] Valid dual boot configuration found for Linux: RAID1 from 2 disks
釋放solaris作業系統很簡單,執行reclaimdisks.sh指令碼釋放即可,當然在執行的時候我遇到了一個小問題,這個指令碼只認系統預設的盤和卷組,而南寧電網自己配置了一個新的VG(就是用作備份的那個datavg),因為我們在前面做了備份的操作,我把這個VG刪除,重新執行指令碼執行成功,當然你也可以改指令碼執行,不過我們做了嘗試,還是會把你新建的VG配置資訊給清理掉。所以這個動作還是很危險的,我們在做這個之前,一定要做好備份。在執行的過程中,我們可以去監控日誌/var/log/cellos/reclaimdisks.bg.log,看它具體都做了些什麼操作。
[root@gxx2db02 oracle.SupportTools]# ./reclaimdisks.sh -free -reclaim Started from ./reclaimdisks.sh [INFO] Free mode is set [INFO] Reclaim mode is set [INFO] This is SUN FIRE X4170 M2 SERVER machine [INFO] Number of LSI controllers: 1 [INFO] Physical disks found: 4 (252:0 252:1 252:2 252:3) [INFO] Logical drives found: 3 [INFO] Dual boot installation: yes [INFO] Linux logical drive: 0 [INFO] RAID Level for the Linux logical drive: 1 [INFO] Physical disks in the Linux logical drive: 2 (252:0 252:1) [INFO] Dedicated Hot Spares for the Linux logical drive: 0 [INFO] Global Hot Spares: 0 [INFO] Non-linux physical disks that will be reclaimed: 2 (252:2 252:3) [INFO] Non-linux logical drives that will be reclaimed: 2 (1 2) Remove logical drive 1 Adapter 0: Deleted Virtual Drive-1(target id-1) Exit Code: 0x00 Remove logical drive 2 Adapter 0: Deleted Virtual Drive-2(target id-2) Exit Code: 0x00 [INFO] Remove Solaris entries from /boot/grub/grub.conf [INFO] Disk reclaiming started in the background with parent process id 17405. [INFO] Check the log file /var/log/cellos/reclaimdisks.bg.log. [INFO] This process may take about two hours. [INFO] DO NOT REBOOT THE NODE. [INFO] The node will be rebooted automatically upon completion.
(本文轉自“新炬網路”官網技術分享欄目)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29960155/viewspace-1398624/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORACLE EXADATA升級—從11.2.3.1.0到11.2.3.3.0–(8)升級交換機Oracle
- ORACLE EXADATA升級—從11.2.3.1.0到11.2.3.3.0–(1)升級簡介Oracle
- ORACLE EXADATA升級—從11.2.3.1.0到11.2.3.3.0–(7)升級Bundle Patch 23Oracle
- ORACLE EXADATA升級—從11.2.3.1.0到11.2.3.3.0–(9)升級後的檢查Oracle
- ORACLE EXADATA升級—從11.2.3.1.0到11.2.3.3.0–(4)升級儲存節點Oracle
- ORACLE EXADATA升級—從11.2.3.1.0到11.2.3.3.0–(6)升級計算節點Oracle
- ORACLE EXADATA升級—從11.2.3.1.0到11.2.3.3.0–(2)備份環境Oracle
- oracle 釋放undo空間Oracle
- 如何釋放Mac空間?釋放Mac系統空間小技巧Mac
- Oracle資料庫高水位釋放——LOB欄位空間釋放Oracle資料庫
- Oracle 整理表碎片、釋放表的空間Oracle
- Oracle 釋放過度使用的Undo表空間Oracle
- delete不釋放表空間delete
- 如何從Angular 5 App升級到Angular 6AngularAPP
- oracle從10.2.0.4升級到11.2.0.1的三種升級方法Oracle
- oracle版本升級:從11.2.0.1到11.2.0.3Oracle
- lsof |grep deleted 釋放磁碟空間delete
- 禪道 - 儲存空間釋放
- DATAFILE SHRINK 釋放系統空間
- 使用可傳輸表空間將oracle9i升級到10gOracle
- oracle刪除(釋放)資料檔案/表空間流程Oracle
- 靜默升級oracle 11g (從11.2.0.1升級到11.2.0.4)Oracle
- windows 下oracle從10.2.0.1升級到10.2.0.4WindowsOracle
- mongodb單機從3.2升級到4.0.4升級MongoDB
- oracle expdp、impdp匯入從原表空間更換到其他表空間 ----匯入到另個表空間測試Oracle
- oracle 資料庫從10.2.0.4升級到11.2.0.3Oracle資料庫
- MongoDB升級--從3.4到3.6MongoDB
- oracle 升級到 11.2.0.2Oracle
- SQLServer如何釋放tempdb臨時表空間SQLServer
- set unused 是否會釋放儲存空間
- ABP Framework 手動升級指南:從6.0.1升級到7.0.0Framework
- Oracle 字符集從GBK升級到Utf8Oracle
- Oracle資料庫從 9.2.0.1 到 9.2.0.8升級步驟 for winOracle資料庫
- oracle 10 rac 升級 10.2.0.1升級到10.2.0.5Oracle
- 解決linux下刪除檔案或oracle表空間後空間不釋放的問題LinuxOracle
- RM刪除檔案空間釋放詳解
- Linux檔案刪除空間未釋放Linux
- hpux刪除檔案後空間不釋放UX