- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Efficient way to substitute root VG PVs
Operating System - HP-UX
1823417
Members
2749
Online
109655
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
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
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
тАО04-19-2001 07:43 AM
тАО04-19-2001 07:43 AM
Hi LVM wizards,
I have to substitute the following root PVs:
for pv in `vgdisplay -v vg00|awk '/PV Name/ {print $NF}'|sed 's/dsk/rdsk/'`;do diskinfo $pv;done
SCSI describe of /dev/rdsk/c1t6d0:
vendor: SEAGATE
product id: ST318203LC
type: direct access
size: 17783240 Kbytes
bytes per sector: 512
SCSI describe of /dev/rdsk/c2t6d0:
vendor: SEAGATE
product id: ST318203LC
type: direct access
size: 17783240 Kbytes
bytes per sector: 512
These internal disks are mirrored and the machines form nodes of an MC/SG cluster:
# vgdisplay -v vg00|head -21
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 14
Open LV 14
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 4
Total PE 8680
Alloc PE 8478
Free PE 202
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
First I thought I could merge the new disks, which are 36GB, in the mirror but unfortunately the value of Max PE per PV wouldn't allow that (see above).
Now I assume I have to install from Ignite tapes (created by make_recovery).
Since I haven't yet restored a system from Ignite tape, I'm not sure about the when and how to interrupt the automatic recovery process in order to adapt the Max PE value and other things possibly needed.
(do I have to use the -i flag when creating the Ignite tapes?)
Regards
Ralph
I have to substitute the following root PVs:
for pv in `vgdisplay -v vg00|awk '/PV Name/ {print $NF}'|sed 's/dsk/rdsk/'`;do diskinfo $pv;done
SCSI describe of /dev/rdsk/c1t6d0:
vendor: SEAGATE
product id: ST318203LC
type: direct access
size: 17783240 Kbytes
bytes per sector: 512
SCSI describe of /dev/rdsk/c2t6d0:
vendor: SEAGATE
product id: ST318203LC
type: direct access
size: 17783240 Kbytes
bytes per sector: 512
These internal disks are mirrored and the machines form nodes of an MC/SG cluster:
# vgdisplay -v vg00|head -21
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 14
Open LV 14
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 4
Total PE 8680
Alloc PE 8478
Free PE 202
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
First I thought I could merge the new disks, which are 36GB, in the mirror but unfortunately the value of Max PE per PV wouldn't allow that (see above).
Now I assume I have to install from Ignite tapes (created by make_recovery).
Since I haven't yet restored a system from Ignite tape, I'm not sure about the when and how to interrupt the automatic recovery process in order to adapt the Max PE value and other things possibly needed.
(do I have to use the -i flag when creating the Ignite tapes?)
Regards
Ralph
Madness, thy name is system administration
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2001 08:20 AM
тАО04-19-2001 08:20 AM
Solution
Hi Ralph:
First, I'd get the latest Ignite from here:
http://www.software.hp.com/products/IUX/download.html
Use the new 'make_tape_recovery' which replaces 'make_recovery'. The command I use for doing this is:
# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn
Note that the "-I" in 'make_tape_recovery' causes the recovery process to be interactive and is the replacement for the "-i" option in the old 'make_recovery'. If you use the '-I' option, booting from tape will automatically offer the interactive Ignite session.
Choose the Advanced Installation mode and on the FileSystem tab note the "Additional Tasks" option. Selecting this will offer you the ability to change the physical vg attributes and set things like 'largefiles' etc.
Regards!
...JRF...
First, I'd get the latest Ignite from here:
http://www.software.hp.com/products/IUX/download.html
Use the new 'make_tape_recovery' which replaces 'make_recovery'. The command I use for doing this is:
# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn
Note that the "-I" in 'make_tape_recovery' causes the recovery process to be interactive and is the replacement for the "-i" option in the old 'make_recovery'. If you use the '-I' option, booting from tape will automatically offer the interactive Ignite session.
Choose the Advanced Installation mode and on the FileSystem tab note the "Additional Tasks" option. Selecting this will offer you the ability to change the physical vg attributes and set things like 'largefiles' etc.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2001 06:24 AM
тАО04-20-2001 06:24 AM
Re: Efficient way to substitute root VG PVs
You have two options, either create the make_recovery tape with the -i option, or keep a close eye on the console when the system boots up. After you have pointed it to boot from the tape, it again will wait for 10seconds to give you an opportunity to boot interactively.
Live Free or Die (New Hampshire)
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP