1834480 Members
3833 Online
110067 Solutions
New Discussion

Boot Disk

 
SOLVED
Go to solution
sivakumar_11
Advisor

Boot Disk

Hi all,

Question 1: How to find out the disk is a boot disk or not? How to make boot disk? can i make other disk as boot?

QUestion 2: Can we have vxvm & lvm in one disk?

Question 3:where to get GCC for HP UX 11.11?

Pls reply.

tar
siva
6 REPLIES 6
Henk Geurts
Esteemed Contributor

Re: Boot Disk

Hi Siva

1a. use lvlnboot -v command to check
1b/c be sure to use pvcreate -B to create the disk .
this link shows it all :
http://www.unixadm.net/hp/mirror_root.html

2/3 don't have the answer (yet)


regards.
Henk
Sunil Sharma_1
Honored Contributor

Re: Boot Disk

2. no you can not have a disk under lvm and vxvm both but you can have disk under LVM and veritas file system on that.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Stephen Keane
Honored Contributor

Re: Boot Disk

Peyman Javaheri
Frequent Advisor

Re: Boot Disk

Hi Siva,

#2) Perhaps! I never tried on hpux, but you may be able to partition the disk, and then put each partition in each of the VM's. I don't believe that you could use both on the same device file.

This is essentially what I am doing under Linux. I have some disks partitioned to use some parts with LVM.

regards,
peyman;
Steven E. Protter
Exalted Contributor
Solution

Re: Boot Disk

Last post appears incorrect to me.

LVM requires at least one whole disk for setup. You can't have just a part of a disk.

As to the rest of the question, the links posted are good.

Here is a complete guide to making a boot disk with mirroring instructions.


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

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
TwoProc
Honored Contributor

Re: Boot Disk

Where to find HPUX stuff..

Search google for "HPUX Porting Archive" and choose a site near you.
We are the people our parents warned us about --Jimmy Buffett