Page tree
Skip to end of metadata
Go to start of metadata

Product Version: 7.0

Last Modified: 14 Mar 2018

Problem

The size of the NAKIVO repository that comes with NAKIVO virtual appliance (VA) is limited to 16 TB.

Background

NAKIVO VA is created along with a repository mounted on EXT4 logical volume where 64bit support is disabled by default. As a result, the repository filesystem limit is 16 TB.

Solution

Precautions:

  1. Make sure you have backed up the NAKIVO repository. It is recommended to use the RAID technology that would increase integrity of your data.
  2. Make sure that the volume that surrounds the NAKIVO repository is able to support the required resulting size. This is important for encrypted volumes, and volumes divided into partitions.

Please follow the steps below to enable 64bit support for EXT4 filesystem where the NAKIVO repository is located:

  1. Execute the resize2fs command to define the version of the e2fsprogs package that is installed on the VA operating system.
  2. If the output of the command contains a version greater than 1.43, please proceed directly to Step 7 on unmounting the repository filesystem.
  3. Update the /etc/apt/sources.list file with the sources of necessary packages as follows:

    deb-src http://archive.ubuntu.com/ubuntu trusty main restricted

    deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty restricted main universe multiverse
    deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-updates restricted main universe multiverse
    deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
    deb-src http://security.ubuntu.com/ubuntu trusty-security restricted main universe multiverse
    deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-proposed restricted main universe multiverse

  4. Install the necessary packages and build utilities of the e2fsprogs package as follows:

    sudo apt-get update

    sudo apt-get install git
    sudo apt-get install make
    sudo apt-get install build-essential
    sudo apt-get build-dep e2fsprogs
    cd $(mktemp -d)
    git clone -b v1.43 https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git e2fsprogs && cd e2fsprogs
    ./configure
    make

  5. Execute the resize2fs command as follows:

    cd resize

    ./resize2fs

  6. Choose either of the following:
    • If the output of the command contains the version 1.43, please use ./resize2fs instead of resize2fs for the rest of the steps.
    • If the output of the command contains any other version, please go to Step 3 or exit the procedure, since you built the wrong version of the e2fsprogs package.
  7. Unmount the repository filesystem as follows:

    sudo umount /dev/mapper/Volume_Group_Backup_Repository_500GB-Logical_Volume_Backup_Repository_500GB

  8. Check the filesystem for errors:

    sudo e2fsck -f /dev/mapper/Volume_Group_Backup_Repository_500GB-Logical_Volume_Backup_Repository_500GB

    Note

    Prior to executing Step 6 on enabling EXT4 64bit support, please refer to tune2fs and resize2fs man pages for more info on filesystem flags.

  9. Enable 64bit support for the EXT4 filesystem as follows:

    sudo resize2fs -b /dev/mapper/Volume_Group_Backup_Repository_500GB-Logical_Volume_Backup_Repository_500GB

  10. Remount the repository filesystem:

    sudo mount /dev/mapper/Volume_Group_Backup_Repository_500GB-Logical_Volume_Backup_Repository_500GB
  • No labels