- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Primary root disk replace without reboot HP UX...
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
тАО10-03-2006 05:13 AM
тАО10-03-2006 05:13 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2006 05:18 AM
тАО10-03-2006 05:18 AM
Re: Primary root disk replace without reboot HP UX 11.11
ioscan -fnCdisk
and check if it is CLAIMED or NO_HW.
Also you need to make sure how server is booted off.
echo "boot_string/S" |adb /stand/vmunix /dev/mem
replace mem to kmem if it is a vpar.
If is completely dead then pull dead one and replace with new one.
pvcreate -B /dev/rdsk/cXXtYYdZZ
vgcfgrestore -n /dev/vg00 /dev/dsk/cXXtYYdZZ
vgsync /dev/vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2006 05:27 AM
тАО10-03-2006 05:27 AM
Re: Primary root disk replace without reboot HP UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2006 05:31 AM
тАО10-03-2006 05:31 AM
Re: Primary root disk replace without reboot HP UX 11.11
then
lvreduce -m 0 all logical volumes
vgreduce /dev/vg00
repalce it.
pvcreate -B
mkboot newdisk
mkboot -a "hpux -lq" newdisk
vgextend /dev/vg00 newdisk
You need to mirror /stand swap and / in the following order otherwise server won't be bootable.
lvextend -m 1 /dev/vg00/lvol1
lvextend -m 1 /dev/vg00/lvol2
lvextend -m 1 /dev/vg00/lvol2
and then remaining logical volumes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2006 06:03 AM
тАО10-03-2006 06:03 AM
Re: Primary root disk replace without reboot HP UX 11.11
I was advised that vgreduce command will not work trying to remove primary drive.
Drive is not dead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2006 06:10 AM
тАО10-03-2006 06:10 AM
Re: Primary root disk replace without reboot HP UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2006 06:26 AM
тАО10-03-2006 06:26 AM
Re: Primary root disk replace without reboot HP UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2006 06:35 AM
тАО10-03-2006 06:35 AM
Re: Primary root disk replace without reboot HP UX 11.11
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2006 07:04 AM
тАО10-03-2006 07:04 AM
Re: Primary root disk replace without reboot HP UX 11.11
I guess if that steps vgreduce works, then should be no problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2006 08:02 AM
тАО10-03-2006 08:02 AM
SolutionI tried this in my environment several time and it should work. HP offer true active/active mirroring. It doesnt matter you boot your machine from primary disk or alternate both disk. Under mirroring both disks always work active/active. If you remove one disk by vgreduce the other disk will take its place.