LVM 2.x VGs in 11.31

Q: How can I create version 2.x volume groups on my old copy of 11.31? The man pages do not have options for version 2.1. Do I have to purchase something?

A: No. The latest LVM code is free and you can upgrade by downloading the package from:

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=BaseLVM

The current version is 1104 (ie, 2011-04). It does require a reboot. Here are the details instructions:

1. Login as root.

2. Download the BaseLVM_B.11.31.yymm.depot file, and move it to the /tmp directory.

3. Verify the file has downloaded correctly using swlist:

swlist -d -s /tmp/BaseLVM_B.11.31.yymm.depot
# Initializing…
# Contacting target “localhost”…
# Target: localhost:/tmp/BaseLVM_B.11.31.yymm.depot
#
#
# Bundle(s):
# BaseLVM B.11.31.yymm LogicalVolume Manager

4. Run the following swinstall command to install the product:

swinstall -x autoreboot=true -s /tmp/BaseLVM_B.11.31.yymm.depot BaseLVM

Note: BaseLVMcontains kernel filesets.
Therefore, using swinstall toinstall the product causes a system reboot after installation is complete.

5. After system reboot, verify the version of BaseLVM with the following command:
swlist | grep BaseLVM

The following output is displayed:
BaseLVM B.11.31.yymm Logical Volume Manager

6. Verify the installation of BaseLVM by running the swverify command:
swverify BaseLVM

Reverting Back to a Previous Version of BaseLVM

Do not attempt to remove BaseLVM with swremove.To revert to a previous version of BaseLVM, you must reinstall it as follows:

1. Login as root.

2. Copy the BaseLVM version you want, either from the LVM webpage or from the media that was used to install your system, to /tmp/BaseLVM_B.11.31.depot.

3. Run swinstall to return to a previous version of the product:

4. Verify the installation of BaseLVM by running the swverify command:
swverify BaseLVM

swinstall -x allow_downdate=true -x autoreboot=true
-s/tmp/BaseLVM_B.11.31.depot BaseLVM

Note: BaseLVM contains kernel filesets. Therefore, using swinstall to downgrade the product causes a system reboot after reinstallation is complete.

– See more at: http://serviceitdirect.com/blog/lvm-2x-vgs-1131#sthash.tZtJ5H7w.dpuf


Tags: