1752598 Members
5550 Online
108788 Solutions
New Discussion юеВ

Re: lvlnboot

 
Bhushi
Advisor

lvlnboot

Hi Gurus,

What is the use of lvlnboot command in HP with all arguments.

Thanx
Bhushan
3 REPLIES 3
Amit Parui
Valued Contributor

Re: lvlnboot

lvlnboot -

The lvlnboot command updates all physical volumes in the volume group so that the logical volume becomes the root, boot, primary swap, or a dump volume when the system is next booted on the volume group. If a nonexistent logical volume is specified, this command fails. If a different logical volume is already linked to the root or primary swap, the command fails.
If Life gives u a ROCK, its upto u to build a BRIDGE or a WALL !!!
Srikanth Arunachalam
Trusted Contributor

Re: lvlnboot

Hi,

The lvlnboot prepares a LVM logical volume to be root, boot, primary swap, or dump volume.

Have a look at the following documentation.
http://docs.hp.com/en/B9106-90008/lvlnboot.1M.html

The lvlnboot command must be used to identify the boot, root, swap or dump volume.

Other utilities that I can think of is
backing up LVM configuration information.


Increaing primary swap as given below
-------------------------------------
1) lvcreate -C y -L 240 /dev/vg00
The name of this new logical volume will be displayed on the
screen, note it, it will be needed later. (let say it
is /dev/vg00/lvol8)
Note: This new logical volume has to be in vg00
2) lvlnboot -v /dev/vg00
This will display the current root and swap volumes
Note: lvol2 is the default primary swap.
3) lvlnboot -s /dev/vg00/lvol8 /dev/vg00
Note: use the logical volume name from step 1
4) lvlnboot -R /dev/vg00
Recover any missing links to all of the logical volumes specified
in the BDRA and update the BDRA of each bootable physical volume in
the volume group
5) reboot the system

Thanks,
Srikanth
Sp4admin
Trusted Contributor

Re: lvlnboot


Hope this helps!


Update the root volume group information:
# lvlnboot -R /dev/vg00
7. Verify that the mirrored disk is displayed as a boot disk and that the boot, root, and swap logical volumes appear to be on both disks:
# lvlnboot ├в v
8. Specify the mirror disk as the alternate boot path in nonvolatile memory:
# setboot ├в a 2/0/7.15.0
9. Add a line to /stand/bootconf for the new boot disk using vi or another text editor:
# vi /stand/bootconf
l /dev/dsk/c#t#d0
where l denotes LVM. 25

sp,