Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2022-01-29 19:51:52 +0300
committerGitHub <noreply@github.com>2022-01-29 19:51:52 +0300
commit01288525b32e0a01edc0c825e6a29d87381712dd (patch)
treef13ecb36edcef79269da1386add3a686d2620fd5
parent54dce3344ca6a3064ffefb422c49f2f3ce0247ca (diff)
add some docs how to increase the size of the root partition (#2206)
Signed-off-by: szaimen <szaimen@e.mail.de>
-rw-r--r--not-supported/daily-backup-wizard.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/not-supported/daily-backup-wizard.sh b/not-supported/daily-backup-wizard.sh
index dce209b0..f3009016 100644
--- a/not-supported/daily-backup-wizard.sh
+++ b/not-supported/daily-backup-wizard.sh
@@ -93,7 +93,16 @@ check_free_space
if ! does_snapshot_exist "NcVM-snapshot" && ! [ "$FREE_SPACE" -ge 50 ]
then
msg_box "Unfortunately you have not enough free space on your vgs to \
-create a LVM-snapshot which is a requirement to create a backup script."
+create a LVM-snapshot which is a requirement to create a backup script.
+
+If you are running the script in a VM and not on barebones, you can increase your root partition manually by following these steps:
+1. Shut down the VM and create a snapshot/copy of it (in order to be able to restore the current state)
+2. Now increase the size of the virtual disk1 in your hypervisor by at least 5 GB (e.g. in VMWare Virtualplayer)
+3. Power the VM back on
+4. Log in via SSH and run the following command:
+'sudo pvresize \$(sudo pvs | grep ubuntu-vg | grep -oP \"/dev/sda[0-9]\")'
+5. Now you can run this script again:
+'sudo bash $SCRIPTS/menu.sh' -> 'Server Configuration' -> 'Daily Backup Wizard'"
exit 1
fi