If you are trying to create an ASMLIB disk using an emcpower# partition and you get the next error:
ASMdisk:asmtool:Device"/dev/emcpowera11"isnotapartition[FAILED]
Then you will need to determinate if the emcpower# partition is valid.
解决步骤如下:
In order to confirm the emcpower# partition is valid:
1) Check if you can create a tablespace directly on the block partition:
[root@dbaasm~]#cd/dev
[root@dbaasmdev]#ls-lemcpowerd1
brw-rw----1rootdisk3,19Apr2916:00emcpowerd1
[root@dbaasmdev]#chmod777emcpowerd1
[root@dbaasmdev]#ls-lemcpowerd1
brwxrwxrwx1rootdisk3,19Apr2916:00emcpowerd1
[root@dbaasmdev]#exit
dbaasm.us.oracle.com:/u01/app/oracle/11.1/db:TEST:oracle>sqlplus“/as
sysdba”
SQL*Plus:Release11.1.0.6.0-ProductiononThuMay109:09:022008
Copyright(c)1982,2007,Oracle.Allrightsreserved.
Connectedto:
OracleDatabase11gEnterpriseEditionRelease11.1.0.6.0-Production
WiththePartitioning,OLAP,DataMiningandRealApplicationTestingoptions
SQL>createtablespacetestdatafile'/dev/emcpowerd1'size100M;
Tablespacecreated.
2) If so, then drop the previous tablespace.
3) Then check if a diskgroup can be created directly on the block partition:
Connectasrootandexecute:
#ddif=/dev/zeroof='/dev/emcpowerb1'bs=8192count=12800
Thenconnectasoracle,andthenconnecttotheASMinstancesandexecute:
SQL>altersystemsetasm_diskstring='/dev/emcpowerb1'scope=memory;
SQL>creatediskgroupTESTexternalredundancydisk'/dev/emcpowerb1';
Diskgroupcreated.
4) IfthetablespaceanddiskgroupcanbecreatedirectlyontheblockpartitionthenthiscouldbeaproblemwithASMLIBconfiguration.ThereforeyouwillneedtocheckifthecorrectASMLIBrpmswereinstalled.
5) Alternatively,youcancheckiftheproblemisreproducibleonanotheremcpower#partitionorasktheSAtorecreatetheoriginalone.
From Oracle
-------------------------------------------------------------------------------------------------------
Blog: http://blog.csdn.net/tianlesoftware
Email: dvd.dba@gmail.com
DBA1 群:62697716(满); DBA2 群:62697977(满) DBA3 群:62697850(满)
DBA 超级群:63306533(满); DBA4 群: 83829929 DBA5群: 142216823
聊天 群:40132017 聊天2群:69087192
--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请
分享到:
相关推荐
Today, mobile is a must for every company, but how you reach users will determinate success or failure. Over high-latency and unreliable cellular networks, performance on mobile is the key to success ...
v3.4 is using Snackbar types of TYPE_ACTION, TYPE_MESSAGE, TYPE_DETERMINATE, TYPE_INDETERMINATE. Features Two types of ProgressBar (TYPE_HORIZONTAL and TYPE_CIRULAR) are available (see ima
FastReport® VCL is an add-on component that allows your application to generate reports quickly and efficiently. FastReport® provides all the tools necessary for developing reports, including a ...
Animated Circle Loading View A determiante/indetermiante loading view animation. Based on android-...If percent is 100, the animation ends with success animation. On error you must call stopFailur
If you need to implement one of them in your projects, consider using this library. Tried to have simple methods, currently you just need to write three lines of codes! A Quick Overview What's In ...
AndroidButtonProgress This is a combination of button and progress bar....3rd show determinate progress bar, which tells the user that the download is progressing 4th show finish button
MaterialProgressBar ...Able to show a determinate circular progress. Used as a drop-in replacement for framework ProgressBar. Preview Sample APK Android 4.4.4 Samsung Android 5.0.1 (native im
在Android开发中,进度条是用户界面中常见的一种组件,用于显示任务的进度或状态,分为确定性(Determinate)和不确定性(Indeterminate)两种类型。本项目"DeterminateProgressBar"是一个专门针对确定性进度条的...
for (int i = 0; i ; i++) { // 更新进度条 progressBar.setProgress(i); // 延迟以模拟下载时间 try { Thread.sleep(100); } catch (InterruptedException e) { e.printStackTrace(); } // 检查是否达到...
let hud = MBProgressHUD.showAdded(to: view, animated: true) ``` 3. 设置模式:MBProgressHUD 提供了多种模式,如 determinate(确定性)和 indeterminate(不确定性)。对于下载或上传进度,使用 determinate ...
= null && progressDialog.isShowing()) { progressDialog.setProgress(progress); } } }); ``` 同时,别忘了在任务完成后关闭对话框: ```java progressDialog.dismiss(); ``` 在Dialog1文件中,可能包含了...
DeterminateProgressView 此视图旨在像标准android不确定进度条一样是可自定义的确定进度视图,但高度可自定义 它使用Kotlin构建,并支持大量的自定义选项以及方便的自动动画进度的方法。您可以使用XML和Kotlin / ...
= null && progressDialog.isShowing()) { progressDialog.dismiss(); } } }); ``` 在"test_progressDialog"这个示例项目中,可能包含了实现上述步骤的代码文件和资源。通常,你会看到一个Activity或Fragment...
在这个项目中,开发者可能关注了两种常用类型的进度条: indeterminate 和 determinate 进度条。 1. **Indeterminate Progress Bar**: - Indeterminate 进度条通常用于表示一个未知持续时间的操作,它会无限循环...
首先,ProgressBar分为两种类型:indeterminate(不确定进度)和determinate(确定进度)。indeterminate模式下,进度条会不断循环滚动,常用于表示任务的不可预知进度,如网络请求。determinate模式则显示明确的...
这个类提供了两种模式:indeterminate和determinate。indeterminate模式通常用于表示一个未知的等待时间,如加载动画;determinate模式则用于显示具体的进度百分比,适用于知道任务总耗时的情况。 **1. 创建进度条*...
它有两种模式:indeterminate(不确定)和determinate(确定)。在indeterminate模式下,进度条会不断滚动,表示一个持续但不知道具体时间的任务,如加载数据;在determinate模式下,进度条会根据实际进度填充,适合...
首先,ProgressDialog有两种主要类型:indeterminate(不确定)和determinate(确定)。indeterminate类型的ProgressDialog会显示一个无限循环的进度动画,表示任务的持续时间未知;而determinate则显示一个逐步填充...