Operating System - HP-UX
1836417 Members
2700 Online
110100 Solutions
New Discussion

Re: What is a volume layout disk?

 
SOLVED
Go to solution
Andre Stewart
Frequent Advisor

What is a volume layout disk?

Just that simple question: What is a volume layout disk?

I am aware one uses the "mkbook -l" command to define a boot disk (or it's mirror drive) as such, but exactly what is it?
5 REPLIES 5

Re: What is a volume layout disk?

A volume layout disk is one that has a LIF area with a LABEL file.

The LABEL file is where all the important offsets for the starting blocks for root, boot, swap and dump are written by the lvlnboot command... allowing HP-UX to bootsrap itself off LVM partitions before the LVM subsystem has been enabled...

HTH

Duncan

I am an HPE Employee
Accept or Kudo
SoorajCleris
Honored Contributor

Re: What is a volume layout disk?

Hi,


From the manpage.

-l

This option is valid only for series 800 boot
programs.If this option is used, mkboot
treats device as an LVM physical volume regardless of whether or not it is currently
set up as one.

================================
This command will install the bootfiles to BDRA ( boot data reservd area). It install hpux utility, create LABEL file, AUTO file so on.

-l is used to consider the disk as LVM disk.


Regards,
Sooraj

"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Rahul Rai_1
Frequent Advisor
Solution

Re: What is a volume layout disk?

Hi Andre,

If I am understanding your question correctly then answer would be like this,

-There are two kinds of LVM disk layouts, one for boot disks and another for all other LVM disks

Non Bootable disks have two reserved areas

1) PVRA
2) VGRA

Bootable disk have

1) PVRA
2) VGRA
3) third sector reserved for the BDRA and boot LIF

BDRA information is maintained by lvlnboot and lvrmboot commands,

Regards,
Rahul Rai


Ismail Azad
Esteemed Contributor

Re: What is a volume layout disk?

Rahul,

To define a boot disk we use the -B option in pvcreate. Besides the normal reserved areas when the system boots, after PDC/IODC runs, the components of the LIF area come into the picture wherein after the default boot path has been obtained from stable storage, ISL utility looks for an autoexecute file and then runs HPUX / hpux.efi depending on the architecture of the server. These utilities comprise of the LIF area. At the end of the day volume disk layout categorizes to if the disk is bootable/not and the structures present on the boot/non boot disk. The other areas which are not mentioned in the previous answers are VGSA, VGDA, MCR.

Regards
Read, read and read... Then read again until you read "between the lines".....
Andre Stewart
Frequent Advisor

Re: What is a volume layout disk?

Thank you all!! Great explainations.