Hi all, Not sure what has happened but I am trying to remove a directory that I thought was copied from an OCFS filesystem.
When I try and remove it I get the typical Device or resource busy error. This is on RHEL 4 update 8 kernel 2.6.9-89.0.26.ELsmp running OCFS2 version OCFS2 1.2.9 Mon Jan 17 07:38:31 EST 2011 (build 5e8325ec7f66b5189c65c7a8710fe8cb) Running lsof (as root) on the directory returns nothing. If I do a mount | grep ocfs I get the following (which is what I expect) # mount | grep ocfs ocfs2_dlmfs on /dlm type ocfs2_dlmfs (rw) /dev/emcpowerq1 on /d00/cfs type ocfs2 (rw,_netdev,heartbeat=local) /dev/emcpowere1 on /d00/html type ocfs2 (rw,_netdev,heartbeat=local) However, under cat /proc/fs/ocfs2 there are 3 device entries ls -l /proc/fs/ocfs2/ dr-xr-xr-x 2 root root 0 Jun 9 15:51 120_257 dr-xr-xr-x 2 root root 0 Jun 9 15:51 120_65 dr-xr-xr-x 2 root root 0 Jun 9 15:51 120_66 -r--r--r-- 1 root root 0 Jun 9 15:51 nodename -r--r--r-- 1 root root 0 Jun 9 15:51 version But on the other 3 servers in this cluster there are only 2 If I look at /dev for those devices they are as follows [root@dc-c02b01-app01 log]# ls -l /dev | grep 120 | egrep '257|65|66' brw------- 1 root root 120, 65 Feb 2 08:16 emcpowere1 brw------- 1 root root 120, 66 Feb 2 08:16 emcpowere2 brw------- 1 root root 120, 257 Feb 2 08:16 emcpowerq1 emcpowere2 should be umounted and doesn't show up when running mount, but it seems OCFS still thinks it is mounted. So what can I do to release this ? Many thanks Neil ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Downer This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Downer EDI and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
_______________________________________________ Ocfs2-users mailing list Ocfs2-users@oss.oracle.com http://oss.oracle.com/mailman/listinfo/ocfs2-users