- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: LV SPLIT
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
тАО05-04-2011 07:42 PM
тАО05-04-2011 07:42 PM
LV SPLIT
I patched one box (11iv2). As per instrunction Before patching I splitted all lvols of vg00. unfortunatly after patching system was not coming up. could you please let me know wht to do to bring the box up?
Regards,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2011 09:31 PM
тАО05-04-2011 09:31 PM
Re: LV SPLIT
assuming that you are using mirroring and all the mirrored LVOL's reside on different disk than the one you booted from, then why not trying to boot from your alternate mirrored (splitted) disk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2011 11:08 PM
тАО05-04-2011 11:08 PM
Re: LV SPLIT
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2011 11:13 PM
тАО05-04-2011 11:13 PM
Re: LV SPLIT
The current LVM admin guide has all the steps (page 89 - Splitting a Volume Group)
document title is
HP-UX System Administrator's Guide:
Logical Volume Management
HP-UX 11i Version 3
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
тАО05-05-2011 01:37 AM
тАО05-05-2011 01:37 AM
Re: LV SPLIT
I got the procedure from HP Guy.
lets say /dev/dsk/c0t1d0(pri) and /dev/dsk/c0t2d0(sec) PV's are part of VG vg00. Now the requirement is that we upgrade from the first disk and something goes wrong, boot from the second. In my method, we cannot boot from the second per say, but I strongly believe that it can atleast help in restoration.
1) Split all the mirrored LV's in vg00.
lvsplit /dev/vg00/lvol1
lvsplit /dev/vg00/lvol2
lvsplit /dev/vg00/lvol3
lvsplit /dev/vg00/lvol4
lvsplit /dev/vg00/lvol5
lvsplit /dev/vg00/lvol6
lvsplit /dev/vg00/lvol7
lvsplit /dev/vg00/lvol8
after the slipt you will find these devices in /dev/vg00 directory.
lvsplit /dev/vg00/lvol1b
lvsplit /dev/vg00/lvol2b
lvsplit /dev/vg00/lvol3b
lvsplit /dev/vg00/lvol4b
lvsplit /dev/vg00/lvol5b
lvsplit /dev/vg00/lvol6b
lvsplit /dev/vg00/lvol7b
lvsplit /dev/vg00/lvol8b
2) Upgrade the OS now. Meaning it would affect the data only in the first disk(pri).
3) DECIDER :
a) If the upgrade succeeds, that is you are successful in booting through the pri disk, and you find all is find, just remove the second set of LV's
lvremove /dev/vg00/lvol1b
perform the same for other LV's aswell.
Now remirror the boot disk as prescribed by HP docs.
b) If the kernel refuses to boot from the pri. Boot with "/stand/vmunix.prev" to lvm maintenace mode.
at ISL prompt ...issue..
ISL>hpux -lm vmunix.prev
Once you are into the LVM maintenence mode..issue the following commands....
vgchange -a y vg00
lvmerge /dev/vg00/lvol1 /dev/vg00/lvol1b
NOTE: The order of LV specification is very important. The first LV is destination and the second is source. There by I overwrite the data on the lvol1 with the data that was orginally preserved in lvol1b. Now you repeat the procedure for the rest of LV's in vg00.
vgchange -a n vg00
reboot
4) Now you can boot again normally from primary boot disk. Once booted verify whether the version of HPUX is the previous one by issuing "uname -a".