- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: disk replace
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-02-2009 10:58 PM
тАО02-02-2009 10:58 PM
disk replace
In my hpux 11.23 ia64 box one of the mirrored root disk failed and saying unavl/no_hw.. no prevoius vfcfgbackup avl.how to replace this without any disturbance in production ..can anyone share step by setp proc ?
rgds
trng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2009 11:10 PM
тАО02-02-2009 11:10 PM
Re: disk replace
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2009 11:30 PM
тАО02-02-2009 11:30 PM
Re: disk replace
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1233646192447+28353475&threadId=1267847
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2009 08:39 PM
тАО02-03-2009 08:39 PM
Re: disk replace
by deafault any vgcfgbackup is there in machine ???.. because my one of my boot disk failed ..i have never performed vgcfgbackup earlier ...
rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2009 09:22 PM
тАО02-03-2009 09:22 PM
Re: disk replace
LVM by default runs a vgcfgbackup command in the background and keeps the uptodate backu of the VG whenever a command is run that makes changes to the LVM.
With all the commands like lvextend, lvcreate, lvremove, vgextend, pvchange and all the vgcfgbackup is run at the background.
at the time of execution of the vgcfgbackup command dorectly or as in directly as the auto execution of the LVM commands, the present VG cfg is backed up as /etc/lvmconf/
So your system mush have a VG cfg baclup for the VG in question. There are very high cghances and also please refer to the date of those files as said earlier, these tell the date the last vgcfgbackup was run.
Regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2009 10:55 PM
тАО02-03-2009 10:55 PM
Re: disk replace
yes ,i got the vg00.conf ..how to proceed further for IA 64
rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2009 02:06 AM
тАО02-04-2009 02:06 AM
Re: disk replace
please get the O/P for
1)#strings /etc/lvmtab
2)#ioscan -fnCdisk
ensure what is the present disk that is good in the VG vg00.
Ensure which one is the new disk.
suppose the Existing healthy disk is /dev/dsk/c0t0d0 and the disk that you are going to replace is /dev/dsk/c0t2d0.
then do the following and do paste the O/Ps of the commands.
3)#diskinfo -v /dev/rdsk/c0t0d0s1
4)#diskinfo -v /dev/rdsk/c0t0d0s2
5)#diskinfo -v /dev/rdsk/c0t0d0s3
6)#vgdisplay -v /dev/vg00
7)vgcfgrestore -l -n /dev/vg00
rest when i get these O/Ps from you:-)
Regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2009 06:23 AM
тАО02-04-2009 06:23 AM
Re: disk replace
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
Refer to page number 24, Step 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2009 06:42 AM
тАО02-04-2009 06:42 AM
Re: disk replace
i will have to assume lot many things while annswering for this.
Disk that is good disk is /dev/dsk/c0t0d0 and that you are replacing is /dev/dsk/c0t2d0
i assume that for the commands 3 and onwards you find that s1(EFi Partition) is 400 MB and s3(HPSP) is 500MB in size.
follow the steps:
#ioscan -fnC disk -- make sure that /dev/dsk/c0t2d0 is Available and is CLAIMED and the device files are there.
#rmsf -H
#insf
#insf -e -H
#vi /tmp/pdf
3
EFI 400MB
HPUX 100%
HPSP 500MB
#idisk -w -f /tmp/pdf /dev/rdsk/c0t2d0>
#insf -e -H
#ioscan -fnCdisk
Watch that you can see the 3 Ptns on the new disk.
#mkboot -e -l /dev/rdsk/c0t2d0
#vgcfgrestore -n /dev/vg00 /dev/rdsk/c0t2d0s2
#vgsync vg00
#for i in /dev/vg00/lvol*
>do
>lvsync $i
>done
After the syncing is complete,
#dd if=/dev/rdsk/c0t0d0 of=/dev/rdsk/c0t2d0
#dd if=/dev/rdsk/c0t0d0 of=/dev/rdsk/c0t2d0
#vi /tmp/auto
boot vmnix -lq
save and exit
#efi_cp -d /dev/rdsk/c0t2d0 /tmp/auto /EFI/HPUX/AUTO
#lvlnboot -R
#lvlnboot -v
#setboot -h
#vi /stand/bootconf
and make sure that both the entries are there.
l /dev/dsk/c0t0d0s2
l /dev/dsk/c0t2d0s2
So you have done that.
Regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2009 06:46 AM
тАО02-04-2009 06:46 AM
Re: disk replace
Please have a look at the following link and take some time to assign points.
This might lead you to get better responses.
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
regardssujit