- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to change 4G boot disk to 9G boot disk ???
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
12-05-2002 10:41 PM
12-05-2002 10:41 PM
how to change 4G boot disk to 9G boot disk ???
now i have a machine with a 4G boot disk,i want to use a new 9G disk and replace the 4G disk.so the OS can boot from this 9G disk,how can i do to finish it??
paullu
Dec 06 2002
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 11:01 PM
12-05-2002 11:01 PM
Re: how to change 4G boot disk to 9G boot disk ???
1. Take an Ignite tapebackup of your bootdisk
2. Take another (!) Ignite tapebackup of your bootdisk.
3. Shut the machine
4. Replace 4Gb disk (with the new 9Gb disk)
5. Boot the machine from the Ignite tape and Igniterestore to the new disk.
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 11:16 PM
12-05-2002 11:16 PM
Re: how to change 4G boot disk to 9G boot disk ???
another way is to use mirror disk (if installed). The disk must be built in first, of course.
pvcreate -B /dev/rdsk/cXtYdZ (the device of your new disk)
mkboot /dev/dsk/cXtYdZ
vgextend vg00 /dev/dsk/cXtYdZ
lvextend -m 1 /dev/vg00/lvol1 vg00
(do this for all lvols, the first three ones boot, root and primary swap must be the first ones on the disk and contiguous)
check if all is ok:
lvlnboot -v
Then you can try to boot from the other disk. If this works then reduce the mirrors from your original disk:
lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/OLDDISK
vgreduce vg00 /dev/dsk/OLDDISK
Don't forget to set the primary boot path to the new disk.
Bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 11:54 PM
12-05-2002 11:54 PM
Re: how to change 4G boot disk to 9G boot disk ???
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 12:50 AM
12-06-2002 12:50 AM
Re: how to change 4G boot disk to 9G boot disk ???
I recommend Tom's Solution too. In his step 5, you have the chance to change the sizes of your filesystems. So this is the moment to increase /var /usr etc...
After all, I expect this to be the reason you want a bigger disk ;-)
Goodluck
Donald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 01:04 AM
12-06-2002 01:04 AM
Re: how to change 4G boot disk to 9G boot disk ???
sorry, you folks are right. The default size goes to 4 MB PE-size with 2000 PE's leaving you with a 8 GB disk and not 9 GB. And you are right ignite is the easiest way to go and has indeed some advantages like changing filesystems (var and usr are not so critical, can be done in single user mode, more interesting is the root-filesystem for example).
Sorry again for the bad hint
Heinz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 01:16 AM
12-06-2002 01:16 AM
Re: how to change 4G boot disk to 9G boot disk ???
Run an ioscan and make note of the hardware address your DAT tape or whatever your using, and the new 9Gb drive for later.
Create the two ignite tapes as required.
# make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn (note the use of the rewind command)
Reboot your system, and halt where you have the 10 second opportunity to do so.
do an SEA and look for the tape drive hardware address.
Select this "P?" so that the tape can boot. Use the interactive menu to create a system on your drive.
This procedure gives you the benefit of a full backout.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 03:40 AM
12-06-2002 03:40 AM
Re: how to change 4G boot disk to 9G boot disk ???
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 06:32 AM
12-06-2002 06:32 AM
Re: how to change 4G boot disk to 9G boot disk ???
UIUXKBRC00010068 Max PE per PV limits replacing disks in VG00 with larger disks
Cheryl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2002 12:39 AM
12-09-2002 12:39 AM
Re: how to change 4G boot disk to 9G boot disk ???
At first thanks for all your suggests,i had thought to use the way of tom,now his suggests inspire me.thant you very much.i like this forums.
paullu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2002 03:06 AM
12-09-2002 03:06 AM
Re: how to change 4G boot disk to 9G boot disk ???
Take an ignite backup (You are sure u can boot through that & recover). Try the following interesting way of achiving it.
4 GB ---- /dev/rdsk/c0t6d0
9 GB ---- /dev/rdsk/c0t5d0 (Newly added )
1. Boot through the 4 GB at ISL type
hpux -lm
you get the root login
Exicute the following commands
vgchange -a y /dev/vg00
pvcreate -B -f /dev/rdsk/c0t5d0
mkdir /dev/vgboot
mknod /dev/vgboot/group c 64 0x??010000 where ?? = a unique minor number for vg.
vgcreate /dev/vgboot /dev/dsk/c0t5d0
vgchange -a y /dev/vgboot
lvcreate -C y -r n -L "SIZE in MB of /stand" /dev/vgboot
lvcreate -C y -r n -L "SIZE in MB of primary swap" /dev/vgboot
lvcreate -C y -r n -L "SIZE of root filesystem" /dev/vgboot
create all the other Logical volumes with lvcreate command on the newly created vg
newfs -F hfs /dev/vgboot/rlvol1
newfs -F vxfs /dev/vgboot/rlvol3
exicute newfs for all the other filesystems respect.....
lvlnboot -b /dev/vgboot/lvol1
lvlnboot -r /dev/vgboot/lvol3
lvlnboot -s /dev/vgboot/lvol2
lvlnboot -d /dev/vgboot/lvol2
lvlnboot -R
mkdir /newboot
mkdir /newroot
mount /dev/vgboot/lvol1 /newboot
mount /dev/vgboot/lvol3 /newroot
cd /stand
find . -xdev -depth |cpio -pxdm /newboot
cd /
find . -xdev -depth |cpio -pxdm /newroot
cat /newroot/etc/fstab |sed s/vg00/vgboot/g > /newroot/etc/fstab.new
cp /newroot/etc/fstab /newroot/etc/fstab.old
cp /newroot/etc/fstab.new /newroot/etc/fstab
>/newroot/etc/mnttab
>/etc/mnttab
reboot -r
interrupt the boot sequence & try to boot through the new disk. It will work
Nice ???
Another way (make sure data is backed up)
Boot through the 4 GB disk
hpux -lm
lvrmboot -r /dev/vg00(RISK starts from here !!)
pvcreate -B -f /dev/rdsk/c0t5d0
vgextend /dev/vgboot /dev/dsk/c0t5d0
lvchange -C n /dev/vg00/lvol1
lvchange -C n /dev/vg00/lvol2
lvchange -C n /dev/vg00/lvol3
pvmove /dev/vg00/lvol1 /dev/dsk/c0t6d0 /dev/dsk/c0t5d0
pvmove /dev/vg00/lvol2 /dev/dsk/c0t6d0 /dev/dsk/c0t5d0
pvmove /dev/vg00/lvol3 /dev/dsk/c0t6d0 /dev/dsk/c0t5d0
Like this do movbe all the PES to the newly added disk
for i in lvol1 lvol2 lvol3
do
lvchange -C y /dev/vg00/lvol1
lvchange -C y /dev/vg00/lvol2
lvchange -C y /dev/vg00/lvol3
done
vgreduce /dev/vg00 /dev/dsk/c0t6d0
lvlnboot -b /dev/vg00/lvol1
lvlnboot -r /dev/vg00/lvol3
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
lvlnboot -R
reboot -r
Guys can correct me if i am wrong / some thing is missing.
kaps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2002 07:26 AM
12-09-2002 07:26 AM
Re: how to change 4G boot disk to 9G boot disk ???
Good luck
Russ