- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Do I need a reboot after SCSI disk replacement
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
02-09-2005 07:03 AM
02-09-2005 07:03 AM
Do I need a reboot?
HP-UX B.11.00 U 9000/800
System is L3000-7X
Hot swap drives.
How would I clear the counters in CSTM?
cstm > ru > rs
Summary of: /var/stm/logs/os/log2.raw.cur
Date/time of first entry: Wed Feb 9 04:18:37 2005
Date/time of last entry: Wed Feb 9 09:24:52 2005
Number of LPMC entries: 0
Number of System Overtemp entries: 0
Number of LVM entries: 0
Number of Logger Event entries: 0
Number of I/O Error entries: 498
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 07:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 07:31 AM
02-09-2005 07:31 AM
Re: Do I need a reboot after SCSI disk replacement
And for a boot disk replacement see this thread...
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=808464
Regards,
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 07:32 AM
02-09-2005 07:32 AM
Re: Do I need a reboot after SCSI disk replacement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 07:36 AM
02-09-2005 07:36 AM
Re: Do I need a reboot after SCSI disk replacement
1) If the disk is completely "dead", such as if you run ioscan and status is "no_hw" then you can hot swap the disk online.
2) However in circumstances where the disk has not fully failed please do one of the following to avoid data corruption :
a) reduce mirror before replacing the disk
b) deactivate VG before replacing the disk
c) shutdown system to replace the disk
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 07:51 AM
02-09-2005 07:51 AM
Re: Do I need a reboot after SCSI disk replacement
There will be an lbolt in the syslog.log file until you do reboot. That is not serious.
SEP
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
02-09-2005 08:15 AM
02-09-2005 08:15 AM
Re: Do I need a reboot after SCSI disk replacement
The drive is part of a software mirror.
He states that when he ran
lvdisplay there were some stale and some current extents. If we pop a drive in and there are still current extents, it will not rebuild those extents. IS THIS CORRECT?
It is not part of the OS
ioscan -fnC disk --> hung the console
What would be the correct procedure to replace that disk. I thought if I pop out that drive and put a new one in it would recreate the drive.
There is no hardware raid on the drive just software.
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c1t0d0 00000 current /dev/dsk/c2t0d0 00000 stale
00001 /dev/dsk/c1t0d0 00001 current /dev/dsk/c2t0d0 00001 stale
00002 /dev/dsk/c1t0d0 00002 current /dev/dsk/c2t0d0 00002 current
00003 /dev/dsk/c1t0d0 00003 current /dev/dsk/c2t0d0 00003 stale
00004 /dev/dsk/c1t0d0 00004 current /dev/dsk/c2t0d0 00004 current
00005 /dev/dsk/c1t0d0 00005 current /dev/dsk/c2t0d0 00005 stale
00006 /dev/dsk/c1t0d0 00006 current /dev/dsk/c2t0d0 00006 current
00007 /dev/dsk/c1t0d0 00007 current /dev/dsk/c2t0d0 00007 current
00008 /dev/dsk/c1t0d0 00008 current /dev/dsk/c2t0d0 00008 current
00009 /dev/dsk/c1t0d0 00009 current /dev/dsk/c2t0d0 00009 current
00010 /dev/dsk/c1t0d0 00010 current /dev/dsk/c2t0d0 00010 stale
00011 /dev/dsk/c1t0d0 00011 current /dev/dsk/c2t0d0 00011 stale
00012 /dev/dsk/c1t0d0 00012 current /dev/dsk/c2t0d0 00012 current
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 08:22 AM
02-09-2005 08:22 AM
Re: Do I need a reboot after SCSI disk replacement
Then recreate your mirror...(which in itself is a good test on a hard drive)...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 09:20 AM
02-09-2005 09:20 AM
Re: Do I need a reboot after SCSI disk replacement
After the HP CE replaces the disk, do the following.
# vgcfgrestore -n /dev/vg_name /dev/dsk/cXtXdX
# vgchange -a y /dev/vg_name
# vgsync vg_name
If you reduce the lv and vg then u will not be able to do the vgcfgrestore . Thenyou will have to manually do it manually with vgextend and lvextend.
Best of Luck
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 10:25 AM
02-09-2005 10:25 AM
Re: Do I need a reboot after SCSI disk replacement
Do an lvdisplay -f for each LVOL that is housed by the disk in question. Make sure that on the good disk all extents are current. Now we are going to really clobber the bad disk by sliding it out a few centimeters and letting it spin down while still on the rails. Leave it that way for a minute or so and now you are in the NO_HW state. This will trigger a SCSI bus reset but that is considered a normal event.
Now fully remove the bad disk and insert the replacement.
Next, vgcfgrestore -n /dev/vgxx /dev/rdsk/cXtYd0
vgchange -a y /dev/vgxx
vgsync /dev/vgxx
The sync operation will take a few minutes and then all is well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2005 07:30 AM
02-10-2005 07:30 AM