oracle 11.2.0.3 rac資料庫線上新增ASM儲存空間
環境:oracle 11.2.0.3 RAC,linux ASM儲存,資料庫儲存空間不夠,新增ASM磁碟。整個過程不需要停叢集以及資料庫。
1、在磁碟上建分割槽
[root@RAC-1 mapper]# fdisk /dev/mapper/data15
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x386ecaa5.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-26108, default 1): 1
Last cylinder, +cylinders or +size{K,M,G} (1-26108, default 26108):
Using default value 26108
Command (m for help): w
2、載入已更新的塊裝置分割槽表(在rac的兩臺機器上執行)
/sbin/partprobe /dev/mapper/data15
3、授權
chown -R oracle:oinstall /dev/mapper/data15*
chmod -R 777 /dev/mapper/data15*
4、給磁碟組新增磁碟
su - grid
sqlplus / as sysasm
alter diskgroup data add disk '/dev/mapper/data15p1';
su - grid
asmcmd
lsdg ----可以看到磁碟組增加了200G。
5、新增完成後,進行資料庫和叢集檢查,一切正常。
1、在磁碟上建分割槽
[root@RAC-1 mapper]# fdisk /dev/mapper/data15
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x386ecaa5.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-26108, default 1): 1
Last cylinder, +cylinders or +size{K,M,G} (1-26108, default 26108):
Using default value 26108
Command (m for help): w
2、載入已更新的塊裝置分割槽表(在rac的兩臺機器上執行)
/sbin/partprobe /dev/mapper/data15
3、授權
chown -R oracle:oinstall /dev/mapper/data15*
chmod -R 777 /dev/mapper/data15*
4、給磁碟組新增磁碟
su - grid
sqlplus / as sysasm
alter diskgroup data add disk '/dev/mapper/data15p1';
su - grid
asmcmd
lsdg ----可以看到磁碟組增加了200G。
5、新增完成後,進行資料庫和叢集檢查,一切正常。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22969361/viewspace-1115058/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 給資料庫新增儲存空間的案例資料庫
- oracle 11g資料庫ASM磁碟組儲存空間擴容實施Oracle資料庫ASM
- RAC資料庫新增ASM磁碟組(1)資料庫ASM
- RAC + ASM單節點新增表空間的後果ASM
- Oracle資料庫 ASM磁碟線上擴容Oracle資料庫ASM
- 透過xtts遷移單例項檔案系統表空間到RAC ASM儲存表空間TTS單例ASM
- 通過xtts遷移單例項檔案系統表空間到RAC ASM儲存表空間TTS單例ASM
- asm 儲存線上遷移ASM
- oracle 11.2.0.3 單機 asm 儲存打psu 10補丁OracleASM
- oracle資料庫叢集新增表空間操作規範Oracle資料庫
- oracle資料型別data type與儲存空間大小(一)Oracle資料型別
- oracle資料型別data type與儲存空間大小(二)Oracle資料型別
- oracle的空間資料庫:Oracle資料庫
- 企業私有云vmware部署oracle rac 11.2.0.3.4後空間不足新增共享磁碟再新增ASM diskOracleASM
- 資料庫恢復中需要大量儲存空間的原因HQ資料庫
- 將 Oracle ASM 新增到現有資料庫OracleASM資料庫
- 使用自動儲存管理 (ASM)建立資料庫ASM資料庫
- oracle RAC 更換儲存遷移資料Oracle
- Oracle資料庫儲存結構之間的關係Oracle資料庫
- oracle 修改表空間儲存路徑Oracle
- Oracle資料庫管理 版主空間Oracle資料庫
- oracle清除資料庫表空間Oracle資料庫
- 安裝ORACLE 11.2.0.3 ASM for AIX HA (Non-RAC)OracleASMAI
- oracle asm 儲存限制OracleASM
- ASM空間爆滿導致資料庫掛起ASM資料庫
- PostgreSQL儲存智慧-空間聚集儲存SQL
- Oracle 10g RAC 資料儲存更換Oracle 10g
- 2 Day DBA-管理Oracle例項-管理資料庫儲存結構-關於表空間Oracle資料庫
- oracle RAC+DG 擴容ASM和表空間(Linux)OracleASMLinux
- oracle 11g rac 共享儲存壞掉後資料庫恢復Oracle資料庫
- Oracle Restart啟動資料庫例項故障一例( Oracle ASM儲存Spfile解析)OracleREST資料庫ASM
- Oracle資料庫的空間管理技巧Oracle資料庫
- MYSQL 儲存引擎 gis空間匹配以及HotDB-MySQL分散式資料庫MySql儲存引擎分散式資料庫
- ORACLE 11.2.0.3配置ASMOracleASM
- Oracle ASM儲存Spfile解析OracleASM
- ORACLE 資料庫 ASM磁碟組上新增控制檔案Oracle資料庫ASM
- RAC 11.2.0.3 ASM管理 (一) 引數ASM
- ORACLE RAC 裸裝置資料庫一節點表空間擴容錯誤新增資料檔案到本地的處理Oracle資料庫