LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2009, 12:39 AM   #1
sanu_sasidharan
LQ Newbie
 
Registered: Aug 2009
Location: Bangalore India
Posts: 3

Rep: Reputation: 0
File getting automatically deleted in RHEL5


Hi folks,

We are facing an issue in our file system. One of the file is getting deleted from the filesyetems. We tried uploading the file to the system after every 2 day and it will work for one day the next day the file is getting deleted automatically!!!.

The folder in which the file is hosted is having the following permissions
drwxrwx-w and the system has two user root and xyz.

The folder contains files of root and xyz.
The root files has the following permission -rw-r--r--
and the xyz user has the following permision -rwxrwxr-x
The file system is hosted on RHEL5 and the folder is mounted on the application Server.

We would like to get the following query clarified

1. Is there any daily process or cron job which cleans/delete the file. This things is happening to only one file in a collections of thousands of file !!
2. Is there any way to recover the deleted files. We tried using the slocate command after updating the db and could find anything. Normally when a file is deleted it is moved to .Thrash folder? Is there any way to confirm that the file is completely deleted from the file system.
3. Is there any way in which we can mointor a file. Like when the file is delete/modified an alert/mail is send to root user. We will be uploading the file again and this time we need to track what is causing the deletion of the file from the file system.

4. We tried using the debugs commmand and end up with the following error. does this makes any sense?

Code:
[root@A2MD03133L ~]# debugfs /home/ssl
debugfs 1.35 (28-Feb-2004)
/home/ssl: Attempt to read block from filesystem resulted in short read while opening filesystem
debugfs:  lsdel
lsdel: Filesystem not open
debugfs:
 
Old 08-20-2009, 12:44 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
See this thread http://www.linuxquestions.org/questi...-files-748924/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
my rhel5 gnome desktop is not comming automatically on boot sukhendu Linux - Newbie 1 06-01-2009 06:27 PM
Deleted log file - how to get back via file descriptor and keep alive? prollocks Linux - General 1 05-29-2009 09:08 AM
/boot/grub/grub.conf file has been deleted on rhel5 diwakars Linux - Newbie 5 12-03-2008 11:21 AM
Need help to recover Deleted file - (file was saved in doc) Pravab Ubuntu 2 08-17-2008 10:57 AM
Deleted file klmn1 Linux - Software 2 12-12-2003 06:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration