- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- disk replace
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
disk replace
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-02-2009 10:58 PM
02-02-2009 10:58 PM
disk replace
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-02-2009 11:10 PM
02-02-2009 11:10 PM
Re: disk replace
Re: disk replace
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-02-2009 11:30 PM
02-02-2009 11:30 PM
Re: disk replace
Re: disk replace
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1233646192447+28353475&threadId=1267847
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-03-2009 08:39 PM
02-03-2009 08:39 PM
Re: disk replace
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-03-2009 09:22 PM
02-03-2009 09:22 PM
Re: disk replace
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-03-2009 10:55 PM
02-03-2009 10:55 PM
Re: disk replace
Re: disk replace
yes ,i got the vg00.conf ..how to proceed further for IA 64
rgds
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-04-2009 02:06 AM
02-04-2009 02:06 AM
Re: disk replace
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-04-2009 06:23 AM
02-04-2009 06:23 AM
Re: disk replace
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-04-2009 06:42 AM
02-04-2009 06:42 AM
Re: disk replace
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-04-2009 06:46 AM
02-04-2009 06:46 AM
Re: disk replace
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-04-2009 07:40 AM
02-04-2009 07:40 AM
Re: disk replace
Re: disk replace
please refer that
dd lines will look as
after the syncing is complete:::
#dd if=/dev/rdsk/c0t0d0s1 of=/dev/rdsk/c0t2d0s1
#dd if=/dev/rdsk/c0t0d0s3 of=/dev/rdsk/c0t2d0s3
this is for copying the efi and hpsp partitions corresponding to the disks.
regards
Sujit
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP