- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- make_tape_recovery failure due to failed root PV
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
Forums
Discussions
Discussions
Discussions
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
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-30-2010 10:00 PM
08-30-2010 10:00 PM
We had 2 x 146 GB HDDs comprising the root VG, out of which one disk went bad. Since, the redundancy is lost, we want to keep an ignite backup for safety. But, make_tape_recovery is failing due to the changed PV information.
Need help to override this.
NOTE: The disk gone bad-if we try to use this disk, the system crashes and starts rebooting
---------------------------------------------------------------------------------------------------
P.S. This thread has been moved from system administration to ignite-ux- Forum Moderator
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2010 11:15 PM
08-30-2010 11:15 PM
SolutionOtherwise using vgreduce romove the bad disk from the vg.Then go ahead with with the Ignite backup.But this backup contains only single disk configuration.
Can you mention the OS and model (Integrity or PARISC)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2010 11:48 PM
08-30-2010 11:48 PM
Re: make_tape_recovery failure due to failed root PV
Thanks for your response.
Basically, the replacement is yet to arrive, so for safe recovery (in case anything further goes bad) it is very important for us to have an ignite backup(even if it is single disk configuration).
I did the following on each vg00 lvolX
# lvreduce -m 0 -A n -k /dev/vg00/lvolX 1
where '1' is the PV key of the stale PV.
After that when I am trying to vgreduce, the following error says:-
# vgreduce vg00 /dev/dsk/c2t0d0
vgreduce: Couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
Even, I tried to rebuild lvmtab, but the new lvmtab holds no information about vg00-vg00 entry is simply not there...
The model is PARISC (rp4440) and OS is HP-UX 11iv1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2010 02:11 AM
08-31-2010 02:11 AM
Re: make_tape_recovery failure due to failed root PV
can you try
#vgreduce -f /dev/vg00/cxtxdx
#mv /etc/lvmtab /etc/lvmtab.date
#vgscan -av
#strings /etc/lvmtab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2010 03:24 AM
08-31-2010 03:24 AM
Re: make_tape_recovery failure due to failed root PV
# vgreduce -f /dev/vg00/c2t0d0
vgreduce: Volume group "/dev/vg00/c2t0d0" does not exist in the "/etc/lvmtab" file.
# vgreduce -f /dev/vg00 /dev/dsk/c2t0d0
Usage: vgreduce
[-A Autobackup]
[-l]
VolumeGroupName PhysicalVolumePath... | [-f] VolumeGroupName
only VolumeGroupName is needed for -f option
Kindly help review the outcome of
# vgreduce -f vg00
Will it remove c2t0d0 and retain c2t1d0, as desired.
# mv /etc/lvmtab /etc/lvmtab.$(date +%d%m%y)
# vgscan -av
Creating "/etc/lvmtab".
Couldn't stat physical volume "/dev/dsk/c0t0d0":
Invalid argument
vgscan: has no correspoding valid raw device file under /dev/rdsk.
Verification of unique LVM disk id on each disk in the volume group
/dev/vg00 failed.
/dev/vg01
/dev/dsk/c14t0d0
Scan of Physical Volumes Complete.
# strings /etc/lvmtab
/dev/vg01
/dev/dsk/c14t0d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2010 04:11 AM
08-31-2010 04:11 AM
Re: make_tape_recovery failure due to failed root PV
vgreduce -f vg00
mv /etc/lvmtab /etc/lvmtab.save
vgscan -v
Now lvmtab entries are as desired:-
/dev/vg00
/dev/dsk/c2t1d0
/dev/vg01
/dev/dsk/c14t0d0
make_tape_recovery is hapenning fine.
Thanks for your support, Bijeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2010 07:10 AM
08-31-2010 07:10 AM
Re: make_tape_recovery failure due to failed root PV
I typed while thinking something else.It is great you mentioned how the problem get resolved.
Can you check the entries in /stand/bootconf ?
If it still contains the entry of removed disk,delete that line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2010 10:55 PM
08-31-2010 10:55 PM
Re: make_tape_recovery failure due to failed root PV
/stand/bootconf has been the same as before (before removing c2t0d0)
# cat /stand/bootconf
l /dev/dsk/c2t1d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2010 11:17 PM
08-31-2010 11:17 PM
Re: make_tape_recovery failure due to failed root PV
Its ok.
But don't forget to add the entry of the mirror disk in this file after you mirroring the root disk.