- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- alternate root on Itanium based SuperDome
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
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
03-24-2004 04:04 AM
03-24-2004 04:04 AM
alternate root on Itanium based SuperDome
I should use mkboot -e to transfer boot files to boot partition). Thank you very much in advance for answers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 04:13 AM
03-24-2004 04:13 AM
Re: alternate root on Itanium based SuperDome
Its good to have a blueprint that worked. Perhaps someone can modify it so the forum has access to an Itanium version of my work.
-----
pvcreate -B /dev/rdsk/c1t0d0 #use real disk
mkboot -l /dev/rdsk/c1t0d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0 # use real disk
# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?
If you are running 64-bit OS:
# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?
vgextend /dev/vg00 /dev/dsk/c1t0d0 # same thing
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0
# real disk. repeat for other lvols
lvlnboot -r /dev/vg00/lvol3 # root fs /
lvlnboot -s /dev/vg00/lvol2 #swap
lvlnboot -d /dev/vg00/lvol2 #swap/dump
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
lvlnboot -v
setboot
setboot -a 52.1.0 # second disk
----
Good Luck,
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 05:15 PM
03-24-2004 05:15 PM
Re: alternate root on Itanium based SuperDome
In the case you has a new disk, you have to create 3 partitions on the disk.
1. EFI --> for the EFI (/dev/rdsk/c#t#d#s1)
2. HPUX --> for HPUX (/dev/rdsk/c#t#d#s2)
3. HPSP --> for the Offlinediagnostic (/dev/rdsk/c#t#d#s3)
At first we create the partitions on the new disk, be sure the disk is not in use!
1.) Create a file with follow entries:
3
EFI 500MB
HPUX 100%
HPSP 400MB
2.) Use the "idisk" command to create the partitions:
idisk -wf /tmp/partitionfile /dev/rdsk/c#t#d#
3.) Create new device files for the new partitions:
insf -e -Cdisk
4.) Format the EFI partition and copy the EFI files to the disk:
mkboot -e -l /dev/rdsk/c#t#d#
Check the EFI files with
efi_ls -d /dev/rdsk/c#t#d#s1
5.) Initialise the LVM Partition(s2) and add it to vg00:
take care to use /dev/rdsk/c#t#d#s2 !!!
pvcreate -B /dev/rdsk/c#t#d#s2
vgextend vg00 /dev/dsk/c#t#d#s2
6. Now you can mirror the LVols in the same way as on a PA-RISK System.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 07:35 PM
03-24-2004 07:35 PM
Re: alternate root on Itanium based SuperDome
http://www.itrc.hp.com/service/iv/docDisplay.do?docId=prodITRC/DE_SW_UX_swrec_EN_01_E/Itanium.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2004 10:00 PM
03-25-2004 10:00 PM
Re: alternate root on Itanium based SuperDome
answers, especially Mr. Thomas Blaumoser.
The procedure generally works and the system
boots from the alternate disk (I prepared
alternate boot disk (vg00bkp and lvols1-10),
because I do not have MirrorDisk yet.)
The only problem is with 'lvlnboot -c' in /sbin/ioinitrc, which, in spite of booting from vg00bkp, tries to query physical
volume of vg00.
lvlnboot -v output is:
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t0d0s2 (0/0/11/1/0.0.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t0d0s2
Root: lvol3 on: /dev/dsk/c2t0d0s2
Swap: lvol2 on: /dev/dsk/c2t0d0s2
Dump: lvol2 on: /dev/dsk/c2t0d0s2, 0
Boot Definitions for Volume Group /dev/vg00bkp:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t10d0s2 (0/0/10/1/0.10.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t10d0s2
Root: lvol3 on: /dev/dsk/c1t10d0s2
Swap: lvol2 on: /dev/dsk/c1t10d0s2
Dump: lvol2 on: /dev/dsk/c1t10d0s2, 0
However, during boot (from c1t10d0), I get:
/sbin/ioinitrc:
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to this volume group.
Looks like an error in lvlnboot, but maybe
there is a place I should put he information
about c1t10d0 (I've already modified /stand/bootconf (vg00bkp/lvol1) to:
l /dev/dsk/c1t10d0s2,
but it does not help).
Regards
Piotr Wyrostek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2004 10:09 PM
03-25-2004 10:09 PM
Re: alternate root on Itanium based SuperDome
ioinitrc calls lnlnboot -c without VG argument. So the command walks through lvmtab until it finds the right root VG. The warning message appears when the root VG is not the 1st one listed in lvmtab. To get rid of it, you could either modify ioinitrc (not recommneded) or change the order of the VGs in lvmtab, e.g. using vgexport/vgimport from LVM maintenance mode.
Best regards...
Dietmar.