Comments (5)
This is not a use case which is supported by Gluster. Gluster has some internal data which gets added along with the file when created using mountpoint. They will be missing when the file gets added directly.
from kadalu.
This is not a use case which is supported by Gluster. Gluster has some internal data which gets added along with the file when created using mountpoint. They will be missing when the file gets added directly.
Besides Gluster's own support, is this issue related to the type of kadaluStorage? Because in another k8s cluster, I created kadaluStorage using the replica2 and replica3 types, and I directly uploaded files to the mount paths of these two types of servers. They were able to be read normally in the pod.Or, this issue is only caused by the characteristics of Glusterfs when a single node uses Gluster to store files?
from kadalu.
This is not a use case which is supported by Gluster. Gluster has some internal data which gets added along with the file when created using mountpoint. They will be missing when the file gets added directly.
Besides Gluster's own support, is this issue related to the type of kadaluStorage? Because in another k8s cluster, I created kadaluStorage using the replica2 and replica3 types, and I directly uploaded files to the mount paths of these two types of servers. They were able to be read normally in the pod.Or, this issue is only caused by the characteristics of Glusterfs when a single node uses Gluster to store files?
Yes it might be because of type of kadalustorage selected.
Replica1 is equivalent to pure distribute type in glusterfs, and requires the data to be set through client side for it to be placed in a algo based(through dht translator) predictable path to store and retrieve from nodes, which might not be the case with replicas as all data is stored in all nodes.
But anyway as @amarts stated, here storage use case is to store the data from client side and retrieve from server nodes.
from kadalu.
This is not a use case which is supported by Gluster. Gluster has some internal data which gets added along with the file when created using mountpoint. They will be missing when the file gets added directly.
Besides Gluster's own support, is this issue related to the type of kadaluStorage? Because in another k8s cluster, I created kadaluStorage using the replica2 and replica3 types, and I directly uploaded files to the mount paths of these two types of servers. They were able to be read normally in the pod.Or, this issue is only caused by the characteristics of Glusterfs when a single node uses Gluster to store files?
Yes it might be because of type of kadalustorage selected. Replica1 is equivalent to pure distribute type in glusterfs, and requires the data to be set through client side for it to be placed in a algo based(through dht translator) predictable path to store and retrieve from nodes, which might not be the case with replicas as all data is stored in all nodes.
But anyway as @amarts stated, here storage use case is to store the data from client side and retrieve from server nodes.
Okay, thank you very much
from kadalu.
This is not a use case which is supported by Gluster. Gluster has some internal data which gets added along with the file when created using mountpoint. They will be missing when the file gets added directly.
Besides Gluster's own support, is this issue related to the type of kadaluStorage? Because in another k8s cluster, I created kadaluStorage using the replica2 and replica3 types, and I directly uploaded files to the mount paths of these two types of servers. They were able to be read normally in the pod.Or, this issue is only caused by the characteristics of Glusterfs when a single node uses Gluster to store files?
That works because replica2 (or replica3) does a self-heal logic). In case of replica1 (or is called distribute
), which doesn't come with any self-heal logic, and hence in that case, the backend writing is not supported.
But in general, its a good practise to never write directly to backend. (think of you updaing a xfs / ext4 block directly while FS is mounted, it would corrupt the system).
from kadalu.
Related Issues (20)
- trusted.gfs.squota.limit is half of pvc's actual size ? HOT 1
- [Bug]: Dupicate fuse processes/issue with existing volume mount process detection
- [Bug]: Randomize order of external mounts HOT 2
- [Bug]: PersistentVolumes get deleted when their relative PersistentVolumeClaims are deleted due to StorageClass reclaim policy ignoring the `--pv-reclaim-policy` value. HOT 7
- [Bug]: Updating kadalu deletes PVs? HOT 1
- [Bug]: Shared volume issue in RWX mode HOT 18
- [Bug]: Operator restart removes tolerations from storage pool StatefulSets HOT 2
- [Bug]: The displayed storage space is inconsistent with the actual storage space HOT 1
- [Bug]: External Storage will not connect to another GlusterFS host if first is down HOT 2
- [RFE]: Support for storage definitions in helm chart HOT 2
- [RFE]: Helm. kadalu-logging and kadalu-csi-nodeplugin . Parameterization of image
- [Need Help]: Expect shared path for different pods across machine/nodes HOT 7
- [Bug]: nomad controller exception HOT 2
- [Bug]: Over-provisioning stops working when one of the PVC is resized HOT 6
- [Bug]: Failed to pull image "docker.io/library/busybox" HOT 8
- [Bug]: Failed to mount device - not a block device HOT 6
- [Bug]: kadalu-operator can't response prometheus metrics from `/metrics`, except `/metrics.json` HOT 2
- [Bug]: Storage not created HOT 2
- [Bug]: Kadalu upgrading not working properly and PV data not correct HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kadalu.