juicefs icon indicating copy to clipboard operation
juicefs copied to clipboard

How to mount the local data storage of multiple nodes for a jfs client?

Open felixYyu opened this issue 2 years ago • 3 comments

  1. JuiceFS client node:192.168.202.146
  2. data storage local storage node1:192.168.202.138(data001/data002/data003/data004/data005/data006) local storage node2:192.168.202.139(data001/data002/data003/data004/data005/data006) local storage node3:192.168.202.140(data001/data002/data003/data004/data005/data006) local storage node4:192.168.202.141(data001/data002/data003/data004/data005/data006) 3.metadata redis://192.168.209.131:6379/1

How to mount node1/node2/node3/node4 local storage(data001/data002/data003/data004/data005/data006)?

felixYyu avatar Sep 21 '22 01:09 felixYyu

You have to build distributed object storage on these disks, and then use the object storage as the data backend of JuiceFS. MinIO should be a simple choice to start, see: https://juicefs.com/docs/community/how_to_setup_object_storage/#minio

SandyXSD avatar Sep 21 '22 02:09 SandyXSD

Thanks @SandyXSD, I will to try. other JuiceFS client node whether HA is required, how to ?

felixYyu avatar Sep 21 '22 03:09 felixYyu

No, HA is not required for clients. Any node that is able to access:

  1. metadata, i,e, the Redis server
  2. data, i,e, the MinIO service

can act as a JuiceFS client, and the client is stateless.

SandyXSD avatar Sep 22 '22 01:09 SandyXSD

Thanks, I understand and close this issue.

felixYyu avatar Sep 23 '22 02:09 felixYyu