Storage

Permanent storage per testbed

When a node is swapped in in your experiment, an NFS share will be mounted, which is accessible by all people in your subauthority/project.

This NFS share is mounted as /groups/wall2-ilabt-iminds-be/projectname/ (if you have a certificate from another authority than the Virtual Wall, the 2nd part will be different)

The nice thing is that:

  • the share is mounted automatically on all your nodes
  • the share is permanent, so after your experiment is done, the data will remain there
  • the share is shared with all people in your project

Note that this storage is only available per testbed, so it is not shared accross the testbeds.

Increasing your root partition

Currently, there are images with ‘MBRv2’ which have a 6GB root filesystem, and there are images with ‘MBRv3’ which have a 15GB root filesystem (UBUNTU14-64-STD, DEB77-64-STD, CENTOS65-64-STD).

This might be too small in some cases.

WARNING: this only works on a fresh machine, not if you already have activated an extra partition. Then you will loose data with this method. You have been warned ! This normally does not loose data on the root partition.

NOTE: this 20GB or 25GB is just an example - it is based on 512 bytes sectors, so if you change further the size and then start of next partition, you can also make other sizes. Be careful with typos.

For MBRv2 images:

You can enlarge this as follows (creates a 20GB root partition on /dev/sda2):

echo "unit: sectors" > disklayout
echo "" >> disklayout
echo "/dev/sda1 : start=       63, size= 12305790, Id=a5">> disklayout
echo "/dev/sda2 : start= 12305853, size= 39070080, Id=83, bootable">> disklayout
echo "/dev/sda3 : start= 51375933, size=  2100357, Id=82">> disklayout
echo "/dev/sda4 : start=        0, size=        0, Id= 0" >> disklayout
sudo sfdisk --force /dev/sda < disklayout

sudo reboot

sudo resize2fs /dev/sda2

For MBRv3 images:

You can enlarge this as follows (creates a 25GB root partition on /dev/sda1):

echo "unit: sectors" > disklayout
echo "" >> disklayout
echo "/dev/sda1 : start=     2048, size= 48828125, Id=83, bootable" >> disklayout
echo "/dev/sda2 : start= 48830173, size=  6291456, Id= 0" >> disklayout
echo "/dev/sda3 : start= 55121629, size=  6291456, Id=82" >> disklayout
echo "/dev/sda4 : start= 61413085, size=442257776, Id= 0" >> disklayout

sudo sfdisk --force /dev/sda < disklayout

sudo reboot

sudo resize2fs /dev/sda1

Extra disk space on extra partition

There is still free space on the disk, that you can partition yourself with cfdisk e.g. The pcgen1 nodes on Virtual Wall 1 have even another 3 extra disks (/dev/sdb, /dev/sdc, /dev/sdd) which work nicely in a RAID0 configuration.

See http://fed4fire-testbeds.ilabt.iminds.be/ilabt-documentation/virtualwallfacility.html for information on disk capacity per node.

Previous page

← Tips and tricks

This Page