about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-01-10 22:39:43 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2019-01-10 22:44:26 +0100
commitedcd1494f7b905cf6b70d62ef227efd6a91953b3 (patch)
tree643f87e4eedbbdd505b87f29dee543e05a4e69c7 /nixos
parent27132c35df7b50ccbbf14f21bfd99aa9a96b9805 (diff)
downloadnixlib-edcd1494f7b905cf6b70d62ef227efd6a91953b3.tar
nixlib-edcd1494f7b905cf6b70d62ef227efd6a91953b3.tar.gz
nixlib-edcd1494f7b905cf6b70d62ef227efd6a91953b3.tar.bz2
nixlib-edcd1494f7b905cf6b70d62ef227efd6a91953b3.tar.lz
nixlib-edcd1494f7b905cf6b70d62ef227efd6a91953b3.tar.xz
nixlib-edcd1494f7b905cf6b70d62ef227efd6a91953b3.tar.zst
nixlib-edcd1494f7b905cf6b70d62ef227efd6a91953b3.zip
nixos/nexus: increase disk size of VM test to 8GB
Nexus increased their default minimum disk space requirement to 4GB:

```
com.orientechnologies.orient.core.exception.OLowDiskSpaceException: Error occurred while executing a
write operation to database 'OSystem' due to limited free space on the disk (1823 MB). The database
is now working in read-only mode. Please close the database (or stop OrientDB), make room on your hard
drive and then reopen the database. The minimal required space is 4096 MB. Required space is now
set to 4096MB (you can change it by setting parameter storage.diskCache.diskFreeSpaceLimit) .
server# [   72.560866] zqnav3mg7m6ixvdcacgj7p5ibijpibx5-unit-script-nexus-start[627]:   DB name="OSystem"
```

Including the rest on the VM 8GB should be the most suitable solution.
As the installer test also takes 8GB of disk size this should still be
in an acceptable range.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/nexus.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/nexus.nix b/nixos/tests/nexus.nix
index bf49d2247bd8..783c9f5c019f 100644
--- a/nixos/tests/nexus.nix
+++ b/nixos/tests/nexus.nix
@@ -14,7 +14,7 @@ import ./make-test.nix ({ pkgs, ...} : {
     server =
       { ... }:
       { virtualisation.memorySize = 2047; # qemu-system-i386 has a 2047M limit
-        virtualisation.diskSize = 2048;
+        virtualisation.diskSize = 8192;
 
         services.nexus.enable = true;
       };