- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Migrating system from 9Gb disk to 18Gb one
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
11-03-2003 11:03 PM
11-03-2003 11:03 PM
We have following stage:
HPD230 machine
HP-UX B10.20 O.S.
Mirror Disk B10.20
2 mirrored hard disks - 9Gb each
1 DDS3 Tape Drive
We are running out of space and plan to replace 9Gb disks with 18 Gb disks and don´t have free SCSI slots to attach them.
I don´t feel safe about steps to follow and best way to attack it, i.e. Can I "backup" the whole system and then restore it in a not dangerous way??? or Should I replace the disks, install again O.S. and configure all the old services, users, and so on???
Tha
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 11:07 PM
11-03-2003 11:07 PM
SolutionYou can use ignite to create a bootable tape. Boot from tape and restore it on the new disk.
The ignite software is available from this link.
http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=IGNITEUX
Regards,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 11:09 PM
11-03-2003 11:09 PM
Re: Migrating system from 9Gb disk to 18Gb one
Alternatively, assuming all the logical volumes on disk A are mirrored on disk B and there is no overlap, you could break the mirrors from disk B. Then replace disk B and re-create the mirrors. Make the new disk B bootable and then break the mirrors again but this time break them from disk A, replace disk A and re-mirror and make disk A bootable. Voila, can all be done online.
I prefer the first option myself though :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 11:11 PM
11-03-2003 11:11 PM
Re: Migrating system from 9Gb disk to 18Gb one
You can create an ignite tape ( make)recovery -ACvd /dev/rmt/0mn ) and restore it on a bigger disk. You just need to alter the maxpv ( half it ) so you can use the entire disk. This can be done in advanced options.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 11:13 PM
11-03-2003 11:13 PM
Re: Migrating system from 9Gb disk to 18Gb one
OR
Take out mirrored disk, replace it with 18gn disk.
boot.
vgcfgrestore on replaced disk.
vgchange -a n vg00
vgsync
to complete the mirroring.
Samw way you can replace the other 9GB disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 11:13 PM
11-03-2003 11:13 PM
Re: Migrating system from 9Gb disk to 18Gb one
There are couple of ways of doing it , depending on waht you want to achive,
1. You can do a ignite and replace the disk , restore th OS back and also the data if there are any on that root disk . Please make sure that the new disks are supported since th Box is old one.
2. The other way is to install the new disk and load fresh OS and then restore the data.
In case you want new disk to inherit the ols settings of the OS I would recommend you to do a ignite with interactive option.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 11:15 PM
11-03-2003 11:15 PM
Re: Migrating system from 9Gb disk to 18Gb one
this can be done by ignite but be sure to do the step of maxpv that Vrijhoeven mentioned or your system will see only 9 GB.
Dory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 11:16 PM
11-03-2003 11:16 PM
Re: Migrating system from 9Gb disk to 18Gb one
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000067004327
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 11:18 PM
11-03-2003 11:18 PM
Re: Migrating system from 9Gb disk to 18Gb one
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 11:37 PM
11-03-2003 11:37 PM
Re: Migrating system from 9Gb disk to 18Gb one
In the case of the mirrors, you won't be able to see the entire 18Gb and therefore you will lose close to 9Gb capacity just because of the way your VG is configured.
If you go using the make_tape_recovery, it'll recreate the VG for you using the right amount of MAX PE in your VG and will put back everything you had in your vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 11:37 PM
11-03-2003 11:37 PM
Re: Migrating system from 9Gb disk to 18Gb one
Ignite is the way to go!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 11:44 PM
11-03-2003 11:44 PM
Re: Migrating system from 9Gb disk to 18Gb one
Break the mirror and replace it with 18GB disk. Now prepare the static copy of the root disk as follows.
Once done, use setboot and boot from 18GB disk, if successful, then replace other disk and do mirroring again.
replaced disk(18 GB) = /dev/dsk/c0t6d0
seconday disk(9Gb) = /dev/dsk/c4t6d0
mkdir /dev/vgbroot
mknod /dev/vgbroot group c 64 0x020000
Note: make sure minor node is unique - your choice.
pvcreate -fB /dev/rdsk/c4t6d0
mkboot /dev/rdsk/c4t6d0
mkboot -a "hpux -lq" /dev/rdsk/c4t6d0
lifcp /dev/rdsk/c4t6d0:AUTO -
Note: this is to confirm your AUTO file is ok.
vgcreate /dev/vgbroot /dev/dsk/c4t6d0
(Take care of max pes here, use -e option)
lvcreate -L {sizeofstand} -s y -C y -r n -n \ bstand /dev/vgbroot
lvcreate -L {sizeofswap} -s y -C y -c n -r n\ -M n -n bswap /dev/vgbroot
lvcreate -L {sizeofroot} -s y -C y -r n -n broot /dev/vgbroot
lvcreate -L {sizeofusr} -s y -n busr \ /dev/vgbroot
lvcreate -L {sizeoftmp} -s y -n btmp \ /dev/vgbroot
Continue in this manner for every lvol on your primary root disk matching the order on the disk, the size and u
sing any naming convention you want (e.g. blvol1, blvol2, etc) I like broot, bswap, etc. Likewise the volume gr
oup can be any name (vgbroot, vg02, vgaltboot, etc)
***Next steps are important or you won't boot from the new disk.
lvlnboot -b /dev/vgbroot/bstand
lvlnboot -r /dev/vgbroot/broot
lvlnboot -s /dev/vgbroot/bswap
lvlnboot -d /dev/vgbroot/bswap
lvlnboot -v
lvlnboot -R
check the output should have vg00 and vgbroot as bootable volume groups.
dd all the lvols on the primary disk to the lvols on the second disk. You can also mount and use cpio if you wi
sh.
Example:
dd if=/dev/vg00/rlvol1 of=/dev/vgbroot/rbstand bs=64k (or whatever bs you want to use)
After your dd's or cpio's are complete, then fsck your filesystems.
Need to edit the fstab on the 2d disk so that it will properly mount file systems.
mkdir /mnt
mount /dev/vgbroot/broot /mnt
cd /mnt/etc
cp fstab Ofstab
edit /mnt/etc/fstab
change the "vg00" to "vgbroot" for all the file systems you put on the second bootable device. Save the file. A
lso copy the file to /mnt/etc/Bfstab.
umount /dev/vgbroot/broot
You should now be able to boot to the second bootable device (either use setboot -p to change you boot path or
interrupt the boot and select the second disk boot path). After that the system should come up and run and incl
ude all your other mount points, applications, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 11:45 PM
11-03-2003 11:45 PM
Re: Migrating system from 9Gb disk to 18Gb one
It definitely seems ignite way is the best, I´ll study it and write down my own steps before procceeding.
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 11:46 PM
11-03-2003 11:46 PM
Re: Migrating system from 9Gb disk to 18Gb one
Manuel, please next time be carefull when assigning points.
Good luck with your migration
Dory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 12:04 AM
11-04-2003 12:04 AM
Re: Migrating system from 9Gb disk to 18Gb one
Thank