- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: recovering inodes
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2009 02:57 PM
тАО07-19-2009 02:57 PM
how to recover deleted inodes?
i heard that "rm" will only remove inodes not files.Files will be there in disk and new files overwrite that block with new inode.I believe if we recover deleted inode ,we can recover files of that inode.
plz correct me if i wrong and tell me how to recover deleted files/inodes.
regards
himacs
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2009 03:25 PM
тАО07-19-2009 03:25 PM
Re: recovering inodes
Yes, the data will remain on the disk until it is over-written. However, you should consider your file irrecoverable.
Unix does exactly what you tell it to do and turning back isn't one of its options.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2009 03:31 PM
тАО07-19-2009 03:31 PM
Re: recovering inodes
thanx for ur reply.
So deleted files are not recoverable..?
no such recover tools vailable in unix..
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2009 04:14 PM
тАО07-19-2009 04:14 PM
Re: recovering inodes
> So deleted files are not recoverable..?
no such recover tools vailable in unix..
If you delete (remove) a file that is still open (in-use) by a process then you have a better opportunity to recover it, at least in Linux and/or Unix flavors with a '/proc' filesystem. That isn't HP-UX, though.
You might be able to salvage some of the data if your filesystem isn't actively changing by using 'dd' to read the whole filesystem and something like 'grep' to identify potential blocks of data.
Again, you should consider the file lost. But then, you have a backup, don't you?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2009 04:48 PM
тАО07-19-2009 04:48 PM
SolutionYou are thinking about Windows filesystems where files aren't deleted at all but simply renamed. Unix inodes are simply a collection of data about space on the disk and then the inode is marked as empty, the details are erased. The data is still on the disk but you would have to examine millions of bytes of data looking for a pattern that you know is in the deleted file. If you don't know what the data contains, the file is not recoverable.
Even if you know the patterns found in your file, you have to immediately shutdown your system to prevent any new files from clobbering your deleted file -- that file is empty space for the filesystem. This is also true for Windows but since these boxes don't often have 50 users and several hundred processes.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 01:14 AM
тАО07-22-2009 01:14 AM
Re: recovering inodes
Thanx for the information..
points assigned...
regards
himacs