- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- alternet root 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
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
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-24-2011 08:40 AM
тАО02-24-2011 08:40 AM
We need to replace one of our root disk(alternet disk).ioscan & dd command shows fine but we get stale on lvol1. so we need to replace it as per HP engg..he said they will replace it online. i have attached the o/p of vgdisplay & lvdisplay. please check am i correct
# uname -r
B.11.11
# model
9000/800/rp4440
#
#lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c2t0d0
#lvreduce -m 0 /dev/vg00/lvol2 /dev/dsk/c2t0d0
#lvreduce -m 0 /dev/vg00/lvol3 /dev/dsk/c2t0d0
#lvreduce -m 0 /dev/vg00/lvol4 /dev/dsk/c2t0d0
#lvreduce -m 0 /dev/vg00/lvol5 /dev/dsk/c2t0d0
#lvreduce -m 0 /dev/vg00/lvol6 /dev/dsk/c2t0d0
#lvreduce -m 0 /dev/vg00/lvol7 /dev/dsk/c2t0d0
#lvreduce -m 0 /dev/vg00/lvol8 /dev/dsk/c2t0d0
#lvreduce -m 0 /dev/vg00/lvdaz /dev/dsk/c2t0d0
#lvreduce -m 0 /dev/vg00/lvol10 /dev/dsk/c2t0d0
#lvreduce -m 0 /dev/vg00/lvsap /dev/dsk/c2t0d0
#lvreduce -m 0 /dev/vg00/lvsapD01 /dev/dsk/c2t0d0
#lvreduce -m 0 /dev/vg00/lvoracle /dev/dsk/c2t0d0
#lvreduce -m 0 /dev/vg00/lvol14 /dev/dsk/c2t0d0
#vgreduce /dev/vg00 /dev/dsk/c2t0d0
Now replace the disk
#vgcfgrestore ├в n /dev/vg00 /dev/dsk/c2t0d0
#vgchange -a y /dev/vg00
#lvlnboot -Rv /dev/vg00
#vgsync /dev/vg00
Am i correct?another thing i will do it remotely & power cut is a problem so shall i use nohup? i hv never use it before..what will be the command then
Regards,
Ani
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2011 08:44 AM
тАО02-24-2011 08:44 AM
Re: alternet root disk replacement
There is no need to do lvreduce, but if done, there is nothing you can restore with vgcfgrestore.
You can do this replacement online!
Full steps are here:
When_Good_Disks_Go_Bad_WP
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2011 09:45 AM
тАО02-24-2011 09:45 AM
Re: alternet root disk replacement
Tnx for quick reply.
#pvchange -a n /dev/dsk/c2t0d0
HPCE replace the disk
#vgreduce /dev/vg00 /dev/dsk/c2t0d0
#pvchange -a y /dev/dsk/c0t8d0
#vgsync /dev/vg00
Is it correct now? if nor what it will be?
Regards,
Ani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2011 10:56 AM
тАО02-24-2011 10:56 AM
Solutionreplace new the disk
ioscan -fnC disk
insf -C disk
vgcfgrestore -n vg00 /dev/rdsk/c2t0d0
mkboot -l /dev/rdsk/c2t0d0
mkboot -a "hpux -lq" /dev/rdsk/c2t0d0
pvchange -a y /dev/dsk/c2t0d0
vgsync vg00
lvlnboot -R
lvlnboot -v
hope this will help you
this is the procedure for PARISC platform.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2011 07:16 PM
тАО02-24-2011 07:16 PM
Re: alternet root disk replacement
Steps you mentioned are not correct.
Find the attached steps to replace faukty root disk
------------
1) Detach the indicated faulty physical volume
host # pvchange -a n /dev/dsk/c0t8d0
2) Check the status of the PV at /dev/dsk/c0t8d0
host # pvdisplaypvdisplay -v /dev/dsk/c0t8d0 |more
3) Once faulty disk is succsessfully detached. Insert new wroking disk ( may be it is done by HP CE) Perform consistancy check on newly inserted disk
host # dd if=/dev/rdsk/c0t8d0 of=/dev/null bs=2048k
(.. should get o/p like as below )
205+0 records in
205+0 records out
4) Check the status of new PV at H/W path 4/0/1/0/0.8.0. Should be claimed state
host # ioscan -fnH4/0/1/0/0.8.0
host # diskinfo /dev/rdsk/c0t8d0
host # pvcreate -f -B /dev/rdsk/c0t8d0
5) Install boot programs on newly added disk at /dev/rdsk/c0t8d0
host # mkboot /dev/rdsk/c0t8d0
6) Restore vg00 configuration on newly added disk
host # vgcfgrestore -n vg00 /dev/rdsk/c0t8d0
7) Install autoexecute file on new disk
host # mkboot -a "hpux -lq" /dev/rdsk/c0t8d0
8)
host # cd /usr/sbin/diag/lif
host # /usr/sbin/diag/lif $
host # /usr/sbin/diag/lif # mkboot -b updatediaglif2 -p LABEL -p AUTO -p HPUX -p ISL /dev/rdsk/c0t8d0
host # /usr/sbin/diag/lif # liflslifls /dev/rdsk/c0t8d0
host # /usr/sbin/diag/lif # lifcp /dev/rdsk/c0t8d0:AUTO -
9) prepare LVM logical volume to be boot
host # /usr/sbin/diag/lif # lvlnboot -R -v
10) Change the PV and VG to active state
host # /usr/sbin/diag/lif # pvchange -a y /dev/dsk/c0t8d0
host # /usr/sbin/diag/lif # vgchange -a y vg00
host # /usr/sbin/diag/lif # vgsync vg00
11) Check error log
host # /usr/sbin/diag/lif # dmesg
12) Verify PV
host # /usr/sbin/diag/lif # pvdisplay -v /dev/dsk/c0t8d0 |more
13) Wait untill all LVs are synced properly
host # /usr/sbin/diag/lif # vgdisplay -v vg00 |grep -i stale
host # /usr/sbin/diag/lif # vgdisplay -v vg00 |more
End of activiy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2011 07:10 AM
тАО02-25-2011 07:10 AM
Re: alternet root disk replacement
INH mention that i need to do the following also in his attachment ... is it require??? or shall i go with NIJOKI process...
# pvcreate -f -B ...
&
host # cd /usr/sbin/diag/lif
host # /usr/sbin/diag/lif $
host # /usr/sbin/diag/lif # mkboot -b updatediaglif2 -p LABEL -p AUTO -p HPUX -p ISL /dev/rdsk/c0t8d0
host # /usr/sbin/diag/lif # liflslifls /dev/rdsk/c0t8d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2011 05:15 PM
тАО02-25-2011 05:15 PM
Re: alternet root disk replacement
Rgads,
INH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2011 12:41 AM
тАО02-27-2011 12:41 AM
Re: alternet root disk replacement
See the attached document above!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2011 02:11 AM
тАО03-03-2011 02:11 AM