docs: add instructions for managing JuiceFS object storage in README
This commit is contained in:
parent
1f79b4a034
commit
b6f05876a5
19
README.md
19
README.md
@ -67,6 +67,25 @@ If you add a new system you should add the relevant files to these paths.
|
|||||||
- `config/ssh/authorized_keys`: Contains the public keys per hostname that will be symlinked to the `~/.ssh/authorized_keys` file.
|
- `config/ssh/authorized_keys`: Contains the public keys per hostname that will be symlinked to the `~/.ssh/authorized_keys` file.
|
||||||
- `config/home-manager/flake.nix`: Contains an array `homeConfigurations` where you should be adding the new system hostname and relevant configuration.
|
- `config/home-manager/flake.nix`: Contains an array `homeConfigurations` where you should be adding the new system hostname and relevant configuration.
|
||||||
|
|
||||||
|
### Object Storage
|
||||||
|
|
||||||
|
In case you need to adjust anything regarding the /mnt/object_storage JuiceFS.
|
||||||
|
Ensure to shut down all services:
|
||||||
|
```bash
|
||||||
|
dotf service stop --all
|
||||||
|
```
|
||||||
|
|
||||||
|
Unmount the volume:
|
||||||
|
```bash
|
||||||
|
sudo systemctl stop juicefs
|
||||||
|
```
|
||||||
|
|
||||||
|
And optionally if you're going to do something with metadata you might need to stop redis too.
|
||||||
|
```bash
|
||||||
|
cd ~/services/juicefs-redis/
|
||||||
|
docker compose down --remove-orphans
|
||||||
|
```
|
||||||
|
|
||||||
### Adding a new system
|
### Adding a new system
|
||||||
|
|
||||||
To add a new system you should follow these steps:
|
To add a new system you should follow these steps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user