- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ignite restore issue on /dev/vg01
Operating System - HP-UX
1756553
Members
2293
Online
108848
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
Discussions
Discussions
Forums
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
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
тАО03-21-2008 01:31 AM
тАО03-21-2008 01:31 AM
ignite restore issue on /dev/vg01
context: HP-UX 11iV1.
backup system using
/opt/ignite/bin/make_tape_recovery -A -v -d /dev/rmt/c3t3d0BESTn -x exclude= -x exclude=...
using: (B5725AA C.6.1.44 HP-UX Installation Utilities (Ignite-UX)
The system consists in /dev/vg00 (mirrored using mirror-disk-UX), and /dev/vg01 also mirrored. Both using 2 PV.
All filesystems from /dev/vg01 are excluded from tape backup using the exclude options because contain large short living data, not relevant for a full restoration of system.
The backup completes successfully, with no abnormal message in log.
When restoring the system using this tape, I get the following error messages for /dev/vg01:
insf: Installing special files for pseudo driver root
* Boot_From_Client_Disk: Complete
* Run_SD_Configure_Scripts: Begin
* Run_SD_Configure_Scripts: Complete
* Run_Postconfigure_Scripts: Begin
* Applying the networking information.
* Applying the timezone: MET-1METDST.
* Run all specified post-configure scripts.
* Executing:
"/var/adm/sw/products/EMS-KRMonitor/KRMON-RUN/iux_postconfig".
ERROR: Cannot configure a dlkm driver.
ERROR: The script:
"/var/adm/sw/products/EMS-KRMonitor/KRMON-RUN/iux_postconfig" failed,
exit code was 1.
* Executing user specified script:
"/opt/ignite/data/scripts/os_arch_post_c".
* Running in recovery mode (os_arch_post_c).
* Executing user specified commands.
vgimport: Warning: Volume Group contains "1" PVs, "2" specified. Continuing.
Logical Volume is not defined on any physical volume.
"/dev/vg01/lvol1" is missing Physical Volumes.
Logical Volume is not defined on any physical volume.
"/dev/vg01/lvol2" is missing Physical Volumes.
Logical Volume is not defined on any physical volume.
"/dev/vg01/lvol3" is missing Physical Volumes.
Beginning the import process on Volume Group "/dev/vg01".
Volume group "/dev/vg01" has been successfully created.
Warning: A backup of this volume group may not exist on this machine.
Please remember to take a backup using the vgcfgbackup command after activating the volume group.
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c5t0d0":
Cross-device link
vgchange: Cross-device link
vgchange: Warning: couldn't query physical volume "/dev/dsk/c5t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c7t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "vg01":
Quorum not present, or some physical volume(s) are missing.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c5t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c7t0d0":
The specified path does not correspond to nd to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Volume group not activated.
ERROR: Executing the commands "
/usr/sbin/vgimport -v -m /etc/lvmconf/vg01.mapfile /dev/vg01 \
/dev/dsk/c5t0d0 \
/dev/dsk/c7t0d0
/usr/sbin/vgchange -a r vg01
test -d /dev/vg00 && /usr/sbin/vgcfgbackup /dev/vg00
test -d /dev/vg01 && /usr/sbin/vgcfgbackup /dev/vg01
" produced a failure.
* Run_Postconfigure_Scripts: Error
======= 03/21/08 03:23:50 EST Installation complete: Failure
NOTE: Search for the word "ERROR" in the log file for details:
on a server: /var/opt/ignite/clients/0x001185AFC6A2/install.log
on a client: /var/opt/ignite/local/install.log
=========================
at this step my system is rebooted, restored, but vg01 is not created.
any idea on cause of this?
The mentioned hw devices c5t0d0 and c7t0d0 which compose the /dev/vg01 were present during this restore step:
# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GMAU3073NC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 1 0/1/1/1.0.0 sdisk CLAIMED DEVICE HP 73.4GMAU3073NC
/dev/dsk/c3t0d0 /dev/rdsk/c3t0d0
disk 2 0/1/1/1.1.0 sdisk CLAIMED DEVICE _NEC DVD+RW ND-2100AD
/dev/dsk/c3t1d0 /dev/rdsk/c3t1d0
disk 3 0/4/1/1.0.0 sdisk CLAIMED DEVICE COMPAQ BF07288285
/dev/dsk/c5t0d0 /dev/rdsk/c5t0d0
disk 4 0/4/2/1.0.0 sdisk CLAIMED DEVICE COMPAQ BF07288285
/dev/dsk/c7t0d0 /dev/rdsk/c7t0d0
thanks much.
backup system using
/opt/ignite/bin/make_tape_recovery -A -v -d /dev/rmt/c3t3d0BESTn -x exclude=
using: (B5725AA C.6.1.44 HP-UX Installation Utilities (Ignite-UX)
The system consists in /dev/vg00 (mirrored using mirror-disk-UX), and /dev/vg01 also mirrored. Both using 2 PV.
All filesystems from /dev/vg01 are excluded from tape backup using the exclude options because contain large short living data, not relevant for a full restoration of system.
The backup completes successfully, with no abnormal message in log.
When restoring the system using this tape, I get the following error messages for /dev/vg01:
insf: Installing special files for pseudo driver root
* Boot_From_Client_Disk: Complete
* Run_SD_Configure_Scripts: Begin
* Run_SD_Configure_Scripts: Complete
* Run_Postconfigure_Scripts: Begin
* Applying the networking information.
* Applying the timezone: MET-1METDST.
* Run all specified post-configure scripts.
* Executing:
"/var/adm/sw/products/EMS-KRMonitor/KRMON-RUN/iux_postconfig".
ERROR: Cannot configure a dlkm driver.
ERROR: The script:
"/var/adm/sw/products/EMS-KRMonitor/KRMON-RUN/iux_postconfig" failed,
exit code was 1.
* Executing user specified script:
"/opt/ignite/data/scripts/os_arch_post_c".
* Running in recovery mode (os_arch_post_c).
* Executing user specified commands.
vgimport: Warning: Volume Group contains "1" PVs, "2" specified. Continuing.
Logical Volume is not defined on any physical volume.
"/dev/vg01/lvol1" is missing Physical Volumes.
Logical Volume is not defined on any physical volume.
"/dev/vg01/lvol2" is missing Physical Volumes.
Logical Volume is not defined on any physical volume.
"/dev/vg01/lvol3" is missing Physical Volumes.
Beginning the import process on Volume Group "/dev/vg01".
Volume group "/dev/vg01" has been successfully created.
Warning: A backup of this volume group may not exist on this machine.
Please remember to take a backup using the vgcfgbackup command after activating the volume group.
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c5t0d0":
Cross-device link
vgchange: Cross-device link
vgchange: Warning: couldn't query physical volume "/dev/dsk/c5t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c7t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "vg01":
Quorum not present, or some physical volume(s) are missing.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c5t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c7t0d0":
The specified path does not correspond to nd to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Volume group not activated.
ERROR: Executing the commands "
/usr/sbin/vgimport -v -m /etc/lvmconf/vg01.mapfile /dev/vg01 \
/dev/dsk/c5t0d0 \
/dev/dsk/c7t0d0
/usr/sbin/vgchange -a r vg01
test -d /dev/vg00 && /usr/sbin/vgcfgbackup /dev/vg00
test -d /dev/vg01 && /usr/sbin/vgcfgbackup /dev/vg01
" produced a failure.
* Run_Postconfigure_Scripts: Error
======= 03/21/08 03:23:50 EST Installation complete: Failure
NOTE: Search for the word "ERROR" in the log file for details:
on a server: /var/opt/ignite/clients/0x001185AFC6A2/install.log
on a client: /var/opt/ignite/local/install.log
=========================
at this step my system is rebooted, restored, but vg01 is not created.
any idea on cause of this?
The mentioned hw devices c5t0d0 and c7t0d0 which compose the /dev/vg01 were present during this restore step:
# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GMAU3073NC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 1 0/1/1/1.0.0 sdisk CLAIMED DEVICE HP 73.4GMAU3073NC
/dev/dsk/c3t0d0 /dev/rdsk/c3t0d0
disk 2 0/1/1/1.1.0 sdisk CLAIMED DEVICE _NEC DVD+RW ND-2100AD
/dev/dsk/c3t1d0 /dev/rdsk/c3t1d0
disk 3 0/4/1/1.0.0 sdisk CLAIMED DEVICE COMPAQ BF07288285
/dev/dsk/c5t0d0 /dev/rdsk/c5t0d0
disk 4 0/4/2/1.0.0 sdisk CLAIMED DEVICE COMPAQ BF07288285
/dev/dsk/c7t0d0 /dev/rdsk/c7t0d0
thanks much.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2008 02:16 AM
тАО03-21-2008 02:16 AM
Re: ignite restore issue on /dev/vg01
I forgot to mention that hw disks of /dev/vg01 were 'cleared' before starting the restore procedure (in order to check correct rebuild by restoration: I did lvremove/vgremove on vg01).
Additionally, after this error occured, I ran the following steps to retrieve correct configuration of /dev/vg01:
puymeras:root # vgcfgrestore -n /dev/vg01 -l
Volume Group Configuration information in "/etc/lvmconf/vg01.conf"
VG Name /dev/vg01
---- Physical volumes : 2 ----
/dev/rdsk/c5t0d0 (Non-bootable)
/dev/rdsk/c7t0d0 (Non-bootable)
puymeras:root # vgdisplay -v /dev/vg01
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg01".
puymeras:root # vgcfgrestore -n /dev/vg01 /dev/rdsk/c5t0d0
Volume Group configuration has been restored to /dev/rdsk/c5t0d0
puymeras:root # vgcfgrestore -n /dev/vg01 /dev/rdsk/c7t0d0
Volume Group configuration has been restored to /dev/rdsk/c7t0d0
puymeras:root # vgchange -a y
Volume group "/dev/vg00" has been successfully changed.
Mar 21 10:38:59 puymeras vmunix: LVM: VG 64 0x010000: Data in one or more logical volumes on PV 31 0x070000 was lost when the disk was replaced.
Mar 21 10:38:59 puymeras vmunix: This occured because the disk contained the only copy of the data.
Mar 21 10:38:59 puymeras vmunix: Prior to using these logical volumes, restore the data from backup.
Activated volume group
puymeras:root # mount -a
Now all is sane, but I'd like to understand the reason why it was not restored by ignite step.
thanks again.
Additionally, after this error occured, I ran the following steps to retrieve correct configuration of /dev/vg01:
puymeras:root # vgcfgrestore -n /dev/vg01 -l
Volume Group Configuration information in "/etc/lvmconf/vg01.conf"
VG Name /dev/vg01
---- Physical volumes : 2 ----
/dev/rdsk/c5t0d0 (Non-bootable)
/dev/rdsk/c7t0d0 (Non-bootable)
puymeras:root # vgdisplay -v /dev/vg01
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg01".
puymeras:root # vgcfgrestore -n /dev/vg01 /dev/rdsk/c5t0d0
Volume Group configuration has been restored to /dev/rdsk/c5t0d0
puymeras:root # vgcfgrestore -n /dev/vg01 /dev/rdsk/c7t0d0
Volume Group configuration has been restored to /dev/rdsk/c7t0d0
puymeras:root # vgchange -a y
Volume group "/dev/vg00" has been successfully changed.
Mar 21 10:38:59 puymeras vmunix: LVM: VG 64 0x010000: Data in one or more logical volumes on PV 31 0x070000 was lost when the disk was replaced.
Mar 21 10:38:59 puymeras vmunix: This occured because the disk contained the only copy of the data.
Mar 21 10:38:59 puymeras vmunix: Prior to using these logical volumes, restore the data from backup.
Activated volume group
puymeras:root # mount -a
Now all is sane, but I'd like to understand the reason why it was not restored by ignite step.
thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2008 05:38 AM
тАО04-02-2008 05:38 AM
Re: ignite restore issue on /dev/vg01
If you ran the ignite backup and then "cleanly" removed vg01, then there will be no vg info on the disks that the ignite backup thinks should be in vg01. This may have caused your errors.
Perhaps you should try it again, leaving vg01 on there.
Just a thought.
Perhaps you should try it again, leaving vg01 on there.
Just a thought.
If I can, I will!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2008 05:59 AM
тАО04-02-2008 05:59 AM
Re: ignite restore issue on /dev/vg01
Indeed, the issue only occurs when using vg structures are not in vg01 disks.
As a workaround I added a vgchange call in my post restore script in order to activate the vg.
The file systems are then correctly set up with mirroring configuration.
As a workaround I added a vgchange call in my post restore script in order to activate the vg.
The file systems are then correctly set up with mirroring configuration.
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP