HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error on the vgcfg restore on one of boot disk
Operating System - HP-UX
1832897
Members
2281
Online
110048
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
02-10-2008 07:21 PM
02-10-2008 07:21 PM
Error on the vgcfg restore on one of boot disk
Hi All,
I am getting error when a do a vgcfgrestore.
error msg reads like this :
vgcfgrestore -n /dev/vg00 /dev/rdisk/disk4_p2 PV /dev/rdisk/disk4_p2 has the following bad block/s with allocated alternates which resides inside the user data area. Please run pvcreate [-B] before re-running vgcfgrestore. Should you wish to override this operation, re-run the command with the -F argument. In doing so, you may encounter data corruption.
Bad blocks: 8 1 149504 70765733 592 278 2144 8 2728 2912 16384 70749024 0 128 128 6 71648837
Here are the commands I ran when replacing a boot disk (based on info read online on hp.com for replacing SAS boot disks in 11.31):
Old disk has persistent DSF of /dev/disk/disk4
Detach failed disk from LVM
pvchange –a N /dev/disk/disk4_p2
remove old disk
replace with new disk
new disk has persistent DSF of /dev/disk/disk7
notify mass storage system the disk has been replaced
scsimgr replace_wwid –D /dev/rdisk/disk4
run io_redirect_dsf to reassign the old LUN instance number to the replacement disk
io_redirect_dsf –d /dev/disk/disk4 –n /dev/disk/disk7
partition the replacement disk with idisk
vi /tmp/idf
3
EFI 500MB
HPUX 100%
HPSP 400MB
Idisk –wf /tmp/idf /dev/rdisk/disk4
Restore the LVM configuration
vgcfgrestore –n /dev/vg00 /dev/rdisk/disk4_p2
Re-enable LVM to the replaced disk
pvchange –a y /dev/disk/disk4_p2
Set up boot area
mkboot –e –l /dev/rdisk/disk4
Update the auto boot file
vi /tmp/auto
boot vmunix –lq
efi_cp –d /dev/rdisk/disk4_p1 /tmp/auto /efi/hpux/auto
vgsync /dev/vg00
still i am facing the same issue.
please help on this.
thanks in advance
titu
I am getting error when a do a vgcfgrestore.
error msg reads like this :
vgcfgrestore -n /dev/vg00 /dev/rdisk/disk4_p2 PV /dev/rdisk/disk4_p2 has the following bad block/s with allocated alternates which resides inside the user data area. Please run pvcreate [-B] before re-running vgcfgrestore. Should you wish to override this operation, re-run the command with the -F argument. In doing so, you may encounter data corruption.
Bad blocks: 8 1 149504 70765733 592 278 2144 8 2728 2912 16384 70749024 0 128 128 6 71648837
Here are the commands I ran when replacing a boot disk (based on info read online on hp.com for replacing SAS boot disks in 11.31):
Old disk has persistent DSF of /dev/disk/disk4
Detach failed disk from LVM
pvchange –a N /dev/disk/disk4_p2
remove old disk
replace with new disk
new disk has persistent DSF of /dev/disk/disk7
notify mass storage system the disk has been replaced
scsimgr replace_wwid –D /dev/rdisk/disk4
run io_redirect_dsf to reassign the old LUN instance number to the replacement disk
io_redirect_dsf –d /dev/disk/disk4 –n /dev/disk/disk7
partition the replacement disk with idisk
vi /tmp/idf
3
EFI 500MB
HPUX 100%
HPSP 400MB
Idisk –wf /tmp/idf /dev/rdisk/disk4
Restore the LVM configuration
vgcfgrestore –n /dev/vg00 /dev/rdisk/disk4_p2
Re-enable LVM to the replaced disk
pvchange –a y /dev/disk/disk4_p2
Set up boot area
mkboot –e –l /dev/rdisk/disk4
Update the auto boot file
vi /tmp/auto
boot vmunix –lq
efi_cp –d /dev/rdisk/disk4_p1 /tmp/auto /efi/hpux/auto
vgsync /dev/vg00
still i am facing the same issue.
please help on this.
thanks in advance
titu
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2008 09:11 PM
02-10-2008 09:11 PM
Re: Error on the vgcfg restore on one of boot disk
MirrorDisk/UX greatly simplyfies the process of replacing a damaged disk. Instead of replacing the file system structures and restoring user data from tape, you can simply synchronize the replacement disk from the surviving mirror
#vgcfgrestore -n
#vgchange -a y
#vgsymc
#mount -a
a warrior never quits
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2008 09:31 PM
02-11-2008 09:31 PM
Re: Error on the vgcfg restore on one of boot disk
Hi,
I would like to understand how you are going to restore the data.
If you are going restore by copying the files on to the individual filesystems, then better go with a fresh VG instead of doing vgcfgrestore.
I would like to understand how you are going to restore the data.
If you are going restore by copying the files on to the individual filesystems, then better go with a fresh VG instead of doing vgcfgrestore.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2008 11:25 PM
02-26-2008 11:25 PM
Re: Error on the vgcfg restore on one of boot disk
thanks to all reply.
titu
titu
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