FILE ON OCFS CANNOT BE DELETED LINUX ERROR: 16: DEVICE OR RESOURCE BUSY
Bug No.
3535621
Filed
26-MAR-2004
Updated
29-SEP-2006
Product
Linux OS
Product Version
9.2.0.4
Platform
Red Hat Enterprise Linux Advanced Server Itanium
Platform. Version
2.1
Database Version
9.2.0.4
Affects Platforms
Port-Specific
Severity
Severe Loss of Service
Status
Closed, Not a Bug
Base Bug
N/A
Fixed in Product Version
No Data
Problem statement:
FILE ON OCFS CANNOT BE DELETED LINUX ERROR: 16: DEVICE OR RESOURCE BUSY
*** 03/26/04 12:28 am ***
TAR:
----
.
PROBLEM:
--------
This is 2 node RAC system where R1.0.10-1 is used.
A data file can't be deleted by 'rm' command after drop tablespace.
.
SQL> create tablespace mahya datafile
2 '/ocfs9204/oradata/o9204/mahya01.dbf' size 10M;
Tablespace created.
.
SQL>
--
SQL> drop tablespace mahya;
Tablespace dropped.
--
[ora9204@jpcom414c o9204]$ rm mahya01.dbf
rm: cannot unlink `mahya01.dbf': Device or resource busy
.
DIAGNOSTIC ANALYSIS:
--------------------
I can't any errors in messages, despite of setting OCFS DEBUG.
echo -1 > /proc/sys/kernel/ocfs/debug_level
echo -1 > /proc/sys/kernel/ocfs/debug_context
But CT's one have some errors. Ct use OCFS R1.0.9-12.
.
Mar 12 00:22:38 sufg1e14 kernel: (19116) ERROR: status = -16,
Common/ocfsgendlm.c, 1586
Mar 12 00:22:38 sufg1e14 kernel: (19116) ERROR: status = -16,
Common/ocfsgencreate.c, 1027
Mar 12 00:22:38 sufg1e14 kernel: (19116) ERROR: status = -16,
Common/ocfsgencreate.c, 1770
.
This problem can occur only
-when connection of 'create tablespace' remains,
-when create and delete are performed from separate node
.
When this problem occurs, the result of 'lsof' command is as follows.
Server process which performed 'create tablespace' is holding the file.
.
[root@jpcom4159 root]# lsof /ocfs9204/oradata/o9204/mahya01.dbf
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
oracle 18080 ora9204 18u REG 8,65 10493952 2691584
/ocfs9204/oradata/o9204/mahya01.dbf
.
from ps, PID=18080 is server process which performed 'create tablespace'
ora9204 18080 18079 0 15:58 ? 00:00:00 oracleo92041
(DESCRIPTION=(LOCAL
.
WORKAROUND:
-----------
none
.
RELATED BUGS:
-------------
none
.
REPRODUCIBILITY:
----------------
Rep? Platform. RDBMS Ver.
------- ------------------------------ ----------
Y(100%) 46-Intel Based Server LINUX 9.2.0.4.0
.
TEST CASE:
----------
NODE1: create tablespace and leaves this connection(SQL*Plus).
NODE2: drop tablespace
any NODE: rm < datafile>
.
STACK TRACE:
------------
none
.
SUPPORTING INFORMATION:
-----------------------
I put files.tar.Z on ess30 in /bug3535621/
.
[files of CT]
R9.2.0.4(RAC)
OCFS R1.0.9-12
OS:Red Hat Linux Advanced Server release 2.1AS
-alert_FGNB1001.log
-messages.log
.
[files of me]
R9.2.0.4(RAC)
OCFS R1.0.10-1
OS:Red Hat Linux Advanced Server release 2.1AS
.
I set OCFS DEBUG when following create-drop tablespace.
-messades_4159
[alert_o92041.log]
Fri Mar 26 15:59:02 2004
create tablespace mahya datafile
'/ocfs9204/oradata/o9204/mahya01.dbf' size 10M
Fri Mar 26 15:59:14 2004
Completed: create tablespace mahya datafile
-messages_414c
[alert_o92042.log]
Fri Mar 26 15:58:03 2004
drop tablespace mahya
Fri Mar 26 15:58:04 2004
Completed: drop tablespace mahya
.
24 HOUR CONTACT INFORMATION FOR P1 BUGS:
----------------------------------------
N/A
.
DIAL-IN INFORMATION:
--------------------
N/A
.
IMPACT DATE:
------------
N/A
.
*** 03/26/04 12:39 am ***
*** 03/26/04 02:04 am *** (CHG: Asg->NEW OWNER)
*** 03/26/04 02:11 am *** (CHG: Sta->10)
*** 03/26/04 02:11 am ***
*** 03/28/04 04:49 pm *** (CHG: Sta->16)
*** 03/28/04 04:49 pm ***
*** 03/28/04 06:34 pm *** (CHG: Sta->11 G/P->P Asg->NEW OWNER)
*** 03/28/04 06:34 pm ***
*** 03/29/04 11:10 am *** (CHG: Sta->32 Asg->NEW OWNER)
*** 03/29/04 11:10 am ***
*** 03/30/04 10:09 am *** (CHG: Sta->92)
*** 04/26/04 06:05 am *** (CHG: Sta->11)
*** 04/26/04 06:05 am ***
*** 04/28/04 02:06 am ***
*** 04/28/04 02:51 pm *** (CHG: Sta->92)
*** 04/28/04 02:51 pm ***
*** 09/29/06 04:46 pm *** (CHG: Comp->OCFS)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-410797/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Linux rm -rf 之rm: cannot remove `linux': Device or resource busyLinuxREMdev
- open failed: EBUSY (Device or resource busy)AIdev
- Oracle ASM oracleasm createdisk "Device or resource busy"OracleASMdev
- device-mapper create ioctl failed: Device or resource busydevAPPAI
- cannot use '/dev/da1': must be a block device or regular filedevBloC
- 452 Error writing file: A file cannot be larger than the value set by ulimit.ErrorMIT
- O/S-Error: (OS 33) The process cannot access the fileError
- 【轉】Cannot load ICU resource bundle 'ggMessage', error code 2Error
- libmysqlclient.so.16: cannot open shared object file: No such file or directoryIBMMySqlclientObject
- Retrieve deleted files on Unix / Linux using File Descriptors [ID 444749.1]deleteLinux
- Linux Error: 11: Resource temporarily unavailableLinuxErrorAI
- error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No suchErrorWhileIBMMySqlclientObject
- ORA-00054:resource busy and acquire with nowaitUIAI
- ORA-00054: resource busy and acquire with NOWAITUIAI
- Oracle wait interface - ORA-00054: resource busyOracleAI
- Raw Device vs File Systemdev
- Resource is out of sync with the file system
- 解決umount.nfs: /data: device is busy 問題NFSdev
- 新建partition出現 device busy問題處理dev
- ORA-00054: resource busy and acquire with NOWAIT specifiedUIAI
- ora-00054:resource busy and acquire with nowait specifiedUIAI
- 建立raw device tablespace報Linux Error: 13: Permission denieddevLinuxError
- Error-Expected resource of typeError
- Failed to load libGL.so error libGL.so: cannot open shared object file: No such file or directoryAIErrorObject
- CRS: Resource in UNKNOWN state and srvctl Cannot Start/Stop Resource_845709.1
- oracle之 RA-00054: resource busy and acquire with NOWAITOracleUIAI
- cannot set user id: Resource temporarily unavailableAI
- linux:ora-27054:nfs file system errorLinuxNFSError
- ORA-00054: resource busy and acquire with NOWAIT specified處理UIAI
- Eclipse:Resource is out of sync with the file systemEclipse
- error while loading shared libraries: libodm9.so: cannot open shared object file: No such file or diErrorWhileObject
- Linux-x86_64 Error: 28: No space left on device問題LinuxErrordev
- ERROR 1661 (HY000): Cannot execute statement: impossible to write to binaryError
- 解決ImportError: libmysqlclient_r.so.16: cannot open shared object fileImportErrorIBMMySqlclientObject
- mongodb錯誤解決辦法-bash: ./mongod: cannot execute binary file: Exec format errorMongoDBORMError
- emulator: ERROR: unknown virtual device nameErrordev
- ora-00054:resource busy and acquire with nowait specified解決方法UIAI
- Dynamics CRM the field cannot be deleted because it is used in one or more process的解決方法delete