Questions tagged [mounted-volumes]
162 questions
3
votes
1 answer
How can I merge 2 mounted volumes on Debian 10?
I've got 2 volumes already mounted on a VPS from Hetzner.
The first one is on / with 1To space. The other one on /home with 2To space.
I want to get my 3 To together, how can I manage to merge those 2 volumes without erasing any data ?
Here is a…

Teddy
- 143
- 8
3
votes
1 answer
unable to understand mounting postgres data path onto minikube kubernetes deployment with permission errors
I’m getting started with kubernetes, and I want to create a simple app with a single webserver & postgres database. The problem I’m running into is the deployment of the postgres is giving me permission errors. The following are discussions around…

M.Holmes
- 403
- 1
- 7
- 22
3
votes
2 answers
Kubernetes: MountVolume.SetUp failed: hostPath type check failed is not a directory
I'm trying to deploy a login consent provider with hydra.
Here is the yaml file.
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: login-consent-deployment
labels:
app: login-consent-nginx
spec:
replicas: 1
selector:
…

Ziko
- 919
- 2
- 10
- 22
3
votes
0 answers
Can't mount EBS volumes (shown as NVME) in c5 AWS EC2 instance
People seem to have alot of issues with the newer instance type NVME volumes because of name mappings. That I can handle. For me, the issue is simple and worse: mounting doesn't have an effect:
ubuntu@ip-10-0-0-60:~$ lsblk
NAME MAJ:MIN RM…
3
votes
1 answer
Mount local folder as volume using Swift
I'm looking for a way to mount a Local folder as a Volume in OSX. Searching so far hasn't got any results. I want to do this programatically via Swift. For instance, I want to mount /Users/shoaib/Test to /Volumes/MyVolume which can be accessed via…

Sam
- 830
- 2
- 11
- 22
2
votes
0 answers
Can't mount TLS certificate into Vault container using only Docker
I'm new to both Vault and Docker, I was working with Vault with Transport Layer Security disabled, now I want to activate it to be able to query Vault over HTTPS I generated self-signed certificates using Openssl by this command
openssl req -x509…

sabri mahmoud
- 55
- 9
2
votes
1 answer
How to supply a value of a server in NFS mount in a k8 Deployment via a ConfigMap
I'm writing a helm chart where I need to supply a nfs.server value for the volume mount from the ConfigMap (efs-url in the example below).
There are examples in the docs on how to pass the value from the ConfigMap to env variables or even mount…

Valera Maniuk
- 1,627
- 3
- 11
- 14
2
votes
0 answers
How to configure docker container volumes in AWS ECS
I have several volumes defined in my docker-compose.dev.yml (from my source to docker container) .
backend:
build:
context: ...
args: ...
volumes:
- ./backend/:/app
- /app/node_modules
I want to deploy my container…

John Stuart
- 950
- 5
- 11
- 28
2
votes
0 answers
Access external drive over ssh on MacOS
I have a new M1 iMac with a 4TB external (USB) drive attached. On the iMac I can access the contents of that drive, named "Data" at /Volumes/Data.
I use ssh to remotely access this iMac, and would like to be able to access the contents of…

Mark Nichols
- 1,407
- 2
- 19
- 25
2
votes
3 answers
Docker volume mount issue to a mounted folder
We have mounted a folder in a Linux machine to our docker container application using (docker-compose)
volumes:
- /mnt/share:/mnt/share
The /mnt/share is a mounted folder in the machine(Not a real folder in the machine, its our file server). IF for…

Bijesh CHandran
- 477
- 1
- 8
- 22
2
votes
1 answer
Files inside a docker image disappear when mounting a volume
Inside of docker image has several files in /tmp directory.
Example
/tmp # ls -al
total 4684
drwxrwxrwt 1 root root 4096 May 19 07:09 .
drwxr-xr-x 1 root root 4096 May 19 08:13 ..
-rw-r--r-- 1 root root …

stories2
- 466
- 1
- 5
- 20
2
votes
1 answer
mariadb as docker container - corrupted startup on host mount binding
i want to run latest mariadb:10.4.8 as docker container with its data folder persisted as host mount.
This is my docker-compose.yaml
database:
mem_limit: 1073741824
image: mariadb:stable
environment:
MYSQL_DATABASE: mydata
MYSQL_PASSWORD:…

Robert Lachner
- 657
- 1
- 8
- 22
2
votes
1 answer
Nginx docker (13: Permission denied) while logging request to mounted volume
I am using nginx version: nginx/1.11.8
My docker file looks like:
FROM nginx
COPY website /usr/share/nginx/html/website/
RUN chown -R nginx /usr/share/nginx/html
RUN chown -R nginx /var/log/nginx/
EXPOSE 80
I am using variables for my access log…

Steve Fitzsimons
- 3,754
- 7
- 27
- 66
2
votes
4 answers
How to handle permission inside a volume from docker?
I have a container running a PHP application and the php-fpm service can't write the cache files inside an folder provided by a docker volume.
I gave 777 permissions on the folder I need to write, from the host machine, but it works just for a…

Eduardo Leal
- 807
- 2
- 9
- 18
1
vote
1 answer
Rezise Kuberneets Pod Volume
I want to resize Kubernetes Persistent Volume. So I tried by editing
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: postgres-pvc
labels:
app: postgres
spec:
storageClassName: aws-gp2
accessModes:
- ReadWriteOnce
…

roy
- 6,344
- 24
- 92
- 174