- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX 8 Bad Blocks
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
03-15-2006 03:07 AM
03-15-2006 03:07 AM
/dev/dsk/0s0: CANNOT READ: BLK 259808
CONTINUE?
if I answer yes it repeats this message numerous times then changes to another block & repeats for several other bad blocks. If I stop & restart fsck, it goes throught the same cycle of bad blocks, so I assume they are not being fixed or marked bad. Is there a command to scan & mark bad blocks on the (scsi) disk?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 03:13 AM
03-15-2006 03:13 AM
Re: HP-UX 8 Bad Blocks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 03:22 AM
03-15-2006 03:22 AM
Re: HP-UX 8 Bad Blocks
fsck cannot fix any bad blocks, it untangles corrupted numbers in the directory and free space table. It can not relocate bad blocks and can not reconsturct missing data due to failed hardware.
You can initially check your disk by dd the disk to /dev/null. That would check reading the disk.
However, it probably best looking at replacement drive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 03:26 AM
03-15-2006 03:26 AM
Re: HP-UX 8 Bad Blocks
Chris Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 03:56 AM
03-15-2006 03:56 AM
Re: HP-UX 8 Bad Blocks
One technique that might work is to install a second identical disk in this box. You would then use dd to copy from the original to the new. Because I expect dd to have trouble reading these bad blocks, you would have to start dd multiple times specifying oseek= and iseek= to restart the dd's. Finally, remove the original disk and change the SCSI ID of the new disk to match the original and boot. The system would fsck this time as well but should be able to finish.
I honestly don't remember if there is a make_recovery command for HP-UX 8 but you can search for it. You are paying the price for running on unsupported hardware and software.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 04:47 AM
03-15-2006 04:47 AM
Re: HP-UX 8 Bad Blocks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 05:02 AM
03-15-2006 05:02 AM
Re: HP-UX 8 Bad Blocks
Unfortunately the CANNOT READ BLK is the kiss of death and there is not much you can do if you get this other than mediainit and if its the root disk then you would need to install from media.
In the installation, you can select the option to mediainit during the installation, but if you really have a flakey disk then you might end up right back in this situation again.
The problem with the "makers" suggestion above is that the system has to be functioning for that command to run and I'm not even sure if it was there in 8.x.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 05:14 AM
03-15-2006 05:14 AM
Re: HP-UX 8 Bad Blocks
If I remember ( I had in older times to fix regularly two series 700 in HPUX 9 and a 822 in 8.. so I can say there is no mkrs for serie 800!...) when you used fsck in single user with the file system unmounted you had to reboot without sync (I forgot the option but remembered if option is omitted you had to start all again not long after...)in order to sort yourself out of trouble...
And Yes ther is a /etc/mkrs utility for creating a recovery system in 8.XX BUT not for serie 800...
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000006442274
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 05:26 AM
03-15-2006 05:26 AM
Re: HP-UX 8 Bad Blocks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 05:26 AM
03-15-2006 05:26 AM
Re: HP-UX 8 Bad Blocks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 05:34 AM
03-15-2006 05:34 AM
Re: HP-UX 8 Bad Blocks
Never tried it, can't vouch for it, but you might give it a try....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 08:32 AM
03-15-2006 08:32 AM
Re: HP-UX 8 Bad Blocks
I have now found the owners guide
It gives the full model as:
HP Apollo 9000 Model 425e
It also contains a section on making a recovery tape using mkrs!!
I even found a dat tape box labelled "mkrs recovery tape" in my handwriting from a year ago, so I must have made one! (been to bed several times since then).
Alas the box was empty.... the regular user has no idea where it could be!!@##!! :-(
Could I get another mkrs tape from elsewhere? Would it have to be from the same model computer? presumably it needs to be HP-UX version 8 still. If I could find & load such a tape would it just load the os & leave the apps & data alone? If not I guess I could use the cpio backup tape to put all the software (ME10 cad) & data files back.
If I suceeded in all this then I will sort out a replacement disk asap.
Currently the system has deteriorated to the point where it panics & wont boot at all
CHris J.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 08:53 AM
03-15-2006 08:53 AM
SolutionIf you can install your disk in another machine as a data disk, you have a far better chance of creating a backup. The idea is that you would create addional mountpoints (e.g. /usrbad) and then use the -f option to force the mount of a dirty hfs filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 08:54 AM
03-15-2006 08:54 AM
Re: HP-UX 8 Bad Blocks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 10:52 PM
03-15-2006 10:52 PM
Re: HP-UX 8 Bad Blocks
This is one case where the "it's running so don't fool with it" attitude can come back to bite you. With hardware as old as this is it is amazing that the disk is still actually spinning. Disks fail. Bearings fail. Motors fail. Heads crash. With some luck you can possibly find another system that you could attach the failing disk to and get a good backup of what's left.
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 11:23 PM
03-15-2006 11:23 PM
Re: HP-UX 8 Bad Blocks
I left fsck running overnight & have got enough of the system running to get to a logon prompt & keep the laser systems running... Phew!!!
I shall be dumping all available data to tape & preparing to upgrade to alternative hardware/software (not Unix I'm afraid).
A cautionary tale!!
Elsewhere on my site I have 3 severs running business systems which ARE subject to a proper backup regime. I feel rather foolish for overlooking a system lurking on the shop floor.
Its time for a full distaster recovery assessment. I've heard of a BBC micro sitting on a pressbrake machine! What else could I have missed? :-0
How often does anyone else assess risks?
Thanks again for all your help.
Chris J.