Versions Compared

Key

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

Table of Contents

Introduction


Warning

It is always advisable to make a backup of the target VM first, ensuring you can recover your original VM should things go wrong !

Introduction

Generally you should only be needing to resize the partiton at the  /data mountpoint on an NMIS VM as this partition contains the following directories:

...

Since disk 1 (/dev/sda) has more than 1 partition, GParted is probably a useful tool for this task:
https://gparted.org/display-doc.php%3Fname%3Dmoving-space-between-partitions


NMIS VMs' using Logical

...

Volume Manager (LVM)

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

...

Code Block
cat /proc/scsi/scsi
...
Host: scsi2 Channel: 00 Id: 01 Lun:  # the '2' indicates /dev/sdc is the device file
# this marks the whole disk as physical volume
pvcreate /dev/sdc 
# this adddsadds the pv to the volume group
vgextend vg_nmis64_data /dev/sdc

...