From be195c14ca416b5889a7e584919306e07ed9ca0a Mon Sep 17 00:00:00 2001 From: James Turland Date: Tue, 7 Nov 2023 17:00:07 +0000 Subject: [PATCH] edit --- .../Docker-Kubernetes-Data-Migration/readme.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Kubernetes/Docker-Kubernetes-Data-Migration/readme.md b/Kubernetes/Docker-Kubernetes-Data-Migration/readme.md index e1b46ea..b99289a 100644 --- a/Kubernetes/Docker-Kubernetes-Data-Migration/readme.md +++ b/Kubernetes/Docker-Kubernetes-Data-Migration/readme.md @@ -1,14 +1,14 @@ # Instructions 1. Create Longhorn volume -1. Mount longhorn volume to a node (recommend worker node) -1. Log into selected worker node -1. Create temporary folder for migration +2. Mount longhorn volume to a node (recommend worker node) +3. Log into selected worker node +4. Create temporary folder for migration > sudo mkdir /tmp/folder -1. List the disks to format +5. List the disks to format > sudo fdisk -l -1. Format the disk +6. Format the disk > sudo mkfs -t ext4 /dev/sdx -1. Mount the new disk to tmp folder +7. Mount the new disk to tmp folder > sudo mount /dev/sdx /tmp/folder -1. Copy data from Docker Host to new drive (substitute your values below) +8. Copy data from Docker Host to new drive (substitute your values below) > sudo rsync -avxHAX username@DockerHostIP:/home/ubuntu/docker/some-directory/* /tmp/folder \ No newline at end of file