Increase the disk space of a ServiceNav Box

On the page

Need some help?

To enlarge a Linux partition here is the procedure to follow

Prerequisites: Having achieved an increase in VM disk size

  1. Login as SSH as root (if you are logged in with the coadmin account run the command sudo su - )
  2. Issue the following command: echo 1 > /sys/block/sda/device/rescan
  3. Issue the following command:  cfdisk
  4. Go to " Free Space " then choose in the menu News partition / Logic Example: /dev/sda4 => WRITE
  5. Note the name of the new partition: ex /dev/sda4
  6. Issue the following command: partprobe
  7. Issue the following command: pvcreate /dev/sdaX  Example: pvcreate /dev/sda4 (if that doesn't work restart the box)
  8. Retrieve the name of the logical volume to be increased :  lvdisplay
  9. Enter the command : vgextend GRPE_VOLUME_NAME /dev/sdaX
    • For example: vgextend template-ubuntu-snb-16-04-vg /dev/sda4
  10. Retrieve the path of the LV PATH logical volume and resize it.
    • lvresize -l +100%FREE LV PATH  (to set 100%)
    • For example: lvresize -l +100%FREE /dev/template-ubuntu-snb-16-04-vg/root
  11. Retrieve the name of the partition to be resized with the command df -h

Enter the following command: resize2fs /dev/mapper/template-ubuntu-snb-16-04-vg-root

Check with the command : df -h



If you need to create a primary partition, be careful not to exceed 3 partitions. Beyond that it is not possible to add space.

This may also be of interest to you


Ensuring and maintaining the availability of ServiceNav Boxes

install script

Preparing for ServiceNav Box DR

Configuring a ServiceNav Box to use a mail server with authentication

fr_FR en_US

Welcome to ServiceNav!

Need help? More information about our products? Write to us!
You have taken note of our privacy policy.


While the epidemic lasts, ensure the availability and performance of your IT services for teleworking, with ServiceNav!

Following the government's call to mobilize to help businesses overcome the current health and economic context, we help you, free of charge, to ensure the complete monitoring of your teleworking environments: VPN, VDI, Teams, Skype Enterprise, Citrix... Objectives: collection, availability and usage indicators, dashboards to support your communication.
We use cookies to ensure that you have the best possible experience on our site, and if you continue to use this site, we will assume that you are satisfied with it.

Reserve your place

You have taken note of our privacy policy.