- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: Find file residing in block.
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
тАО04-22-2007 01:33 PM
тАО04-22-2007 01:33 PM
Find file residing in block.
Is it possible to find what file is in a given block ?
I have a boot disk which has an irrecoverable bad block ( hardware error in uerf ) and I need to know what file I have lost. It is V5.1B using AdvFS.
Thanks,
John W.
========
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2007 03:02 PM
тАО04-22-2007 03:02 PM
Re: Find file residing in block.
I thought I remembered any hardware error being reported with the inode number. Maybe I'm dreaming. Check errorlog and/or /var/adm/message?
For the system to find the data to be bad, it must have been trying to use it. What was it doing at that time?
Anyway... two suggestions.... untested...
1) some brute force
find / -xdev | perl_script
perl_script:
$name = shift;
foreach (`/usr/sbin/showfile -x $name`) {
:
2) all force, no thinking
find / -xdev -exec xargs grep -c {} \;
... untill it hurts.
hope this helps some,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2007 03:32 PM
тАО04-22-2007 03:32 PM
Re: Find file residing in block.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2007 11:44 AM
тАО04-26-2007 11:44 AM
Re: Find file residing in block.
Sorry for the delayed reply. My customer decided to just go ahead and replace the disk and restore from backups so I didn't get a chance to try your suggestions. Thanks anyway.
Best regards,
John.
======
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2007 11:46 AM
тАО04-26-2007 11:46 AM