Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

If it should become necessary to expand the storage space for /data, the following set of instructions should help you to perform that change with minimal NMIS downtime.

First, determine whether the NMIS VM is using LVM:

Code Block
# If the sudo lsblk command produces partition entries in the TYPE column 'lvm', then that partition is using LVM.
# In this example command, using a recent release of the NMIS VM that does not use LVM, we have disks /dev/sda and /dev/sdb.
# /dev/sda has partitions /dev/sda1 to /dev/sda4 and all partitions are of TYPE part
[root@omk-vm9-centos7-20210806-stage-test ~]# sudo lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0  120G  0 disk 
├─sda1   8:1    0    1G  0 part /boot
├─sda2   8:2    0   15G  0 part /
├─sda3   8:3    0    1G  0 part [SWAP]
└─sda4   8:4    0  103G  0 part /var
sdb      8:16   0  120G  0 disk 
└─sdb1   8:17   0  120G  0 part /data


NMIS VMs' using LVM

The resizing procedure is quite simple, for size increases at least. The two required steps are:

...