- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Systems hangs when mirrored boot disk is remov...
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
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
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-21-2002 05:50 PM
тАО08-21-2002 05:50 PM
Systems hangs when mirrored boot disk is removed
Today I wanted to test how the system will react when the primary boot disk fails. Since they are hot-swap disks, I pulled it out.
While the system remained running, functionality was limited:
- a 'tail -f syslog.log' returned nothing
- a telnet allowed me to enter in my username and password, but would not give me a shell prompt--I know that an entry is written to utmp before the shell is given, so I suspect that the OS could not write to the log
Functionality returned about 20 seconds after I replaced the disk.
I thought that MirrorDisk was supposed to write to the mirror if the first copy is not available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2002 05:58 PM
тАО08-21-2002 05:58 PM
Re: Systems hangs when mirrored boot disk is removed
Did you mirror ALL LV's for vg00??
Especially swap??
If you did, then can you provide a vgdisplay -v ?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2002 06:08 PM
тАО08-21-2002 06:08 PM
Re: Systems hangs when mirrored boot disk is removed
e.g.
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t6d0 (0/0/2/0.6.0) -- Boot Disk
/dev/dsk/c2t6d0 (0/0/2/1.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t6d0
/dev/dsk/c2t6d0
Root: lvol3 on: /dev/dsk/c1t6d0
/dev/dsk/c2t6d0
Swap: lvol2 on: /dev/dsk/c1t6d0
/dev/dsk/c2t6d0
Dump: lvol2 on: /dev/dsk/c1t6d0, 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2002 06:24 PM
тАО08-21-2002 06:24 PM
Re: Systems hangs when mirrored boot disk is removed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2002 07:10 PM
тАО08-21-2002 07:10 PM
Re: Systems hangs when mirrored boot disk is removed
on your mirrored disk. The steps are ..(assuming c2t2d0 is the mirrored disk)
# ll /usr/sbin/diag/lif/updatediaglif
=> Make sure the file exist.
# lifls -l /dev/rdsk/c2t2d0
=> List content of LIF dir (it should have ISL,AUTO,HPUX,PAD,LABEL).
# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c2t2d0
=> Install ODE LIF files while "protecting" the existing LIF files.
=> VERY IMPORTANT..use updatediaglif2 for 11.0 64-bit.
# lifls -l /dev/rdsk/c2t2d0
=> Should now see the additional ODE LIF files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2002 06:51 AM
тАО08-22-2002 06:51 AM
Re: Systems hangs when mirrored boot disk is removed
The output of 'vgdisplay -v vg00' and 'lvlnboot -v' are attached.
I tried this test again just now:
- tail -f syslog.log
- pull the disk
- attempt to telnet in (no login recieved this time)
- saw SCSI errors in the syslog
- waited over 2 minutes for the login prompt . . . nothing
- put the disk back in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2002 06:58 AM
тАО08-22-2002 06:58 AM
Re: Systems hangs when mirrored boot disk is removed
To verify
lifcp /dev/rdsk/c_t_d_:AUTO -
This should display
hpux -lq
If not, then do
mkboot -a "hpux -lq" /dev/rdsk/c_t_d_
Rich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2002 07:04 AM
тАО08-22-2002 07:04 AM
Re: Systems hangs when mirrored boot disk is removed
I found the problem. One of the copies for /dev/vg00/lvol3 (mounted on /) was stale. Look at the vgdisplay -v in my previous post.
I ran 'lvsync' on lvol3, confirmed all the copies were syncd and ran the test again. It passed.
Now, what could cause a mirror copy to become stale? Shouldn't LVM detect stale copies and run lvsync or vgsync automatically? It seems to me that I should not have to manually run this.
cjw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2002 07:32 AM
тАО08-22-2002 07:32 AM
Re: Systems hangs when mirrored boot disk is removed
Take note of the vgchange and vgsync towards the end.
# mkboot -l /dev/rdsk/c2t2d0
# mkboot -a "hpux -lq" /dev/rdsk/c2t2d0
# vgcfgrestore -n vg00 /dev/rdsk/c2t2d0
# vgchange -a y vg00
# vgsync vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2002 07:51 AM
тАО08-22-2002 07:51 AM
Re: Systems hangs when mirrored boot disk is removed
In the ftplog you find 'vmunix: SCSI: Async write error.
In http://bizforums.itrc.hp.com/cm/QuestionAnswer/0,,0x0bafa2db8513d6118ff40090279cd0f9,00.html you will see the same error. Solution there was: firmware upgrade.
Brings me to the thought: what about your last patches?
What OS do you have? 10.20 11.00 11.11 ??
Greetings,
Ceesjan