mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-21 23:40:19 +00:00
edit
This commit is contained in:
parent
99a67fe47e
commit
be195c14ca
1 changed files with 7 additions and 7 deletions
|
@ -1,14 +1,14 @@
|
||||||
# Instructions
|
# Instructions
|
||||||
1. Create Longhorn volume
|
1. Create Longhorn volume
|
||||||
1. Mount longhorn volume to a node (recommend worker node)
|
2. Mount longhorn volume to a node (recommend worker node)
|
||||||
1. Log into selected worker node
|
3. Log into selected worker node
|
||||||
1. Create temporary folder for migration
|
4. Create temporary folder for migration
|
||||||
> sudo mkdir /tmp/folder
|
> sudo mkdir /tmp/folder
|
||||||
1. List the disks to format
|
5. List the disks to format
|
||||||
> sudo fdisk -l
|
> sudo fdisk -l
|
||||||
1. Format the disk
|
6. Format the disk
|
||||||
> sudo mkfs -t ext4 /dev/sdx
|
> 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
|
> 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
|
> sudo rsync -avxHAX username@DockerHostIP:/home/ubuntu/docker/some-directory/* /tmp/folder
|
Loading…
Reference in a new issue