- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Fskc problem
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-19-2004 11:39 PM
тАО04-19-2004 11:39 PM
Fskc problem
I have a problem after restart server (power outage) with fsck. I got error message that the fsck failed and I started it manually.
I'm not sure what else I can try it. Could you give me a hint ?
Thanks in advance
Radim
**********************************************
System : hp-ux 10.20
Filesystem : hfs
**********************************************
fsck -F hfs -y /dev/rdsk/c3t5d0
** /dev/rdsk/c3t5d0
** Last Mounted on /backup
** Phase 1 - Check Blocks and Sizes
CANNOT READ: BLK 2555936
CONTINUE? yes
CANNOT READ: BLK 2555936
CONTINUE? yes
CANNOT READ: BLK 2555936
CONTINUE? yes
FAILED READ OF BLOCK #2555936, RETRIED 2 TIMES
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
SUMMARY INFORMATION (INODE FREE) BAD
BAD CYLINDER GROUPS
FIX? yes
** Phase 6 - Salvage Cylinder Groups
83868 files, 0 icont, 6761194 used, 10637090 free (19482 frags, 1327201 blocks)
DISK MEDIA PROBLEMS ENCOUNTERED!
BAD BLOCKS WERE FOUND ON THE DISK.
***** FILE SYSTEM IS NOT CLEAN -- DISK MEDIA PROBLEMS ENCOUNTERED *****
***** FILE SYSTEM WAS MODIFIED *****
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 11:51 PM
тАО04-19-2004 11:51 PM
Re: Fskc problem
Hope you have a good backup. I think the only option is to recreate your filesystem and recover the data.
Hope this helps.
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 11:51 PM
тАО04-19-2004 11:51 PM
Re: Fskc problem
probably you have some physical problems and need to use mediainit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 11:53 PM
тАО04-19-2004 11:53 PM
Re: Fskc problem
Your disk has developed physical bad blocks.
Better take the backup and get it replaced.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 12:12 AM
тАО04-20-2004 12:12 AM
Re: Fskc problem
I managed to mount file system (with force option) and now I'm copying data to another disk and then I will try to recreate file system.
Radim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 01:17 AM
тАО04-20-2004 01:17 AM
Re: Fskc problem
I sometimes experience problems of that kind : it happens on a LVM stripe made up of 2 internal hd and 2 external hd (well, it's not an idea of mine!!!).
The problem was related to scsi cable that once a year should be changed.
To restore your filesystem without rebuilding it from scratch you could try to replace the bad superblock with a good one (find into /etc/sbtab a good superblock) and do a
fsck -b GOOD_SB DEVICE
Pax, R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 02:20 AM
тАО04-20-2004 02:20 AM
Re: Fskc problem
how do I find a good superblock ?
Radim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 03:00 AM
тАО04-20-2004 03:00 AM
Re: Fskc problem
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2004 03:03 AM
тАО04-20-2004 03:03 AM
Re: Fskc problem
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2004 03:10 AM
тАО04-21-2004 03:10 AM
Re: Fskc problem
What follows is a 'use at your own risk' method that sometimes saves the disk. I don't recommend it in cases where you have reason to believe that there are physically bad blocks on the disk (as opposed to just blocks with invalid checksums because power died in the middle of a write).
Sometimes you can recover if you dd the raw disk to itself from single user mode, including the options conv=sync and conv=noerror on the dd command line.
This should force the block with bad CRC to be rewritten as a block of zeroes. While this is still not a valid disk format, fsck is then able to complete the read and may be able to correct the problem.
Again, use at your own risk, preferably after you've saved whatever data you can by other means. It's worked for me a few times when I lived in thunderstorm country without a UPS to stabilize the power.