Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Prerequisites for Installing JSA 7.5.0 Update Package 4 qcow2

Before you begin, see section Administrator Notes to understand the system requirements for installing JSA 7.5.0 Update Package 4 using an qcow2 image.

We recommend that you increase the amount of storage allocated to a particular partition on the disk image.

Perform the following steps to expand the disk image or store partition:

Note:

Shut down the VM before you perform this operation to avoid corrupting the disk that contains the qcow2 image.

  1. Expand the qcow2 disk image by using the following command.
  2. Check if there is sufficient disk space for the uncompressed image by using the following command.
  3. Boot the disk image by using the following command.
  4. Log in as the root user to JSA by using the JSA console or SSH.
  5. Run the parted command on the disk /dev/vda to increase the size of the disk partition. Ensure that you type fix when prompted.
  6. Reboot the device so that the new partition is reflected in the partition table by using the following command.
  7. Run the parted command to display the free space and note the beginning and ending blocks.
  8. Reboot the device to ensure that the new partition fixes are reflected in the partition table.
  9. Create a new partition at the end of the existing partition by using the following commands.
  10. Set the partition as a Logical Volume Manager (LVM) partition by using the following commands.

    Table 1 shows the updated partition table after creating an LVM partition.

    Table 1: Partition Table Information

    Number

    Start

    End

    Size

    File System

    Name Flags

    34s

    2047s

    2014s

    Free Space

    1

    2048s

    4095s

    2048s

    bios_grub

    2

    4096s

    2101247s

    2097152s

    xfs

    3

    2101248s

    69210111s

    67108864s

    xfs

    4

    69210112s

    882888703s

    813678592s

    lvm

  11. Quit the parted command and add the new LVM partition as a physical volume to LVM by using the following command.

    Table 2 shows the LVM partition added as a physical volume.

    Table 2: Adding LVM Partition as a Physical Volume

    PV

    VG

    Fmt

    Attr

    PSize

    PFree

    /dev/vda4

    storerhel

    lvm2

    a--

    <387.99g

    0

    /dev/vda5

    rootrhel

    lvm2

    a--

    67.00g

    0

  12. Extend the physical volume group by using the following command.

    The physical volume group is now extended.

  13. Use the following command to extend the logical volume of the disk.
    Table 3: File System Information

    File system

    Size

    Used

    Available

    Use %

    Mounted on

    /dev/mapper/rootrhel-root

    13 Gb

    3.0 Gb

    9.5 Gb

    24%

    /

    devtmpfs

    32 Gb

    0

    32 Gb

    0%

    /dev

    tmpfs

    32 Gb

    20 Kb

    32 Gb

    1%

    /dev/shm

    tmpfs

    32 Gb

    34 Mb

    32 Gb

    1%

    /run

    tmpfs

    32 Gb

    0

    32 Gb

    0%

    /sys/fs/cgroup

    /dev/mapper/rootrhel-tmp

    3.0 Gb

    135 Mb

    2.9 Gb

    5%

    /tmp

    /dev/vda3

    32 Gb

    4.8 Gb

    28 Gb

    15%

    /recovery

    /dev/mapper/storerhel-store

    311 Gb

    21 Gb

    290 Gb

    7%

    /store

    /dev/mapper/rootrhel-opt

    13 Gb

    4.3 Gb

    8.3 Gb

    34%

    /opt

    /dev/mapper/rootrhel-home

    1014 Mb

    33 Mb

    982 Mb

    4%

    /home

    tm/dev/mapper/rootrhel-storetmp

    15 Gb

    44 Mb

    15 Gb

    1%

    /storetmp

    /dev/mapper/storerhel-transient

    78 Gb

    34 Mb

    78 Gb

    1%

    /transient

    The logical volume is now extended.

  14. Extend the file system by using the following command.

    The file system is now extended.

    You have now extended the physical volume group, logical volume of the disk, and the file system as required. You can now install JSA 7.5.0 Update Package 4 using a qcow2 image. See Installing JSA 7.5.0 Update Package 4 qcow2 on the KVM for information on installing JSA 7.5.0 Update Package 4 using a qcow2 image.