HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Failing disk
Operating System - HP-UX
1825764
Members
2105
Online
109687
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
Go to solution
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
02-15-2008 04:43 AM
02-15-2008 04:43 AM
We have got Itanium Rx8620 with HP OS 11.23
You can see that the root disk is failing which is alternative bootpath
disk 1 0/0/0/2/0.5.0 sdisk CLAIMED DEVICE HP 73.4GMAX3073NC
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
/dev/dsk/c0t5d0s1 /dev/rdsk/c0t5d0s1
/dev/dsk/c0t5d0s2 /dev/rdsk/c0t5d0s2 (ALTERNATIVE)
/dev/dsk/c0t5d0s3 /dev/rdsk/c0t5d0s3
disk 2 0/0/0/3/0.4.0 sdisk CLAIMED DEVICE HP 73.4GMAX3073NC
/dev/dsk/c2t4d0 /dev/rdsk/c2t4d0 (PRIMARY ROOT PATH)
/dev/dsk/c2t4d0s1 /dev/rdsk/c2t4d0s1
/dev/dsk/c2t4d0s2 /dev/rdsk/c2t4d0s2
/dev/dsk/c2t4d0s3 /dev/rdsk/c2t4d0s3r
vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t5d0s2 auto:hpdisk rootdisk02 rootdg online failing
c2t4d0s2 auto:hpdisk rootdisk01 rootdg online
root@fiscliv:/home/root> setboot
Primary bootpath : 0/0/0/3/0.4.0
HA Alternate bootpath : 0/0/0/1/0
Alternate bootpath : 0/0/0/2/0.5.0 (Failing DISK)
We are replacing the mirrored boot disk but we also want to increase the /opt and /stand size so I have drafted a workplan as below, Just wanted to check I am on the right path.
WORKPLAN
Shutdown Server
HP Engineer to Replace Faulty Disk
• Boot Server
• Load image from Ignite network and Install HPUX on the new disk; change the size of OPT and STAND as proposed
• New disk details - 0/0/0/2/0.5.0
• Boot the server from new HW path 0/0/0/2/0.5.0
• Mirror the Secondary disk - 0/0/0/3/0.4.0
o /etc/vx/bin/vxrootmir –v –b c2t6d0 ( Mirror root disk)
o vxprint –g rootdg ( Verify root are mirrored)
o Setboot ( To check it)
o If required use setboot
• # setboot -p x/x/x/x.y.y <-- Set primary disk
• # setboot -a x/x/x/x.y.y <-- Set alternate disk
• # setboot -h x/x/x/x.y.y <-- Set HA alt. boot
• Check final boot from Primary
You can see that the root disk is failing which is alternative bootpath
disk 1 0/0/0/2/0.5.0 sdisk CLAIMED DEVICE HP 73.4GMAX3073NC
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
/dev/dsk/c0t5d0s1 /dev/rdsk/c0t5d0s1
/dev/dsk/c0t5d0s2 /dev/rdsk/c0t5d0s2 (ALTERNATIVE)
/dev/dsk/c0t5d0s3 /dev/rdsk/c0t5d0s3
disk 2 0/0/0/3/0.4.0 sdisk CLAIMED DEVICE HP 73.4GMAX3073NC
/dev/dsk/c2t4d0 /dev/rdsk/c2t4d0 (PRIMARY ROOT PATH)
/dev/dsk/c2t4d0s1 /dev/rdsk/c2t4d0s1
/dev/dsk/c2t4d0s2 /dev/rdsk/c2t4d0s2
/dev/dsk/c2t4d0s3 /dev/rdsk/c2t4d0s3r
vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t5d0s2 auto:hpdisk rootdisk02 rootdg online failing
c2t4d0s2 auto:hpdisk rootdisk01 rootdg online
root@fiscliv:/home/root> setboot
Primary bootpath : 0/0/0/3/0.4.0
HA Alternate bootpath : 0/0/0/1/0
Alternate bootpath : 0/0/0/2/0.5.0 (Failing DISK)
We are replacing the mirrored boot disk but we also want to increase the /opt and /stand size so I have drafted a workplan as below, Just wanted to check I am on the right path.
WORKPLAN
Shutdown Server
HP Engineer to Replace Faulty Disk
• Boot Server
• Load image from Ignite network and Install HPUX on the new disk; change the size of OPT and STAND as proposed
• New disk details - 0/0/0/2/0.5.0
• Boot the server from new HW path 0/0/0/2/0.5.0
• Mirror the Secondary disk - 0/0/0/3/0.4.0
o /etc/vx/bin/vxrootmir –v –b c2t6d0 ( Mirror root disk)
o vxprint –g rootdg ( Verify root are mirrored)
o Setboot ( To check it)
o If required use setboot
• # setboot -p x/x/x/x.y.y <-- Set primary disk
• # setboot -a x/x/x/x.y.y <-- Set alternate disk
• # setboot -h x/x/x/x.y.y <-- Set HA alt. boot
• Check final boot from Primary
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2008 05:53 AM
02-15-2008 05:53 AM
Re: Failing disk
Shalom,
Hope you did an Ignite backup before you tried that.
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
SEP
Hope you did an Ignite backup before you tried that.
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
SEP
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2008 06:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2008 01:56 AM
02-18-2008 01:56 AM
Re: Failing disk
Have you tried
# vxedit -g rootdg set failing=off c0t5d0s2 ?
Sometimes VxVM thinks, that the disk is broken, but it is not.
There is no risk. If the disk is really broken, the failing state reappears shortly.
If the disk is really broken, you can change the hot swap disk while the system is running.
You don't need to combine both actions, because they not depend on each other.
Remove the disk using vxdiskadm and follow the instructions. See also the mentioned document regarding bad disks.
Do you have OnlineJFS installed? Then it's possible to increase /opt (and even /stand).
But I never done this with VxVM. So I can't describe the exact way to do this. The basic way is to break the mirror of all volumes except lvol1 on one disk, then break the mirror of lvol1 on the other node and increase lvol1. Make sure, that lvol1, lvol2 and lvol3 are exactly continous. (I guess, the names are standvol, swapvol and rootvol in VxVM)
Be sure to have an ignite backup handy if things fail for some reason.
My 2 cents,
Armin
# vxedit -g rootdg set failing=off c0t5d0s2 ?
Sometimes VxVM thinks, that the disk is broken, but it is not.
There is no risk. If the disk is really broken, the failing state reappears shortly.
If the disk is really broken, you can change the hot swap disk while the system is running.
You don't need to combine both actions, because they not depend on each other.
Remove the disk using vxdiskadm and follow the instructions. See also the mentioned document regarding bad disks.
Do you have OnlineJFS installed? Then it's possible to increase /opt (and even /stand).
But I never done this with VxVM. So I can't describe the exact way to do this. The basic way is to break the mirror of all volumes except lvol1 on one disk, then break the mirror of lvol1 on the other node and increase lvol1. Make sure, that lvol1, lvol2 and lvol3 are exactly continous. (I guess, the names are standvol, swapvol and rootvol in VxVM)
Be sure to have an ignite backup handy if things fail for some reason.
My 2 cents,
Armin
And now for something completely different...
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP