GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Change system disk 2GB for 9GB on 10.20
Operating System - HP-UX
1847893
Members
1659
Online
104021
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
07-02-2004 12:38 PM
07-02-2004 12:38 PM
I have an E35 box with 10.20 instaled.
How to change a system disk (2GB) for another with 9GB.
Thanks.
How to change a system disk (2GB) for another with 9GB.
Thanks.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 03:05 PM
07-02-2004 03:05 PM
Solution
If you have a tape drive and have disk space, download and install the Ignite/UX "A" version which is for 10.X systems ONLY. You can still get it here:
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=IGNITEUX
Click on the "receive for free" button, fill out the form and download.
Once it is installed, create a make_tape_recovery tape. They syntax I use is:
# /opt/ignite/bin/make_tape_recovery -a /dev/rmt/0mn -I -v -m tar -x inc_entire=vg00
The /dev/rmt/0mn should be whatever your tape drive is.
I would create a couple of tapes. Once that is done, you can install the 9GB disk, boot from the tape and have it reinstall your system. At that point everything should be back to how your expect.
I have done this several times and never had a problem.
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=IGNITEUX
Click on the "receive for free" button, fill out the form and download.
Once it is installed, create a make_tape_recovery tape. They syntax I use is:
# /opt/ignite/bin/make_tape_recovery -a /dev/rmt/0mn -I -v -m tar -x inc_entire=vg00
The /dev/rmt/0mn should be whatever your tape drive is.
I would create a couple of tapes. Once that is done, you can install the 9GB disk, boot from the tape and have it reinstall your system. At that point everything should be back to how your expect.
I have done this several times and never had a problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 05:00 PM
07-02-2004 05:00 PM
Re: Change system disk 2GB for 9GB on 10.20
Ignite is an option and safe.. If u want to do something diffrent here it is .. If u have LVM.
Old Disk :- /dev/dsk/c0t6d0 2 G
New Disk :- /dev/dsk/c0t5d0 9 G
Tasks to be performes Prior to the Outage :-
============================================
01. Install the new disk
02. Prepare new disk for LVM with BDRA
pvcreate -B /dev/rdsk/c0t5d0
03. Create New root volume group
mkdir /dev/vgboot
mknod /dev/vgboot/group c 64 0x020000
vgcreate /dev/vgboot /dev/dsk/c0t5d0
04. Prepare the disks for booting
mkboot /dev/rdsk/c0t5d0
mkboot -a "hpux " /dev/rdsk/c0t5d0
05. Create the new logical volumes
lvcreate -L -C y -r n /dev/vgboot
lvcreate -L -C y -r n /dev/vgboot
lvcreate -L -C y -r n /dev/vgboot
.... # Continue to create all the Logical volumes in your vg00 (rootvg) and get everything.
Get an Outage :-
=================
1. Boot the system into LVM Maintanance Mode.
2. Create new mount points
mkdir -p /newboot /newroot ...... for all the filesystems in root vg except swap lv.
3. Mount the new filesystems
mount /dev/vgboot/lvol1 /newboot
mount /dev/vgboot/lvol3 /newroot
... # Continue for all the filesystems ...
... #
4. Transfer data from old to new one
cd /;find . -depth -xdev -print |cpio -pxdm /newroot # ROOT
cd /stand;find . -depth -xdev -print |cpio -pxdm /newboot # BOOT
...... # Continue for all the filesystems
...... #
5. Update the Boot definitions on the new disks
lvlnboot -r /dev/vgboot/newroot
lvlnboot -b /dev/vgboot/newboot
lvlnboot -s /dev/vgboot/newswap
lvlnboot -d /dev/vgboot/newswap
lvlnboot -R /dev/vgboot
6. Update filesystem map
cat /newroot/etc/fstab |sed -e "s/vg00/vgboot/g" >/newroot/etc/fstab.new
cp /newroot/etc/fstab /newroot/etc/fstab.old
cp /newroot/etc/fstab.new /newroot/etc/fstab
7. Shutdown the node
8. Disconnect the 2 GB drive
9. From IPL Change the boot path to the new disk
10. Start the System;it will reboot once of its own.
Regds,
Kaps
Old Disk :- /dev/dsk/c0t6d0 2 G
New Disk :- /dev/dsk/c0t5d0 9 G
Tasks to be performes Prior to the Outage :-
============================================
01. Install the new disk
02. Prepare new disk for LVM with BDRA
pvcreate -B /dev/rdsk/c0t5d0
03. Create New root volume group
mkdir /dev/vgboot
mknod /dev/vgboot/group c 64 0x020000
vgcreate /dev/vgboot /dev/dsk/c0t5d0
04. Prepare the disks for booting
mkboot /dev/rdsk/c0t5d0
mkboot -a "hpux " /dev/rdsk/c0t5d0
05. Create the new logical volumes
lvcreate -L
lvcreate -L
lvcreate -L
.... # Continue to create all the Logical volumes in your vg00 (rootvg) and get everything.
Get an Outage :-
=================
1. Boot the system into LVM Maintanance Mode.
2. Create new mount points
mkdir -p /newboot /newroot ...... for all the filesystems in root vg except swap lv.
3. Mount the new filesystems
mount /dev/vgboot/lvol1 /newboot
mount /dev/vgboot/lvol3 /newroot
... # Continue for all the filesystems ...
... #
4. Transfer data from old to new one
cd /;find . -depth -xdev -print |cpio -pxdm /newroot # ROOT
cd /stand;find . -depth -xdev -print |cpio -pxdm /newboot # BOOT
...... # Continue for all the filesystems
...... #
5. Update the Boot definitions on the new disks
lvlnboot -r /dev/vgboot/newroot
lvlnboot -b /dev/vgboot/newboot
lvlnboot -s /dev/vgboot/newswap
lvlnboot -d /dev/vgboot/newswap
lvlnboot -R /dev/vgboot
6. Update filesystem map
cat /newroot/etc/fstab |sed -e "s/vg00/vgboot/g" >/newroot/etc/fstab.new
cp /newroot/etc/fstab /newroot/etc/fstab.old
cp /newroot/etc/fstab.new /newroot/etc/fstab
7. Shutdown the node
8. Disconnect the 2 GB drive
9. From IPL Change the boot path to the new disk
10. Start the System;it will reboot once of its own.
Regds,
Kaps
Nothing is impossible
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP