Operating System - HP-UX
1756368 Members
3121 Online
108847 Solutions
New Discussion юеВ

Private region of LVM disk

 
amit mehta_2
Regular Advisor

Private region of LVM disk

Hi,

How can i find the private region of LVM disk.
In case of VxVM it is defined in /etc/default/vxdisk and the value defined here
can be overridden with a different value on the command line at the time of initializing a disk.

Excerpt from the man page of vxdisk:
privlen=length


The length of the private region. If this is not specified,
then a default is chosen. For the simple and cdsdisk types,
the default size is 32MB. The maximum possible size of the
private region is 524288 blocks.

The default value of privlen may also be overridden by a
suitable entry in the /etc/default/vxdisk file.

For disk under VxVM control:


root@hpia7// $ vxdisk list c11t2d0|grep ^private
private: slice=0 offset=128 len=32768 disk_offset=0

This value(len=32768) can be altered.

e.g.
root@hpia7// $ vxdisk -f init c11t2d0 privlen=52768
root@hpia7// $ vxdisk list c11t2d0|grep ^private
private: slice=0 offset=128 len=52768 disk_offset=0

So do we have something similar for LVM disk.

~amit
3 REPLIES 3
Robert-Jan Goossens
Honored Contributor

Re: Private region of LVM disk

whiteknight
Honored Contributor

Re: Private region of LVM disk

Hi Amit,

Yes, it is possible to print out the PVRA of the LVM, you need to get this tool from HP Support called lvm.11 tool

This is a great tool

WK
please assign points
Problem never ends, you must know how to fix it
tkc
Esteemed Contributor

Re: Private region of LVM disk

ya, the area you mentioned is called
reserved area. we have :

a) physical volume reserved area (PVRA)
b) volume group reserved area (VGRA).
c) boot data reserved area (BDRA)

those areas are created during the pvcreate command execution