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資料庫高水位釋放——LOB欄位空間釋放Oracle資料庫
- 如何釋放Mac空間?釋放Mac系統空間小技巧Mac
- 靜默升級oracle 11g (從11.2.0.1升級到11.2.0.4)Oracle
- 如何從Angular 5 App升級到Angular 6AngularAPP
- oracle 10 rac 升級 10.2.0.1升級到10.2.0.5Oracle
- 【UP_ORACLE】Oracle 19c之從19.3升級到19.9Oracle
- lsof |grep deleted 釋放磁碟空間delete
- Oracle 字符集從GBK升級到Utf8Oracle
- oracle rac 11.2.0.3 升級到11.2.0.4Oracle
- mongodb單機從3.2升級到4.0.4升級MongoDB
- SQLServer如何釋放tempdb臨時表空間SQLServer
- Linux檔案刪除空間未釋放Linux
- Oracle move和shrink釋放高水位空間Oracle
- [待整理]oracle10g刪除(釋放)資料檔案/表空間流程Oracle
- 升級 ubuntu,從 18.04 到 22.04Ubuntu
- MongoDB升級--從3.4到3.6MongoDB
- RM刪除檔案空間釋放詳解
- Oracle從10g升級到11g詳細步驟Oracle
- ABP Framework 手動升級指南:從6.0.1升級到7.0.0Framework
- oracle資料庫11.2.0.3升級到11.2.0.4Oracle資料庫
- win10怎麼釋放空間_win10釋放磁碟空間的方法Win10
- PHP版本升級:從php7.1升級到php7.2PHP
- oracle 表空間Oracle
- Oracle表空間Oracle
- Oracle 18C升級到19COracle
- Oracle 12C升級到18COracle
- Oracle 11g升級到12COracle
- App Cleaner & Uninstaller:釋放Mac空間,輕鬆管理應用APPMac
- Windows升級到oracle 11g的異機物理升級文件(冷備)WindowsOracle
- oracle temp 表空間Oracle
- 增加oracle表空間Oracle
- ORACLE9I升級到10G(zt)Oracle
- 10、MySQL Case-釋放ibtmp表空間正確姿勢MySql
- Linux檔案刪除但空間不釋放問題篇Linux
- Mysql InnoDB刪除資料後釋放磁碟空間的方法MySql
- 從JDK8升級到JDK17JDK
- 【MSSQL】MSSQL 從Express版本升級到Enterprise版本SQLExpress
- 從CentOS 7.0升級到7.7版本CentOS
- 從10.2.0.1升級到10.2.0.5操作實驗(下)