- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to replace system disk without building system...
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-06-2004 02:43 PM
05-06-2004 02:43 PM
Instead of replacing both system disks at the same time and building the whole system from scratch, can I replace one disk first, mirror it to the bigger disk then replace the other one, and mirror from the first bigger disk?
If it is possible, could you provide a procedure that I can follow? This is a very import production server, I can get only 12 hours maintenance window. I don't want to take any chance to blow the server.
Thanks a lot,
Carol
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 03:02 PM
05-06-2004 03:02 PM
Re: how to replace system disk without building system from scratch
How is your VG00 configured? Specifically what is the value of "PE Size" and what is the value of "Max PE per PV"? Also, what size disks are you going to use to replace the 36GB disks?
If you could post the output of 'vgdisplay vg00' that would help us a whole lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 03:25 PM
05-06-2004 03:25 PM
Re: how to replace system disk without building system from scratch
# vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 8
Total PE 8680
Alloc PE 3826
Free PE 4854
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
Thanks a lot,
Carol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 03:50 PM
05-06-2004 03:50 PM
Re: how to replace system disk without building system from scratch
Ignite-UX is your friend (I've not tried this). Now you'll have to research regarding the details and pitfalls.
Or break one of the root mirror, replace that online with a bigger disk. Split off the new bigger disk again and resize to your requirement. Reboot the system off the new bigger disk. If you're happy, replace the original root disk with the bigger disk and then sync (and install boot block, etc..)
Regards
Jov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 03:51 PM
05-06-2004 03:51 PM
Re: how to replace system disk without building system from scratch
You have got 4854 numbers of FREE PEs still left in the volume group...
why don't you think of utilising those free PEs?? means you get a disk space of around 19GB(mirrored)
with best wishes
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 04:17 PM
05-06-2004 04:17 PM
SolutionYour PE Size is 8MB and your MAX PE per PV is 4350, so the biggest disk you can have in your current VG00 is 34,800 MB which is basically your 36GB drive.
In order to fully utilize the new 146 GB drives you will have to:
1) Install the latest version of Ignite/UX -- http://software.hp.com/products/IUX
2) Create a make_tape_recovery tape if you have a tape drive attached.
# /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -x inc_entire=vg00
Where /dev/rmt/?mn is your tape drive (you MUST use the 0mn, 1mn, ?mn -- the no-rewind device).
Ideally you should take 2 Ignite backups, just in case 1 tape goes bad.
This is also a good time to back up your data VG, just in case.
Ignite should re-import your data VG but in case it doesn't create a map file and transfer it to your PC so you can easily reimport your data VG if necessary.
# vgexport -p -v -s -m datavg.map /dev/vg??
Where vg?? is the vgname
3) Shutdown the machine, pull out the 36GB disks, insert the 146GB disks and reboot.
4) Interrupt the boot process at the "Press any key within 10 seconds" prompt.
5) Boot from the make_tape_recovery tape
6) You can interact with the installation to make changes to your VG00 layout if you desire. This is a good time to increase some of your LVOL sizes if you require.
7) Let ignite do its thing. Once the system comes back up it should be identical to the way it was before you replaced the disks.
As long as there are not going to be any changes made to the system, you could create the make_tape_recovery tapes prior to your downtime window. Even if you don't I feel you should be able to accomplish this in your 12 hour downtime window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 06:09 PM
05-06-2004 06:09 PM
Re: how to replace system disk without building system from scratch
patrick suggestions exact and apply to your scenario.
I would just like to summarize it in brief:
Step by step procedure:
# vgexport -p -v -s -m vgxx.map /dev/vgxx
create map file for all VG's and note down group minor no. for all.
# make_recovery -ACv -d /dev/rmt/xmn
where x is 0,1,... whatever you have as tape drive
That's all .. shutdown .. remove both 36 GB disk..insert new 146 GB disks..Start System.
Halt it at PDC prompt.
Main Menu> bo PX
where x is 1,2,.. indicates your tape drive.
check using "search" command at PDC prompt.
Install backup VG00 on new disk.
After completing installation:
#pwd
/dev
#mkdir vgxx
#mkdir vgyy
#mkdir vgzz
#cd vgxx
#mknod group c 64
#cd ../vgyy
#mknod group c 64
#cd ../vgzz
#mknod group c 64
#cd
#vgimport -s -v -m
#vgimport -s -v -m
#vgimport -s -v -m
This should be fine and help out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 07:04 PM
05-06-2004 07:04 PM
Re: how to replace system disk without building system from scratch
You cannot replace one disk from the root vg with a bigger disk and do the mirroring and then do the same for the other disk. This is becuase you'll run into the problem of MAX_PE per PV limit. At present the current vaule of this limit for vg00 will not allow you to use more than 36GB of any bigger size disk that you add.
A better solution would be to take a ignite backup and then restore using the ignite backup.
If you don't have ignite installed on your system, download it from here,
http://www.software.hp.com/products/IUX/download.html
Try the ignite faq.
http://www.software.hp.com/products/IUX/faq.html
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 08:28 PM
05-06-2004 08:28 PM
Re: how to replace system disk without building system from scratch
If u r first timer , do it on a testnode else check my procedure and go ahead .. I have written it from my memory but logic is correct and it has worked for me many times.
Others please have a look and comment if there are any errors
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2004 07:04 AM
05-07-2004 07:04 AM
Re: how to replace system disk without building system from scratch
Also does HP rp5470 server comes with a tape drive? Will it work say if I have to use a tape library to do backup?
Thanks a lot. Wait for your reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2004 07:43 AM
05-07-2004 07:43 AM
Re: how to replace system disk without building system from scratch
No rp5470 machines do not come with a tape drive by default. It has to be ordered in an external unit as there is no room for an internal tape drive.
It MAY work with a tape library, BUT you would have to MANUALLY put the tape into a drive in the library before starting the process as Ignite/UX has absolutely no idea how to work with a tape library. It will also depend on the type of tape drive you have as to whether or not your machine will boot from it. I have successfully booted machines from DLT and DDS drives.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2004 08:10 AM
05-07-2004 08:10 AM
Re: how to replace system disk without building system from scratch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 02:13 AM
05-10-2004 02:13 AM
Re: how to replace system disk without building system from scratch
I'm not going to rehash what has already been said. The step-by-step procedure Patrick gave you is what you need to do if this is what you wnat to do.
You have 2x36gb physical drives in vg00. As Najeev pointed out there is some space currently available.
You also have 2x146GB physical drives which I assume is a data or application volume group.
If you want to replace the drives in vg00 with larger ones to gain more space I'm asssuming you will then be mixing data/application storage in vg00 which should remain as just your operating system environment.
It is usually better to keep your OS and you data in different volume groups. If you need to upgrade or even rebuild your OS from scratch it is more difficult if vg00 is a mixed volume group.
Those 36GB drives are more than adequated for an OS volume group. If you are out of space in your data/application volume group I advocate fixing it rather than trying to badage it. It probably is time for additional external storage. A DS2100 gives you slots for 4 additional drives. The list price of the DS2100 and the drives that are available for it are:
DS2100 $699
18GB 15K $651
36GB 10K $651
36GB 15K $1,207
73GB 10K $1,320
Really not that expensive.
Also, as pointed out the rp5470 does not come with a tape drive but, it can have one. There is one slot for either a tape drive or a DVD-ROM drive.
Dave