HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Replace a mirrored disk that belongs to a spanned ...
Operating System - HP-UX
1833780
Members
2627
Online
110063
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
08-17-2010 02:32 PM
08-17-2010 02:32 PM
I have read the When good disks go bad and a lot of forum discussions, but I have not come across that has this setup (and maybe it does not matter, but I want to validate that).
The way that I have it currently setup is that I have four disks in the server where the VG spans across two PV and that pair of disks is Strictly mirrored to the other. Here is the lvlnboot output:
# /usr/sbin/lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t0d0 (0/0/1/1.0.0) -- Boot Disk
/dev/dsk/c1t2d0 (0/0/1/1.2.0)
/dev/dsk/c2t0d0 (0/0/2/0.0.0) -- Boot Disk
/dev/dsk/c2t2d0 (0/0/2/0.2.0)
Boot: lvol1 on: /dev/dsk/c1t0d0
/dev/dsk/c2t0d0
Root: lvol3 on: /dev/dsk/c1t0d0
/dev/dsk/c2t0d0
Swap: lvol2 on: /dev/dsk/c1t0d0
/dev/dsk/c2t0d0
Dump: lvol2 on: /dev/dsk/c2t0d0, 0
The failing (but still active) disk is c1t2d0.
AFAIK, the procedure would be to:
1) remove the disk a few centimeters and let it spin-down
2) remove the disk and wait a few minutes before replacing it with the new one
3) vgcfgrestore -n /dev/vg00 /dev/rdsk/c1t2d0
4) vgchange -a y /dev/vg00
5) mkboot /dev/rdsk/c1t2d0
6) mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t2d0
7) lnlnboot -R
8) vgsync /dev/vg00
9) check with lvdisplays
Is there a difference in replacing a PV that belongs a spanned VG as opposed to a single PV VG?
The way that I have it currently setup is that I have four disks in the server where the VG spans across two PV and that pair of disks is Strictly mirrored to the other. Here is the lvlnboot output:
# /usr/sbin/lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t0d0 (0/0/1/1.0.0) -- Boot Disk
/dev/dsk/c1t2d0 (0/0/1/1.2.0)
/dev/dsk/c2t0d0 (0/0/2/0.0.0) -- Boot Disk
/dev/dsk/c2t2d0 (0/0/2/0.2.0)
Boot: lvol1 on: /dev/dsk/c1t0d0
/dev/dsk/c2t0d0
Root: lvol3 on: /dev/dsk/c1t0d0
/dev/dsk/c2t0d0
Swap: lvol2 on: /dev/dsk/c1t0d0
/dev/dsk/c2t0d0
Dump: lvol2 on: /dev/dsk/c2t0d0, 0
The failing (but still active) disk is c1t2d0.
AFAIK, the procedure would be to:
1) remove the disk a few centimeters and let it spin-down
2) remove the disk and wait a few minutes before replacing it with the new one
3) vgcfgrestore -n /dev/vg00 /dev/rdsk/c1t2d0
4) vgchange -a y /dev/vg00
5) mkboot /dev/rdsk/c1t2d0
6) mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t2d0
7) lnlnboot -R
8) vgsync /dev/vg00
9) check with lvdisplays
Is there a difference in replacing a PV that belongs a spanned VG as opposed to a single PV VG?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2010 06:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2010 08:03 PM
08-17-2010 08:03 PM
Re: Replace a mirrored disk that belongs to a spanned VG
According to the output above this disk is not a boot disk, so you don't need steps 5) and 6).
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2010 06:26 AM
08-18-2010 06:26 AM
Re: Replace a mirrored disk that belongs to a spanned VG
Ah, yes Kapil... I didn't catch that (D'oh!).
Good point Torsten, it slipped my mind that I was not replacing a boot drive, so I don't really need to do that (although it would not have hurt to do it).
That's why I like running this by the pros.
Good point Torsten, it slipped my mind that I was not replacing a boot drive, so I don't really need to do that (although it would not have hurt to do it).
That's why I like running this by the pros.
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