- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Replace root vg hdd
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
05-16-2010 10:18 PM
05-16-2010 10:18 PM
Replace root vg hdd
O/s :hp-ux 11i v1
Issue:hdd partially failed in root vg
We need to replace the current 9Gb hdd from the root vg, but we received a new disk which is 18Gb.And the root vg is not mirrored.Now the machine is up and running, we have down time for this activity.Please provide the steps to replace the disk disk in root vg, and whether we can utilize the entire 18Gb of new disk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2010 10:25 PM
05-16-2010 10:25 PM
Re: Replace root vg hdd
Yes its possible, if you do "pvcreate,
vgextend , lvextend " to mirror rootvg
Its not possible , if you do " pvcreate, vgcfgrestore, vgsync " to mirror rootvg.
In second case you will be able to use only 9GB.
GUdluck
Prasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2010 10:49 PM
05-16-2010 10:49 PM
Re: Replace root vg hdd
after PVcreate of the new disk, you will get two times PV, but you will allocate only 9 GB.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2010 10:49 PM
05-16-2010 10:49 PM
Re: Replace root vg hdd
1. Install Ignite-UX on your system
2. run make_recovery (with relevant options), to create bootable tape
3. reboot your system & Press a key to abort non-interactive recovery.
4. Select appropriate language.
5. Select Advanced Options from the menu (3rd option).
6. Select Edit Config from the submenu (2nd option).
7. Change the last RECOVERY entry in the file to RECOVERY=TRUE and exit vi.
8. Select Install HP-UX from the menu (1st option).
9. Choose either Guided or Advanced Installation (advanced is required for changing filesystems).
10. Complete all other required information and select Go! to begin the recovery.
from
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1424543
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2010 10:49 PM
05-16-2010 10:49 PM
Re: Replace root vg hdd
So the procedure is
1 pvcreate -fB /dev/rdsk/cxtxdx
2 mkboot -l /dev/rdsk/cxtxdx
3 mkboot -a hpux -lq /dev/rdsk/cxtxdx
4 vgextend /dev/vg00 /dev/dsk/cxtxdx
5 lvextend /dev/vg00/lvol1 /dev/dsk/cxtxdx
6 like lvol2,lol3......
so here my question is whether the entire 18Gb will be utilized?
because the currentMAX PE /PV
==========================
vgdisplay vg00
Max PE per PV 1016
PE Size (Mbytes) 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2010 10:53 PM
05-16-2010 10:53 PM
Re: Replace root vg hdd
>> hdd partially failed in root vg
Mirroring might not work as disk would have some stale extents
Do you have ignite backup?
If yes..
1. Shutdown system and replace the drive.
2. Boot system from make_tape_recovery
- Interrupt system on the way up
- Search for bootable device (see ipl)
- boot P# (Sequential)
- Do not interact with IPL
- From the Welcome to Ignite-UX screen Select "Install HP-UX"
- From the "User Interface and Media Options" menu
Select "Media Only Installation"
3. Do all necessary file system changes: extending vg00, increasing the size logical volumes and changing file system types.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2010 11:02 PM
05-16-2010 11:02 PM
Re: Replace root vg hdd
ignite not installed, tape drive not working...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2010 11:03 PM
05-16-2010 11:03 PM
Re: Replace root vg hdd
build an IGNITE server and backup via network.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2010 11:06 PM
05-16-2010 11:06 PM
Re: Replace root vg hdd
>>hdd partially failed in root vg
I assume the vg00 was mirrored before ( 2 X 9 disks) and one of mirrored disk had failed.
You steps looks good.
>>so here my question is whether the entire 18Gb will be utilized?
because the currentMAX PE /PV
See ...if you are mirroring a 18 GB disk with a 9 GB disk only 9GB of the new disk is used for mirroring and the remaining PE of the new disks can be used for newer vg00 lvols without mirroring.
Regards,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2010 11:09 PM
05-16-2010 11:09 PM
Re: Replace root vg hdd
This is a small data center for a Bank.
Only one server...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2010 11:13 PM
05-16-2010 11:13 PM
Re: Replace root vg hdd
so if you can't create ignite backup them, and like to fix it, them you need to risk it and make it on this system.
i do it always on production system, but i have always a ignite backup, but in this situation you should consider and chcek what you are going to do.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2010 11:19 PM
05-16-2010 11:19 PM
Re: Replace root vg hdd
do you have backup of the server.
What you may try is add this disk in server new vg or any existing vg.
create the LVs simlar to vg00(except double the size) and restore the corresponding data from backup.
like root file syestem in /a/root_2
var in /a/var_2
after restoring the data of all the LVs do a mkboot on the disk, and try to reboot with this disk.
IGNITE is highly recommended.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2010 11:22 PM
05-16-2010 11:22 PM
Re: Replace root vg hdd
//ignite not installed, tape drive not working...//
The tape drive is detecting or not.
If the tape drive is not detecting,enable "stape" driver to in and take a reboot(Use SAM)//it is static kernel parameter,so reboot is required.
If tape is detecting and not working try to replace new tape drive and install latest version of ignite.Take vg00 backup and restore it on 18GB DISK.
I think this process will take time even it is Good for you.If mirror bundle already installed try for mirroring.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2010 11:24 PM
05-16-2010 11:24 PM
Re: Replace root vg hdd
Yes we now we ned to follow some hp-non recomended way to solve this issue.Raised hprc case for the reply from the experts.I will post the update.
Thanks everyone.