Update datactl move documentation (#1290)

Add reboot command to the instructions. Also document how to check if data move has been successful.
This commit is contained in:
capstan1 2021-03-31 23:40:09 +02:00 committed by GitHub
parent 82db02756c
commit ef25289a6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,6 +60,18 @@ $ datactl move /dev/sdx
``` ```
Enter "yes" to confirm the operation. This will prepare the disk, however, the Enter "yes" to confirm the operation. This will prepare the disk, however, the
actual move will be running on next reboot. Once complete, the external drive actual move will be running on next reboot. This will make the first boot significantly longer than usual; please be patient. Reboot with the following command:
```sh
$ ha host reboot
```
Once complete, the external drive
will contain the data and will need to be plugged in to successfully boot Home will contain the data and will need to be plugged in to successfully boot Home
Assistant OS. Assistant.
## Check if the move was succesful.
Within the Home Assistant interface you won't see if the move was succesful. To check this, go to your host console again (as described above) and enter:
```sh
$ systemctl status mnt-data.mount
```
If the data partition was moved to your USB drive you should see ```sh Active: active (mounted) ``` in the output. Also, it will show, which drive got mounted as /mnt/data (```sh Where ``` and ```sh what ``` section of the output)