- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Recovering from disk failure - looking for full fi...
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
Forums
Discussions
Discussions
Discussions
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
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
12-27-2005 08:36 AM
12-27-2005 08:36 AM
Recovering from disk failure - looking for full filesystem check
We are currently in the process of recovering from a widespread disk system failure, and we need to do a filesystem check on all our volumes to verify integrity. Is a 'fsck -o full' a good check? It seems to go rather quickly, so it does not appear to check the entire disk. Any ideas would be appreciated.
Thanks,
Steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2005 08:39 AM
12-27-2005 08:39 AM
Re: Recovering from disk failure - looking for full filesystem check
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2005 09:07 AM
12-27-2005 09:07 AM
Re: Recovering from disk failure - looking for full filesystem check
Using the -o full,nolog will make sure the fsck checks everything and that the filesystem is consistent.
fsck -F vxfs -o full,nolog /dev/vg_name/rlv_name
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2005 09:32 AM
12-27-2005 09:32 AM
Re: Recovering from disk failure - looking for full filesystem check
I will try doing an fsck -o full,nolog on the volumes.
By the way, what difference does it make using raw versus block devices during the fsck?
Thanks,
Steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2005 09:38 AM
12-27-2005 09:38 AM
Re: Recovering from disk failure - looking for full filesystem check
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2005 12:49 PM
12-27-2005 12:49 PM
Re: Recovering from disk failure - looking for full filesystem check
The only way to see if a disk is completely readable is to use dd. dd will bypass all the LVM structures and simply read each track on the disk. dd's default blocksize is 512 bytes, WAY TOO SMALL for checking a disk. Always use something like bs=64k or bs=128k for maximum performance, something like this:
dd if=/dev/rdsk/c12t6d0 of=/dev/null bs=128k
If there is a bad spot that can't be read, you'll get an I/O error or errno 5 message. Disk mirroring is mandatory for production systems, whether done inside a smart array controller or in the OS such as Mirror/UX.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 11:53 AM
12-28-2005 11:53 AM
Re: Recovering from disk failure - looking for full filesystem check
That's exactly the problem we are facing. We have had a failure in the array. Basically, a disk failed in a RAID-5 configuration, then a second disk failed before the first was replaced (matter of hours). Unfortunately, the second disk failure was not a hard failure, and corruption has occurred. A fsck -o full only checked out the directory structures, as you pointed out, and thus does not uncover the corruption in the data.