HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What's wrong with bad block replacement
Operating System - HP-UX
1834461
Members
3121
Online
110067
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
01-19-2003 04:51 PM
01-19-2003 04:51 PM
What's wrong with bad block replacement
I have just fixed a system which got a bad block in it's swap (lvol2) logical volume. The LV was mirrored but refused to resync because one of the PE's had a bad block in it.
What I did was use lvchange -r to turn on bad block relocation then an lvsync and everything is normal again.
But in reviewing the LVM documentation it explicitly says NOT to turn on bad block relocation for the boot, root and dump - does not mention swap but other people have told me not to set it for swap either. It also says that by default bad block relocation is turned on. This is wrong, by default it turned off. But my real question is why is bad block replacement so bad for boot/root/dump (swap?)? Surely this means that a single media error will take out the whole system! A local engineer said that if you get a bad block error the whole disk needs to be replaced. This sounds a bit dramatic especially when other UNIX's seem to handle bad blocks quite transparently.
What I did was use lvchange -r to turn on bad block relocation then an lvsync and everything is normal again.
But in reviewing the LVM documentation it explicitly says NOT to turn on bad block relocation for the boot, root and dump - does not mention swap but other people have told me not to set it for swap either. It also says that by default bad block relocation is turned on. This is wrong, by default it turned off. But my real question is why is bad block replacement so bad for boot/root/dump (swap?)? Surely this means that a single media error will take out the whole system! A local engineer said that if you get a bad block error the whole disk needs to be replaced. This sounds a bit dramatic especially when other UNIX's seem to handle bad blocks quite transparently.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2003 06:24 PM
01-19-2003 06:24 PM
Re: What's wrong with bad block replacement
Hi Richard,
Check the following
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063198322
As per the doc, Bad block relocation is not supported by hpux for root / boot / dump and primary swap. But why it is not supported, only hp engineers has to explain us. You raised a very good point here. Why we have to replace the whole root disk if there is a single bad block occurs?. I'll try to get more info on this, if i get I'll post here.
Srini.
Check the following
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063198322
As per the doc, Bad block relocation is not supported by hpux for root / boot / dump and primary swap. But why it is not supported, only hp engineers has to explain us. You raised a very good point here. Why we have to replace the whole root disk if there is a single bad block occurs?. I'll try to get more info on this, if i get I'll post here.
Srini.
Be on top.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2003 06:26 PM
01-19-2003 06:26 PM
Re: What's wrong with bad block replacement
I you ever get into a problem with disk and timeouts, you don't want bad block relocation on.
If you get a bad block, you don't want that disk on your HP-UX system any more.
While your system is still running, make a make_tape_recovery backup, arrange for hardware to replace the disk and save yourself some pain.
Ignore HP's advice on the OS at your peril.
try the dmesg command. If you get an lbolt, let me shout....GET RID OF THE DISK
Thank you very much.. That felt good.
Steve
If you get a bad block, you don't want that disk on your HP-UX system any more.
While your system is still running, make a make_tape_recovery backup, arrange for hardware to replace the disk and save yourself some pain.
Ignore HP's advice on the OS at your peril.
try the dmesg command. If you get an lbolt, let me shout....GET RID OF THE DISK
Thank you very much.. That felt good.
Steve
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP