- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- need to replace bad disk in mirror
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
Discussions
Discussions
Forums
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
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
тАО08-28-2008 06:13 AM
тАО08-28-2008 06:13 AM
Re: need to replace bad disk in mirror
Once you replace the faulty disk successfully, follow these steps:
#ioscan -funC disk|more
new disk should recognised here!!
#pvcreate -f -B /dev/rdsk/c_t_d0
#vgcfgrestore -n vgname /dev/rdsk/c_t_d0
# vgchange -a y /dev/vgname
# vgsync vgname
check mirror status after vgsync is completed!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 06:18 AM
тАО08-28-2008 06:18 AM
Re: need to replace bad disk in mirror
why using "pvcreate -B ..." on a non-boot disk?
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-28-2008 06:38 AM
тАО08-28-2008 06:38 AM
Re: need to replace bad disk in mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 06:44 AM
тАО08-28-2008 06:44 AM
SolutionIf it is not currently showing up in ioscan, then what you should do is:
1) Replace the disk
2) ioscan -fnC disk
to make sure you see it. If the device file names are not showing up, then do
2a) insf -eC disk
to create the device files
2b) ioscan -fnC disk
to make sure the device files are now showing up in ioscan
3) pvcreate
4) vgcfgrestore
5) vgchange -a y vg??
6) vgsync
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 06:46 AM
тАО08-28-2008 06:46 AM
Re: need to replace bad disk in mirror
This could be different with 11.31 or SAS controllers, but you don't have this.
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-28-2008 07:05 AM
тАО08-28-2008 07:05 AM
Re: need to replace bad disk in mirror
why using "pvcreate -B ..." on a non-boot disk?
pvcreate -f disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 07:11 AM
тАО08-28-2008 07:11 AM
Re: need to replace bad disk in mirror
The "-f" is dangerous, if you use a wrong disk device file by accident.
The vgcfgrestore will do the same and more as the pvcreate - so pvcreate is not needed.
;-)
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-28-2008 07:31 AM
тАО08-28-2008 07:31 AM
Re: need to replace bad disk in mirror
ioscan -fnC disk
and
insf -eC disk
and the new device is seen by the system, I only need to do
vgcfgrestore -n vg01 /dev/rdsk/c4_t4_d0
vgchange -a y /dev/vg01
vgsync vg01
That's it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 07:34 AM
тАО08-28-2008 07:34 AM
Re: need to replace bad disk in mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 08:53 AM
тАО08-28-2008 08:53 AM
Re: need to replace bad disk in mirror
Bill
- « Previous
-
- 1
- 2
- Next »