- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Failed root disk...
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
06-25-2004 07:27 AM
06-25-2004 07:27 AM
I've got an EMS telling me that I've a failed internal disk, this is a root disk.
Here is my situation:
The system is a rp7410 with 2 73 Gb mirrored;
The system is up and running;
The disk that giving me errors is the primary boot disk;
When I do a pvdisplay -v I see some PE that are stale, other current;
When I do a vgdisplay -v vg00 I see that the disk is unavailable;
With vgdisplay I see there's 2 PV for each LV;
I want to know how I can replace the failed disk without rebooting the system???
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2004 07:31 AM
06-25-2004 07:31 AM
Re: Failed root disk...
U will need a new disk and then restore vginfo (vgcfgrestore) onto it and a vgsync u r done.
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2004 07:34 AM
06-25-2004 07:34 AM
Re: Failed root disk...
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2004 07:36 AM
06-25-2004 07:36 AM
Re: Failed root disk...
dd if=/dev/dsk/c0t1d0 of=/dev/nulll bs=200k
See which disk lights up. The one that doesn't is probably dead.
Be sure because if you pull out the wrong disk, you crash.
These servers have hot swapable disks. They can be pulled while the system is running.
If you can, remove the stale logical volumes on the dead disk. then vgreduce the volume group to remove it from the volume group.
Switch the replacement disk with the bad disk.
Then re-mirror.
It should be possible to not remove the logical volumes.
To do that after the switch, you can do as follows:
cd /etc
mv lvmtab lvmtab.old
vgscan -a
pvcreate the new disk
vgextend the volume group.
re-mirror the logical volumes.
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
06-25-2004 07:36 AM
06-25-2004 07:36 AM
Re: Failed root disk...
http://www.hp.com/products1/servers/rackoptimized/rp7410/specifications.html
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2004 07:45 AM
06-25-2004 07:45 AM
Re: Failed root disk...
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
06-25-2004 07:54 AM
06-25-2004 07:54 AM
Re: Failed root disk...
This is how I would do it
1) If the disk is hot swappable, remove the disk
2) # vgreduce -f /dev/vg00
This will remove the failed disk from vg00
3) # lvlnboot -R
4) Insert the new disk
5) # ioscan -fnC disk
6) # vgcfgrestore -n /dev/vg00 /dev/rdsk/
7) # mkboot /dev/rdsk/devicefile
8) # mkboot -a "hpux" /dev/rdsk/devicefile
9) # vgchange -a y /dev/vg00
10) # vgsync /dev/vg00
11) # lvlnboot -R
12) confirm with vgdisplay, lvdisplay, pvdisplay and lvlnboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2004 08:06 AM
06-25-2004 08:06 AM
Re: Failed root disk...
if the disks are not hot swappable
1) Shutdown and get the disk replaced
2) boot in single-user mode
3) ioscan, find the device file
4) vgcfgrestore -n /dev/vg00 /dev/dsk/
5) mkboot /dev/rdsk/
mkboot -a "hpux" /dev/rdsk/
vgchange -a y /dev/vg00
vgsync /dev/vg00
6) Reboot in multi-user mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2004 08:14 AM
06-25-2004 08:14 AM
SolutionSome would advise you shut down the system if the disk is not completely dead, because there is the chance you could corroupt your data.
Make sure you have a good make_tape_recovery or make_net on hand just in case things go aloft.
It would not hurt to make sure you do not have stale extents on both volumes with lvdisplay -v
Once you have determined a the correct disk, replace it with the new one.
Then do vgcfgrestore -n /dev/vg00 /dev/rdsk/yourdisk (ie. c6t6d0)
vgchange -a y /dev/vg00
mkboot /dev/rdsk/yourdisk
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/yourdisk
lvlnboot -R
vgsync /dev/vg00
do a lvdisplay -v that you have no stale extents
Cross your fingers :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2004 08:25 AM
06-25-2004 08:25 AM
Re: Failed root disk...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2004 08:36 AM
06-26-2004 08:36 AM
Re: Failed root disk...
I'm with an HP engeneer here, and he change my disk that was failed, and I can't do nothing, so now he is trying to change every part of the system, but the damn green led stay ligth solid. He changed the GSP, the BackPlane, now he ordered a Core I/O device...
What can make that the led still ligth solid like that??? could this be an error at he OS level??? Does someone here have already see something like that???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 07:55 AM
06-28-2004 07:55 AM
Re: Failed root disk...
it worked perfectly, my mirroir is now resynced!