479 questions
0
votes
0
answers
97
views
Consequences of concurrent fsync on the same fd
What does happen if two threads call fsync on the same entity simultaneously? For example, they want to synchronize the same directory at the same time, when they create new files in it. I have ...
0
votes
1
answer
115
views
Can't delete folder on Azure Persistent Storage
I am running an Azure App Service that deploys a container app. I enabled persistent storage so I can store some database data. The service is in the stopped state and now I wanted to remove the ...
0
votes
1
answer
83
views
rstudio docker ubuntu file persistance problem
HI Docker/rocker experts.
Your help would be appreciated. This is driving me nuts.
I've tried a range of things from the web and stack overflow, to no avail.
Ubuntu system with docker desktop ...
3
votes
0
answers
333
views
How to stop messages from piling up in msg_store_persistent in mnesia folder?
We are using Rabbitmq.Masstransit in our application to consume the message from rabbitmq. I am receiving the acknowledgement (shown as green line) in graph. And there are no messages left in the ...
0
votes
2
answers
1k
views
Kubernetes pod cannot attach to in-use volume
I have a deployment (see minimal config below) with 2 replicas which write their logs to a volume provisioned via PVC. My problem is that if I try to upscale the number of replicas / update the ...
1
vote
2
answers
550
views
How to initialize a persistent variable in c
In .h file I have a persistent variable
extern <Enum Datatype> __attribute__((section(".persist"))) state
In .c file I have to initialize the variable state to one of the member of ...
0
votes
1
answer
39
views
How to share a file inside kube-ovn-monitor pod to another pod in a different namespace involving shared volumes
I need to share the conf.db file located in /etc/openvswitch directory inside the kubeovn pod to another pod called ipmonitor involving a shared storage such that both pods can access and any changes ...
0
votes
1
answer
6k
views
Path for ChromaDb persistent client
I want to setup a ChromaDB to store the embedded text. I'm referencing the following screenshot from an article to setup the ChromaDB with persist_directory:
I'm quite confuse on what is the path ...
0
votes
1
answer
2k
views
Persistent Volume content gets deleted after StatefulSet / Deployment restart
The contents in my Persistent Volume is getting deleted when the StatefulSet or Deployment restarts and new Pods are getting created.
I thought the idea of having Persistent Volume is to have it's ...
3
votes
2
answers
7k
views
PV PVC storage size settings
I am trying to understand what these settings do.
PV - spec.capacity.storage
PVC - spec.resources.requests.storage
I am trying to limit the amount of storage space that can be consumed by a pod i.e. a ...
0
votes
1
answer
51
views
Should I use viewstate in this case?
I have an asset tracking device that, every few seconds, sends details about its location to a generic handler using an HTTP request. The information is then stored in a SQL database record. It works ...
0
votes
1
answer
848
views
persistent memory /dev/dax0.0 mmap in C program
I am trying to mmap Intel's DCPMM and access it using load/store.
Currently the persistent memory is used in "devdax" mode and ndctl list shows
[
{
"dev":"namespace1.0&...
0
votes
1
answer
153
views
How to change the default name of auto snapshot taken by linstor?
I am able to capture the snapshots of resource-definition using below commands
linstor rd sp pvc-00 AutoSnapshot/RunEvery 15 which captures a snapshot of given resource-definition(pvc-00) after every ...
0
votes
0
answers
390
views
Data didn't persist after i killed the app using shared preference (flutter)
So i try to save user data after login to app
But, after i kill the app the data didn't persist and showing null in the app
I called save data function after fetching and i don't know how or where to ...
-1
votes
1
answer
410
views
Run the kubernetes pod from the point of failure without restarting
I have deployed an application in Kubernetes that prints numbers from 1-20 in Kubernetes.
While printing numbers suddenly there is an internet failure and the pod crases after printing numbers from 1-...
0
votes
1
answer
73
views
How to reinitialize UserState with new blobstorage outside Startup.cs class?
I have a front end webchat channel, I am sending an event activity which has a value(storage container name) to be sent on OnEventActivityAsync handler. How can I reconfigure the UserState initialized ...
3
votes
2
answers
7k
views
How to move FileSystem persistent-volumes's data to new Node?
When I force my pod to run on a new Node the persistent volume data (FileSystem) is left behind. How can I move it along with my Pod?
I am deploying portainer with the following yamls:
---
# Source: ...
1
vote
0
answers
448
views
Persistent data r shiny to access db
I am trying to find a way to load and save data to a Microsoft Access File which needs to have persistent data. When click load, the input ideally will load all user saved data before beginning ...
0
votes
1
answer
549
views
ld finds library when run stand along but cant find when building executable
I am trying to build a program that requires the linking of libndctl. However, ld fails to find the library, and the build errors out at the linking stage stating (this used to build without error ...
3
votes
1
answer
2k
views
How to migrate Persistent Volumes within GKE clusters in the same project?
I have a GKE cluster running with several persistent disks for storage.
To set up a staging environment, I created a second cluster inside the same project.
Now I want to use the data from the ...
3
votes
0
answers
3k
views
Kubernetes PersistentVolume data is lost after physical machine restart
I recently started using PersistentVolumes and PersistenVolumeClaims for persistent storage in my container.
My end goal is to make sure that a file in a specific folder (let's call it data) on the ...
1
vote
1
answer
693
views
change persistent disk type to ssd
I have an elasticsearch running as a ECK on a GKE cluster for production purposes and in order to increase its performance I'm thinking of changing the persistent disk type to ssd. I came accross ...
2
votes
2
answers
608
views
Duplicate entries when start new member of Hazelcast cluster
I implement my MapStore to save entries to database (external datastore), but there a issue of starting new node when old member storing entries to database. Firstly, cluster A has only Member1.
...
3
votes
1
answer
15k
views
Save and Load Data from Application.persistentDataPath works in Unity, but not on iOS
I'm building an app that needs to save and load user created data to the persistent data path. When I play it in the Unity Editor it works perfectly, but when I try it on iOS, I get this error:
...
2
votes
1
answer
3k
views
Why is my Host Path Persistent Volume reachable from all pods?
I'm pretty stuck with this learning step of Kubernetes named PV and PVC.
What I'm trying to do here is understand how to handle shared read-write volume on multiple pods.
What I understood here is ...
0
votes
1
answer
1k
views
is namespace mandatory while defining claimRef under k8s PersistentVolume manifest file?
Below is my scenario.
I have an NFS setup and it will be used to create PV. and then use PVC to bind the volume.
Now, Consider I want to bind particular PV/PVC together irrespective of where PVC will ...
0
votes
2
answers
663
views
Persistent database with docker-compose in DigitalOcean
I am running a docker-compose project in a DigitalOcean Docker droplet.
I also have a persistent volume.
It has been mounted on /mnt/volume_fra1_01
In my docker-compose.yml, I defined the volume for ...
1
vote
1
answer
12k
views
Default-scheduler 0/1 nodes are available: 1 node(s) didn't find available persistent volumes to bind [closed]
I am trying to create some persistent space for my Microk8s kubernetes project, but without success so far.
What I've done so far is:
1st. I have created a PV with the following yaml:
apiVersion: v1
...
1
vote
3
answers
9k
views
RabbitMQ fails to start with persistence storage on Kubernetes. Permission denied error
I have a rabbit mq pod and I configured to use a persistence storage incase of pod restart/deletion by mounting a volume.
I configured everything but not able to get through this error:
/usr/lib/...
4
votes
1
answer
1k
views
Is Kubernetes local/csi PV content synced into a new node?
According to the documentation:
A PersistentVolume (PV) is a piece of storage in the cluster that has been provisioned ... It is a resource in the cluster just like a node is a cluster resource...
...
0
votes
1
answer
70
views
Why does Successful execution of Cron job stops further appending of log onto a file
I am working on Openshift project. I configured a cron job using yaml config. In our application, all logs are appended to a file inside Persistent Volume. Once cron job is successfully executed to ...
2
votes
1
answer
4k
views
Why isn't my PostgreSQL data persistent in Docker using volumes?
I am currently learning how to use Flask, PostgreSQL and Docker because I am trying to do a web app.
I have created two containers for the development phase: one for the database and other one for the ...
0
votes
1
answer
888
views
Error in drop_download: Conflict (HTTP 409)
I am buiolding a Shiny up where I'd like users to download data from a Dropbox account for use in the application. The downloaded data is entered by users in previous sessions.
Whenever I try to ...
3
votes
2
answers
1k
views
keep data in memory persistently
I want to write a Python script which loads 2 GB of data from the hard disk into memory and then whenever requested by other program, it must get an input and do some calculations on this data based ...
0
votes
1
answer
920
views
How to configure pv and pvc for single pod with multiple containers in kubernetes
Need to create a single pod with multiple containers for MySQL, MongoDB, MySQL. My question is should I need to create persistence volume and persistence volume claim for each container and specify ...
-2
votes
1
answer
265
views
Python: How to create a variable that saves locally and persists between runs
I want to make a password system in a program I made, but want to make it so that the first time it's run on a new computer it asks for a password but on subsequent runs it doesn't. Is there anyway to ...
0
votes
0
answers
411
views
K8s Can share Persistent volume/Storage on different regions?
I have some questions about the K8s persistent volume that how to share the storage in a different region.
For example, I have two K8s clusters that have deployed to two different regions one cluster ...
0
votes
3
answers
4k
views
How does volume mount from container to host and vice versa work?
docker run -ti --rm -v DataVolume3:/var ubuntu
Lets say I have a volume DataVolume 3 which pulls the contents of /var in the ubuntu container
even after killing this ubuntu container the volume ...
2
votes
1
answer
3k
views
ESP32 NVS get stored value fails with ESP_ERR_NVS_NOT_FOUND (0x1102)
Board: ESP32-WROOM with 16MB Flash size
As the title: reading values written into ESP32 board NVS partition fail with error code 4354 (0x1102) which corresponds to ESP_ERR_NVS_NOT_FOUND.
The error on ...
2
votes
0
answers
396
views
How to manage shared notebooks permissions in zero 2 jupyterhub deployment (kubernetes)?
Im running jupyterhub on kubernetes using the zero 2 jupyterhub chart.
Currently i'v got persistent volume that is mounted on each single user server and is used as a shared folder. all users can read ...
1
vote
0
answers
504
views
Store Complex JSON objects in Local Database Flutter
How can we store an nested JSON object in SQLite database. In Android Room we used to have Embedded and Relation to store and retrieve complex data objects. But in flutter how can we achieve the same?
...
2
votes
2
answers
2k
views
What Persistent Volume storage solutions I can use when I run my Kubernetes cluster on GCP?
I have deployed my Kubernetes cluster on GCP Compute Engines and having 3 Master Nodes and 3 Worker Nodes (It's not a GKE Cluster). Can anybody suggest me what storage options I can use for my ...
0
votes
1
answer
762
views
Flutter-web persistent login
Some time ago I asked the same question but for iOS and Android. Now that flutter enable web-support, I would like to achieve the same thing. The problem is that the plugin flutter_secure_storage is ...
0
votes
1
answer
683
views
React Native AsyncStorage for iOS switch state not persisting
I am trying to persist a switch button state by using AsyncStorage to store a boolean but it's not working. Whenever I leave that screen or close the app and return to that screen, the state of the ...
0
votes
1
answer
468
views
Kubernetes: What is the significance of "storage" field in a block Persistent Volume?
Scenario
I have a PersistentVolume with volumeModeas Block. It is defined as:
apiVersion: v1
kind: PersistentVolume
metadata:
name: block-vol
spec:
accessModes:
- ReadWriteOnce
capacity:
...
2
votes
4
answers
2k
views
How to deploy a single instance mongodb with persistant volume using NFS
I have a microservice that is working on my laptop. However, I am using docker compose. I am working to deploy to a kubernetes cluster which I have already set up. I am stuck on making data persistent....
1
vote
1
answer
972
views
Javascript. How To Efficiently Store Secp256k1 Private Key for ECIES Scheme
I've been having a really hard time figuring out how to store a Secp256k1 privateKey from multiple libraries (currently on this one for ECIES encryption: https://npm.io/package/@toruslabs/eccrypto).
I ...
1
vote
1
answer
2k
views
#[apollo-cache-persist] purged cached data | apollo-cache-persist Error | apollo-cache-persist not working
This is the code I have used for cache persistance using 'apollo3-cache-persist', seems to have automatically purge the cached data after initial caching. Purging causes everything in the storage ...
-1
votes
1
answer
479
views
Poco c++/Sqlite with persistent capability
I am trying to find if any open resources available which implements persistent database capability like ObjectStore or Fast objects. Does Poco C++/Sqlite library provides options to have this ...
1
vote
0
answers
187
views
Docker container with persistent disk, how to rebase without turn off docker containers
I have a monolithic application running on Docker, and for the databases, I'm using persistent disk for SQL and NoSQL databases.
The problem is, everytime I deploy a new version, these persistent disk ...