- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- REPLACING DISKS
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-22-2002 04:31 AM
02-22-2002 04:31 AM
REPLACING DISKS
/dev/dsk/c2t1d0
/dev/dsk/c1t14d0
But it happens this:
file attachment:
Logical Volume To Physical Disk Mapping
That I must consider?
Greetings
Miguel C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 04:53 AM
02-22-2002 04:53 AM
Re: REPLACING DISKS
First ensure that all lv in those disks have his mirror in other disk.
lvdisplay -v /dev/vg.../lvxxxx | more
Then if you have hot plugable disks just extract faulty ones.
Insert new disks
run ioscan
restore lvm configuration:
vgcfgrestore /dev/vg... /dev/dsk/c.....
and syncronize
vgsync /dev/vg...
I think that is all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 05:02 AM
02-22-2002 05:02 AM
Re: REPLACING DISKS
You don't mention the disk hardware..so I am just going to take a stab at this.
I might take down my packages involved..change vg so I have control of it..replace my bad disks...and since you don't mention your array hardware (EMC would resync) then you may need to resync either the lvol or vg. I might just go ahead and resync the vg to be on the safe side since that one disk covers a couple lv. But that's up to you. See manpage lvsync/vgsync.
===========================
cmhaltpkg -v
vgchange -c n /dev/vgname
vgchange -a y /dev/vgname
vgsync /dev/vgname
or
lvsync /dev/vgname/lvname
(Note a resync takes a good bit of time to complete..be patient..no bad messages means it is running..)
When done..
..Confirm everything looks ok with vgdisplay and lvdisply..
vgchange -a n /dev/vgname
vgchange -c y /dev/vgname
cmrunpkg -v
=============================
But wait for others, they may have noticed something I missed.
Rgrds,
Rit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 06:31 AM
02-22-2002 06:31 AM
Re: REPLACING DISKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 07:19 AM
02-22-2002 07:19 AM
Re: REPLACING DISKS
IF the disk is mirrored and how swappable, just remove the disk from the cabinet and then do a vgcfgrestore to restore the vg info to the disk. They do a vgchange -a e /dev/vg_name on the node where the disk is active. Then do a "vgsync /dev/vg_name" to sync the lv's for this disk. You should be fine after that. you don't have to shutdown the package / cluster or anything. If the disk is not mirrored or if the disk is not how-swappable, you have to shutdown the system. Shutdown the disk cabinet power, replace the disk, boot the system, start the cluster services on this cluster. do a vgcfgresote, activate the vg, and do vgsync.
Try this link,
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B3936-90053/B3936-90053_top.html&con=/hpux/onlinedocs/B3936-90053/00/00/53-con.html&toc=/hpux/onlinedocs/B3936-90053/00/00/53-toc.html&searchterms=troubleshooting&queryid=20020222-072515
Hope this helps.
regds