- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: on the target!!!!
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
01-16-2003 10:54 AM
01-16-2003 10:54 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 11:00 AM
01-16-2003 11:00 AM
Re: on the target!!!!
Yes, assuming that you setup the mirror correctly in the first place.
Before you break the mirror and boot, check with 'lvlnboot -v'. The output should look like:
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t6d0 (10/0.6.0) -- Boot Disk
/dev/dsk/c2t5d0 (10/0.5.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t6d0
/dev/dsk/c2t5d0
Root: lvol3 on: /dev/dsk/c2t6d0
/dev/dsk/c2t5d0
Swap: lvol2 on: /dev/dsk/c2t6d0
/dev/dsk/c2t5d0
Dump: lvol2 on: /dev/dsk/c2t6d0, 0
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 11:29 AM
01-16-2003 11:29 AM
Re: on the target!!!!
Yes you should.
But I'm not sure what you mean to accomplish here.
Once you break the mirror the "alternate" disk will no longer be "equal" to the "primary" disk. i.e. any changes made to primary will NOT be reflected on the alternate. So be careful just which disk is which & boot the one you want.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 12:10 PM
01-16-2003 12:10 PM
Re: on the target!!!!
Breaking the mirror and reduce the disk, keep the intergity of the good copy...it should work if I decided to boot to boota or boot b disk?
** lvlnboot display the both secondary and primary boot...
** after lvreduce command , the only disk left was the primary one...make sense...
*** why can't I boot to the secondary disk after breaking the mirror.. and remove this secondary disk out of the v
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 12:51 PM
01-16-2003 12:51 PM
Re: on the target!!!!
I have to say I've never tried this, I'm just guessing from previous experience. It is just that the VGRA & VGDA (kept in the header & footer of the disks) will probably be out of date & probably incosnistent.
If you want to check that the VG info is correct/consistent on the REDUCED disk try vgimporting it in so
# mkdir /dev/vg00old
# mknod /dev/vg00old/group c 64 0x050000
# vgimport /dev/vg00old /dev/dsk/cxtydz
If this volume group imports, good, you can also check it a bit deper by mounting the lvols up.
# mkdir /oldroot
# mount /dev/vg00old/lvol1 /oldroot
# mount /dev/vg00old/lvol3 /oldroot/stand
etc...
The next test you can do is check the boof/lif info
# lifls -l /dev/dsk/cxtydz
# lifcp /dev/dsk/cxtydz:AUTO -
IF all the above is OK I would say that it should be able to boot...
also note all the above can be done whilst the system is ON-LINE just to make sure you are sane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 01:17 PM
01-16-2003 01:17 PM
Re: on the target!!!!
but you are right on the fact that I am not insane eheh :)
never mind...I don't know what I was thinking....
I think I am now understand what was my the problem...
If the pv was remove from the volume group, it is still have its data, then in the vgxx has only one disk. When you boot you boot on the disk that still in the volume group. Once that disk is successfully be upgrade or whatever, you can add the secondary disk back to create the link.... eeheheh I was out somewhere when I asked this question...
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 01:19 PM
01-16-2003 01:19 PM
SolutionHere is a procedure that results in the outcome shown in post 2 above.
Put in real numbers instead of the #'s
pvcreate -B /dev/rdsk/c#t#d#
mkboot /dev/rdsk/c#t#d#
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c#t#d#
vgextend /dev/vg00 /dev/dsk/c#t#d#
lmextend -m 1 /dev/vg00/lvol1 /dev/dsk/c#t#d#
Repeat for any other volume groups.
For root
lvnlboot -r /dev/vg00/lvol3
Swap
lvnlboot -s /dev/vg00/lvol2
dump
lvnlboot -s /dev/vg00/lvol2
For 10.20 and 11.00 only
lvnlboot -b /dev/vg00/lvol1
Hope this is usefull, I pulled it out of a support call. I'm sorry I don't have a document id.
Steve
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 01:40 PM
01-16-2003 01:40 PM
Re: on the target!!!!
Have a look at Technical Knowledge Base document #rcfaxlvm007 - "Booting From a Split Mirror".
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 03:02 PM
01-16-2003 03:02 PM
Re: on the target!!!!
1. if the secondary boot device was removed from the vgxx, the vgxx is now has no mirror and only 1 disk and that is the primary boot disk, if I can change the setboot -p
2. If the upgrade of the patches somewhat cause the corruption on the secondary boot, and can't longer boot, how do I redo the mirror using the old copy from the original primary disk?