- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mirror problem
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
07-01-2005 09:12 AM
07-01-2005 09:12 AM
mirror problem
Today i add one hardisk in mirror group .actually i replaced the faulty hardisk in root mirror volume group vg00. i have done every- thing succesfully . after resync when i try to give the command LVLNBOOT -V . the output of the command are as follow.
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
/dev/dsk/c2t2d0 (0/0/2/0.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t2d0
Root: lvol3 on: /dev/dsk/c2t2d0
Swap: lvol2 on: /dev/dsk/c2t2d0
Dump: lvol2 on: /dev/dsk/c2t2d0, 0
Now i want to know why it is not showing the first harddisk and what happen if the first harddisk will not show in this command.and if it is urgent for booting then why my system still running even i boot from primary disk.
thanks $ regard
karan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2005 09:19 AM
07-01-2005 09:19 AM
Re: mirror problem
The faulty disk procedure should be as follows.
vgcfgrestore -n /dev/vg00 /dev/dsk/cxtxdx
vgchange -a y vg00
mkboot /dev/dsk/cxtxdx
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/cxtxdx
vgsync
Now check with lvlnboot and by checking mirror copies and doing lifls, lifcp /dev/rdsk/cxtxdx:AUTO -
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2005 09:21 AM
07-01-2005 09:21 AM
Re: mirror problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2005 09:22 AM
07-01-2005 09:22 AM
Re: mirror problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2005 09:38 AM
07-01-2005 09:38 AM
Re: mirror problem
yes Mr. A. Clay Stephenson i forgot the step lvlnboot -R /dev/vg00. but i am not able to understand the step ar as follow:
what happen if the first harddisk will not show in this command.and if it is urgent for booting then why my system still running even i boot from primary disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2005 11:27 AM
07-01-2005 11:27 AM
Re: mirror problem
But if you see both the root and the mirror devices together under all 4 lines, you should not worry.
If you have not run this command yet, I would strongly recommed running it at once:
mkboot -b updatediaglif2 -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/c1t2d0
(on a footnote here: please show your appreciation by assigning points to the answers which helped you solve your problems rather than thank you messages. For understanding points system, please visit this link:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28)
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2005 02:50 PM
07-01-2005 02:50 PM
Re: mirror problem
/dev/dsk/c1t2d0 is the disk u changed in a root mirrored vg... the steps are as follows..
1)boot in lvm maintenance mode
ISL> hpux -lm
2)do vgcfgrestore to restore LVM config data from config backup to Pv
# vgcfgrestore -n vg00 /dev/rdsk/c1t2d0
3)Activate the Vg
# vgchange -a y vg00
4)use mkboot to put boot utilities and Auto file in LIF area
# mkboot -l /dev/rdsk/c1t1d0
# mkboot -a "hpux" /dev/rdsk/c1t1d0
5)use lvlnboot
# lvlnboot -r /dev/vg00/lvol3 /dev/vg00
# lvlnboot -b /dev/vg00/lvol1 /dev/vg00
# lvlnboot -s /dev/vg00/lvol2 /dev/vg00
# lvlnboot -d /dev/vg00/lvol2 /dev/vg00
# lvlnboot -R
# lvlnboot -v
6) remirror using vgsync
# vgsync
7) Reboot the server in multiuser mode
8) check successful completion by
# lvdisplay -v /dev/vg00/lvolZ
# vgdisplay -v vg00
hope this steps helps you karan...
Good Luck
Vinod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2005 08:44 PM
07-02-2005 08:44 PM
Re: mirror problem
You can use the attached script. It creates mirroring for system volume group, PA_RISC machines.
In order to use the script, remove the new disk from vg00 (lvreduce for all lv and vgreduce).
HTH