- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: strange mirror behaviour
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
07-12-2007 03:47 AM
07-12-2007 03:47 AM
I replaced a powerfailed disk yesterday, in a surestore rack. It was a root disk and was mirrored. I ran vgcfgrestore, vgsync and the necessary mkboot stuff. I checked each logical volume with lvdisplay -v, and all root lv's were showing current/current.
As a test I rebooted the machine and booted from the alternate path (the new disk) everything looked good. so I gave it 1 final reboot for it to boot from the primary path.
When the box came up for the final time I checked the lvdisplays again, and the whole of lvol3 (/) was showing as stale on the primary path (not the disk we replaced). All other lv's were fine.
I ran an lvsync on lvol3 and all seems ok now. Why did this happen?
Details
hpux 11.00, R390
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2007 04:02 AM
07-12-2007 04:02 AM
SolutionI assume that you have installed the latest (or more accurately last) LVM/SCSI patches for 11.0 --- which are now several years old.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2007 04:33 AM
07-12-2007 04:33 AM
Re: strange mirror behaviour
Surestore, thats a long I heard that term. ;) I suppose you have a fc10 or sc10 setup.
Anyway, how did you notice that the disk was powerfailed ? Through LVM powerfailed messages logged in syslog.log, or was the disk physically "powerfailed" ?
If its LVM powerfailed messages, maybe it was not the replaced disk who was causing them, but another hardware component on the same bus as the disks.
Also it looks like youre configuration has a external bootdisk vs the more standard, in that time,internal mirrored bootdisk configuration.
If you do it externally, you need to be sure that everything is correctly "terminated". And especially D/R but also Lclasses, for that reason, had there bootdisks mostly "internally" mirrored. (unless it was a MC/ServiceGuard config)
Anyway monitor youre configuration. If you dont see (scsi/lvm) errors popping up in /var/adm/syslog/syslog.log and the disklogs in /var/stm/logs/os/raw*.cur.log, dont not grow steadily, you should be alright.
Else, log a hardware call.
Greetz,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2007 04:40 AM
07-12-2007 04:40 AM
Re: strange mirror behaviour
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2007 04:49 AM
07-12-2007 04:49 AM
Re: strange mirror behaviour
I've read the whole thread. Its a pretty old system maybe even beyond hardware support.
I'd run cstm mstm or xstm and excersize those disks.
I'm an adherent to the temporary timeout theory proposed by A. Clay, because I've seen it happen.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2007 04:58 AM
07-12-2007 04:58 AM
Re: strange mirror behaviour
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2007 07:47 PM
07-12-2007 07:47 PM
Re: strange mirror behaviour
Just wondering since if you use correct cables and terminators there's no need to see any difference in behaviour between internal and external disks.
For systems like the (old) K-Class and R-Class it's a wise decision to use external hotswap disks since you cannot use those internally.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2007 08:31 PM
07-12-2007 08:31 PM
Re: strange mirror behaviour
Its seems to be working fine again now. The surestore is an HVD10.
I'll continue to monitor the logs and see how it goes.
Thanks for your ideas.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2007 03:00 AM
07-13-2007 03:00 AM
Re: strange mirror behaviour
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2007 04:10 AM
07-16-2007 04:10 AM
Re: strange mirror behaviour
That said, normally my intuition is good, so, a possible explanation why only lvol3 was affected and not the other lvols, might be the following.
During a bootup of a system, its the rootfilesystem, i.e. lvol3, that is getting first accessed.
In a shared scsi IO MC/SG, were vg00 bootdisks are located on the same shared scsi bus, the scsi ID of the disks, behind the vg00 rootdisks, begins to play a role, when the disks are trying to get IO from the disks.
normally you have something like the following setup.
systemA vg00 prim vg00 mir systemB
systemA systemB
scsi ID#5 scsi ID#0
init 7 +-----+------------+-------+init 6
init 7 +-----+------------+-------+init 6
scsi ID#0 scsi ID#5
vg00 mir vg00 prim
system A systemB
The above should be the correct setup. the disk with scsiID#5 is I think after the scsi ID#7 and scsi ID#6, the one that has the highest priority, when getting "served" by IO. scsi ID#0 is probably the one that "will get last served"..
Anyway in that respect, its not impossible that if a disk with a higher priority scsi ID then the primary vg00 disk, is doing IO to system B, that system A will timeout on IO to its lower scsi disk# .. and thus gets stale extents only for that lvol.
Greetz,
Chris