HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- HPE 9000 and HPE e3000 Servers
- >
- How do I create a second boot area??
HPE 9000 and HPE e3000 Servers
1826694
Members
2848
Online
109696
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
Discussions
Forums
Discussions
back
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
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
06-28-2001 12:01 PM
06-28-2001 12:01 PM
I need to define a second boot device location as it appears we have drive failure or controller coming on the existing boot partition. K Class server with a disk subsystem
10/0.0.0 1 LVM vg04 4095 SEAGATE ST34572WC
10/0.1.0 1 LVM vg03 4095 SEAGATE ST34572WC
10/0.3.0 1 LVM vg02 2033 HP C2490 SCSI Disk
10/0.4.0 1 LVM vg02 2033 HP C2490 SCSI Disk
10/0.5.0 1 LVM vg01 2033 HP C2490 SCSI Disk
10/0.6.0 1 LVM vg00 2033 HP C2490 SCSI Disk 10/12/5.2.0 1 Unused 483 Toshiba CD-ROM SCSI
Currently the boot sector sits on 10/0.6.0
We'd like to have an alternate boot available set on 10/0/0.0 or 10/0/1.0. We only have 2 gb allocated for that. it is a 4gb drive..
our current mounts are as follows:
/ /dev/vg00/lvol3
/home /dev/vg00/lvol4 /net Auto:
/opt HFS /dev/vg00/lvol5
/opt/langtools HFS /dev/vg03/lvol304
/stand HFS/dev/vg00/lvol1
/tmp HFS /dev/vg03/lvol301
/u HFS /dev/vg04/lvol401
/usr HFS /dev/vg00/lvol7
/usr/informix HFS /dev/vg03/lvol3
/var HFS /dev/vg00/lvol8
If someone can point in the directions of how to do this I would appreciated it greatly
rex m!
10/0.0.0 1 LVM vg04 4095 SEAGATE ST34572WC
10/0.1.0 1 LVM vg03 4095 SEAGATE ST34572WC
10/0.3.0 1 LVM vg02 2033 HP C2490 SCSI Disk
10/0.4.0 1 LVM vg02 2033 HP C2490 SCSI Disk
10/0.5.0 1 LVM vg01 2033 HP C2490 SCSI Disk
10/0.6.0 1 LVM vg00 2033 HP C2490 SCSI Disk 10/12/5.2.0 1 Unused 483 Toshiba CD-ROM SCSI
Currently the boot sector sits on 10/0.6.0
We'd like to have an alternate boot available set on 10/0/0.0 or 10/0/1.0. We only have 2 gb allocated for that. it is a 4gb drive..
our current mounts are as follows:
/ /dev/vg00/lvol3
/home /dev/vg00/lvol4 /net Auto
/opt HFS /dev/vg00/lvol5
/opt/langtools HFS /dev/vg03/lvol304
/stand HFS/dev/vg00/lvol1
/tmp HFS /dev/vg03/lvol301
/u HFS /dev/vg04/lvol401
/usr HFS /dev/vg00/lvol7
/usr/informix HFS /dev/vg03/lvol3
/var HFS /dev/vg00/lvol8
If someone can point in the directions of how to do this I would appreciated it greatly
rex m!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 12:34 PM
06-28-2001 12:34 PM
Solution
If the disk you want to use as another boot disk is already in use within the VG00 volume group or another volume group, then I am sorry to say you are out of luck. If you had a spare, unused disk attached to the system, you could duplicate you boot disk. The problem is that the disk that you boot from has to have 1 extent reserved for the boot area prior to creating the volume group structures on the disk. There is no way to do this after the VG has been created.
And besides, it is not a matter of just moving the boot record to the other disk, you have to duplicate the majority of VG00 (/, /stand, Pri. Swap., etc.) in order to have a bootable system.
Have a look at Peggy Fong's response in the following post for a way to copy your VG00 to another spare disk.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xafc36af52b04d5118fef0090279cd0f9,00.html
If you don't have a spare disk, I would recommend that you download and install Ignite/UX ( http://software.hp.com/products/IUX ) and create a make_tape_recovery tape of your system (hopefully you have a tape drive attached). This tape will allow you to boot from the tape and recreate VG00 should the disk ever go bad. This tape will recreate your system exactly as it was at the point in time that the tape was made.
I highly recommend this solution. Ignite/UX is a FREE product.
And besides, it is not a matter of just moving the boot record to the other disk, you have to duplicate the majority of VG00 (/, /stand, Pri. Swap., etc.) in order to have a bootable system.
Have a look at Peggy Fong's response in the following post for a way to copy your VG00 to another spare disk.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xafc36af52b04d5118fef0090279cd0f9,00.html
If you don't have a spare disk, I would recommend that you download and install Ignite/UX ( http://software.hp.com/products/IUX ) and create a make_tape_recovery tape of your system (hopefully you have a tape drive attached). This tape will allow you to boot from the tape and recreate VG00 should the disk ever go bad. This tape will recreate your system exactly as it was at the point in time that the tape was made.
I highly recommend this solution. Ignite/UX is a FREE product.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 09:02 PM
06-28-2001 09:02 PM
Re: How do I create a second boot area??
Senior experts may correct me , i don't think there is some prob with it but still some syntaxes which may affect him badly.
kaps
I hv the solution for you,
Let me assume u r not using /dev/vg02 .... 2033 HP C2490 SCSI Disk
Using bdf, find out the capacities of file systems
/dev/vg00/lvol1 ... i use S1,S2,S3,S4,S5 variables for these sizes.
/dev/vg00/lvol2 (Size of /dev/vg00/lvol3 as S3)
/dev/vg00/lvol3
/dev/vg00/lvol4
/dev/vg00/lvol5
/dev/vg00/lvol7
/dev/vg00/lvol8
vgexport /dev/vg02
pvcreate -f -B /dev/dsk/c0t3d0
mkdir /dev/vg02
mknod /dev/vg02/group c 64 0x020000
vgcreate /dev/vg02 /dev/dsk/c0t3d0
mkboot /dev/rdsk/c0t3d0
mkboot -a "hpux" /dev/rdsk/c0t3d0
lvcreate -L S1 -C y -r n -n lvol1 /dev/vg02
lvcreate -L S2 -C y -r n -n lvol2 /dev/vg02
lvcreate -L S3 -C y -r n -n lvol3 /dev/vg02
lvcreate -L S4 -n lvol4 /dev/vg02
lvcreate -L S5 -n lvol5 /dev/vg02
lvcreate -L S7 -n lvol7 /dev/vg02
lvcreate -L S8 -n lvol8 /dev/vg02
newfs -F hfs /dev/vg02/lvol1
newfs -F vxfs /dev/vg02/lvol3
newfs -F vxfs /dev/vg02/lvol4
newfs -F vxfs /dev/vg02/lvol5
newfs -F vxfs /dev/vg02/lvol7
newfs -F vxfs /dev/vg02/lvol8
mkdir /newboot
mkdir /newroot
mkdir /newhome
mkdir /newopt
mkdir /newusr
mkdir /newvar
vgchange -a y /dev/vg02
mount /dev/vg02/lvol1 /newboot
mount /dev/vg02/lvol3 /newroot
mount /dev/vg02/lvol4 /newhome
mount /dev/vg02/lvol5 /newopt
mount /dev/vg02/lvol7 /newusr
mount /dev/vg02/lvol8 /newvar
mkdir /newroot/tmp
cd /stand
find . -xdev -depth -print |cpio -pxdm /newboot&
cd /
find . -xdev -depth -print |cpio -pxdm /newroot&
cd /home
find . -xdev -depth -print |cpio -pxdm /newhome&
cd /opt
find . -xdev -depth -print |cpio -pxdm /newopt&
cd /usr
find . -xdev -depth -print |cpio -pxdm /newusr&
cd /var
find . -xdev -depth -print |cpio -pxdm /newvar
lvlnboot -b /dev/vg02/lvol1
lvlnboot -r /dev/vg02/lvol3
lvlnboot -s /dev/vg02/lvol2
lvlnboot -d /dev/vg02/lvol2
lvlnboot -R
lvlnboot -v
cp -R /etc/lvmconf /newroot/etc
Now you can boot from 10/0.3.0 , once you boot it you hv to
perform somemore actions theyare
01. Update /etc/fstab file
02. Import all the vg's
03. update /etc/fstab file
04. take a vgcfgbackup
If u need assistance for these please update me
best of luck,
Thanks for the question !! Such interesting questions are good to answer
kaps
kaps
I hv the solution for you,
Let me assume u r not using /dev/vg02 .... 2033 HP C2490 SCSI Disk
Using bdf, find out the capacities of file systems
/dev/vg00/lvol1 ... i use S1,S2,S3,S4,S5 variables for these sizes.
/dev/vg00/lvol2 (Size of /dev/vg00/lvol3 as S3)
/dev/vg00/lvol3
/dev/vg00/lvol4
/dev/vg00/lvol5
/dev/vg00/lvol7
/dev/vg00/lvol8
vgexport /dev/vg02
pvcreate -f -B /dev/dsk/c0t3d0
mkdir /dev/vg02
mknod /dev/vg02/group c 64 0x020000
vgcreate /dev/vg02 /dev/dsk/c0t3d0
mkboot /dev/rdsk/c0t3d0
mkboot -a "hpux" /dev/rdsk/c0t3d0
lvcreate -L S1 -C y -r n -n lvol1 /dev/vg02
lvcreate -L S2 -C y -r n -n lvol2 /dev/vg02
lvcreate -L S3 -C y -r n -n lvol3 /dev/vg02
lvcreate -L S4 -n lvol4 /dev/vg02
lvcreate -L S5 -n lvol5 /dev/vg02
lvcreate -L S7 -n lvol7 /dev/vg02
lvcreate -L S8 -n lvol8 /dev/vg02
newfs -F hfs /dev/vg02/lvol1
newfs -F vxfs /dev/vg02/lvol3
newfs -F vxfs /dev/vg02/lvol4
newfs -F vxfs /dev/vg02/lvol5
newfs -F vxfs /dev/vg02/lvol7
newfs -F vxfs /dev/vg02/lvol8
mkdir /newboot
mkdir /newroot
mkdir /newhome
mkdir /newopt
mkdir /newusr
mkdir /newvar
vgchange -a y /dev/vg02
mount /dev/vg02/lvol1 /newboot
mount /dev/vg02/lvol3 /newroot
mount /dev/vg02/lvol4 /newhome
mount /dev/vg02/lvol5 /newopt
mount /dev/vg02/lvol7 /newusr
mount /dev/vg02/lvol8 /newvar
mkdir /newroot/tmp
cd /stand
find . -xdev -depth -print |cpio -pxdm /newboot&
cd /
find . -xdev -depth -print |cpio -pxdm /newroot&
cd /home
find . -xdev -depth -print |cpio -pxdm /newhome&
cd /opt
find . -xdev -depth -print |cpio -pxdm /newopt&
cd /usr
find . -xdev -depth -print |cpio -pxdm /newusr&
cd /var
find . -xdev -depth -print |cpio -pxdm /newvar
lvlnboot -b /dev/vg02/lvol1
lvlnboot -r /dev/vg02/lvol3
lvlnboot -s /dev/vg02/lvol2
lvlnboot -d /dev/vg02/lvol2
lvlnboot -R
lvlnboot -v
cp -R /etc/lvmconf /newroot/etc
Now you can boot from 10/0.3.0 , once you boot it you hv to
perform somemore actions theyare
01. Update /etc/fstab file
02. Import all the vg's
03. update /etc/fstab file
04. take a vgcfgbackup
If u need assistance for these please update me
best of luck,
Thanks for the question !! Such interesting questions are good to answer
kaps
Nothing is impossible
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2004 06:57 AM
09-01-2004 06:57 AM
Re: How do I create a second boot area??
thanks
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP