Home > Cannot Remove > Aix Delete Directory With Contents

Aix Delete Directory With Contents

Contents

In some cases, one needs to reboot everything (the server and the clients). –vinc17 Jul 30 '14 at 9:41 Maybe this could explain things, but i cant be sure Registration is quick, simple and absolutely free. Yes, I know to unmount a file system before attempting the usual types of repairs, but this is a 24-7, computer and kicking all of the users off and stopping all No, do NOT try this on your colleague. ;-)) ) Use a tool like "fuser" to determine processes which still write to the filesystem/directory to remedy such a situation. http://dekovsoft.com/cannot-remove/rm-cannot-remove-directory-directory-not-empty.html

I used the following command to create a directory: mkdir shell scripts What I did not do is place an underscore between shell and scripts. Start a new thread here 1184694 Related Discussions How can i delete a file in Solaris with name -r ? and .. Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ https://www.ibm.com/developerworks/community/forums/thread.jspa?threadID=198620

Aix Delete Directory With Contents

bash-3.00# whoami root bash-3.00# uname -ax AIX cehazel 102983244 3 5 000623664C00 bash-3.00# Mount shows: /dev/hd1 /home jfs Feb 07 16:56 rw,log=/dev/hd8 I am able to partially re-create this problem, but But make sure there's only one match (do an echo mike* first to confirm). hope this helps u Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving... mikeaâ^Á^Äcnt]$ cd ../ Final Edit: I saw a local admin over this and it was dealt with by logging on to the server itself and deleting from there.

Thanks for the reply Vinodn. AIX 5.3 Hello guys: I am trying to erase a folder but I can't, keeps saying it's busy. Orphy More... Rm: Cannot Remove `': Directory Not Empty drwxrwxrwx 3 root sys 512 Mar 25 14:30 ..

You could possibly have some corrupted inodes. YUK.Some of the solutions are more elaborate than others, and  mostly involve a script. You will have to update /etc/exports and rerun exportfs -a. http://www.unix.com/aix/60158-can-not-delete-directory.html Not just the first ?.

Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. Rm: 0653-602 Cannot Read Having a problem logging in? Thanks everyone for your help, I'll mark this question as answered. SystemAdmin 110000D4XK 6902 Posts Re: Unable to delete directory and subdirectories ‏2008-03-28T14:11:24Z This is the accepted answer.

"rm -rf" Cannot Remove Directory Not Empty

bash-3.00# cd .. http://unix.stackexchange.com/questions/48227/cannot-remove-some-directory-directory-not-empty You did mention originally that you couldn't fsck. Aix Delete Directory With Contents rm: 0653-611 Directory oracle/EPP/sapdata3 is not empty. Rm: 0653-603 Cannot Remove Directory If I try and remove or unlink any of the individual subdirectories, or if I try and remove/unlink the top level /home/bad_dir, I get that the directory is not empty.

bash-3.00# The PID 15084 is my current session. check over here See the 5th edit. –mike-m Jul 30 '14 at 9:56 1 @vinc17 Please do not use "EDIT" in your answer, because for new reader is doesn't make sense (there is Frankly, I'm little afraid of what might happen if I did run it - is it safe to do so on an IBM JFS2 filesystem? For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. Aix Remove Directory With Special Characters

share|improve this answer edited Jul 30 '14 at 16:25 Anthon 47.9k1463127 answered Jul 30 '14 at 16:20 walsht 12 part of the problem is that the characters in mikeaâcnt See my final edit –mike-m Jul 31 '14 at 16:24 add a comment| up vote 17 down vote One way to delete files/direcories like this is by their inode-reference. Updated on 2008-03-28T13:01:28Z at 2008-03-28T13:01:28Z by esv orphy 100000E3SF 480 Posts Re: Unable to delete directory and subdirectories ‏2008-03-28T13:15:31Z This is the accepted answer. his comment is here While I am excluding this directory in the daily tar backups, I don't know if it is inducing any problems into my monthly mksysb builds that could come back to bite

Forum Today's Posts C and C++ FAQ Forum Actions Mark Forums Read Quick Links View Forum Leaders What's New? Rm Cannot Remove Is A Directory Blogs Recent Entries Best Entries Best Blogs Blog List Search Blogs Home Forums HCL Reviews Tutorials Articles Register Search Search Forums Advanced Search Search Tags Search LQ Wiki Search Tutorials/Articles Search So you could also remove that directory by issuing: rm -fr -- --rw-r-r-- –user195488 Apr 11 '13 at 12:21 This is a much better answer than the wildcard one.

Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest

Unix & Linux Stack Exchange works best with JavaScript enabled Register Remember Me? This site is not affiliated with Linus Torvalds or The Open Group in any way. Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. Rm Directory Not Empty If not, give it a try as root and see how it goes.

That's a smart way, if you're careful not to find too much and remove too much.Some run commands such ls or du, and check the results are what you'd expect from What's the name of style where GM assumes idiotic behaviour unless stated otherwise? In other words, although some people think that Linux doesn’t force a particular character encoding on filenames, in practice it already requires UTF-8 encoding for filenames in certain cases. http://dekovsoft.com/cannot-remove/cannot-remove-directory-not-empty-linux.html drwx------ 1 ting ting 0 Sep 13 22:34 .. -rw------- 1 ting ting 0 Sep 13 22:34 .fuse_hidden0001d4bf00000006 When I try to rm .fuse_hidden0001d4bf00000006, it is deleted, but another new .fuse_hidden0001d4bf00000007

maybe you can delete it after that. orphy 100000E3SF 480 Posts Re: Unable to delete directory and subdirectories ‏2008-03-28T13:46:52Z This is the accepted answer. share|improve this answer answered Sep 16 '15 at 7:49 mvdnes 1113 Thats ingenious, if i meet this again, il keep this in mind. drwxrwxr-x 10 root system 256 Apr 04 11:10 ..

you need to force it using -f Doomhammer View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Doomhammer 08-09-2006, 01:35 PM #3 How to install Mediawiki in Ubuntu addFieldToFilter() And Condition in magento2 Why did Michael Corleone not forgive his brother Fredo? thanks tredegar blancs View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by blancs 05-08-2008, 02:46 PM #10 Cyhaxor Member Registered: Nov UTF-8 is a longer-term approach.

The option is -depth, which as the find command documentation explains: -depth Always evaluates to the value True.