Questions tagged [volumes]

322 questions
3
votes
3 answers

android "Use ringtone volume for notifications"

I'm trying to change the volume of notification stream (not ring) on a HTC One with android 4.3. I'm using this code: int setting = Settings.System.getInt(getContentResolver(), "notifications_use_ring_volume", -20); boolean b =…
Buda Gavril
  • 21,409
  • 40
  • 127
  • 196
3
votes
2 answers

iOS AVAudioPlayer Volume Control

I've read quite a few posts on the subject but the answers are not 100% clear. I'm looking for clarity here. My app plays a short AVAudioPlayer sound periodically. The problem is, I can only set the volume after the first sound is played. After…
yhl
  • 669
  • 1
  • 6
  • 18
3
votes
1 answer

Mounted Volume can't be opened with Finder, opening it with the terminal resolves everything

We got a strange problem. We have declared in the /etc/fstab to mount a volume. At first everything seems to work. But now we face this: If you go to the mounted Volume in the finder (/Network/shared) it won't open the folder and says that you don't…
user1000584
  • 67
  • 2
  • 12
2
votes
1 answer

Voronoi cells volumes are off with Scipy

I would like to calculate the volume of (closed) Voronoi cells. There are points which correspond to non-overlapping sphere centers, and which have a packing fraction within a cylinder of radius 100, height 100, of 50%. These points can be found…
yvrob
  • 105
  • 10
2
votes
0 answers

Calculate efficiently volume intersection between sphere and fine hollow cylinder in Python

I have an infinite hollow cylinder which intersects spheres. I would like to calculate the volume of the intersection of a sphere in each of the cases shown here (view from above): The curvature is too large to assume that the intersection is…
yvrob
  • 105
  • 10
2
votes
2 answers

Programatically change FAT32 volume serial number

How do I programatically change Volume Serial of a Fat32 partition from C#. I found this example, but it is written with C++ which I don't read well. Could someone please answer a C# code snippet? Update: I can see the C++ function from above…
VOX
  • 2,883
  • 2
  • 33
  • 43
2
votes
2 answers

Kubernetes: Unable to mount a projected volume, no space on device when clearly there is

I have a local k3d cluster in stalled on Mac (Big Sur 12) that I am attempting to install calico (their default manifest https://k3d.io/v5.3.0/usage/advanced/calico/). In the logs for the calico-kube-controller pod, I get this: Warning FailedMount…
Phili
  • 21
  • 4
2
votes
2 answers

Docker Named Volume on another Partition on another hard drive

I have a Docker container running on my PC. The main functionality of the container is to scrape data, and this accumulates 0.3GB/day. I'll only be needing this data for the last 30 days, and after this I plan to store it archived on Hard Disk…
mcrdy455
  • 89
  • 1
  • 6
2
votes
1 answer

Docker-compose.yaml - difference between single line volumes declaration and bind type declaration

Apologies if this is a dumb question but... I am still getting to understand docker, but can't seem to find an answer to when you would use one of the following over the other in a docker-compose.yaml file: e.g. volumes: - type: bind …
USN
  • 23
  • 3
2
votes
1 answer

Docker volume -v flag works but docker-compose volumes doesnt work

I am trying to get a containers git folder into my local folder. (bind containers folder with my computers local folder) as in images description when I do like this docker run -p 8080:8080 -p 8001:8001 -v $(pwd):/opt/jboss/wildfly/bin/.niogit:Z -d…
2
votes
1 answer

How to keep file from mounted volume and create new container with that file?

I have a docker container image that requires me to mount a volume containing a specific configuration file, in order for that container to properly start (this image is not one that I have control over, and is vendor supplied). If that volume is…
rbl9069
  • 23
  • 1
  • 5
2
votes
1 answer

Docker Compose local directory not mounted in remote deployment

I'm using docker-compose (on windows) to bring up a mongoDB along with a couple of nodeJS processes (on a remote CentOS machine via SSH). The nodeJS containers are supposed to have the code in my project directory mounted into /home/node/app so they…
2
votes
1 answer

block level backup of zfs storage pool

Is possible to take a backup of zfs storage pool ? If the FS is on a raw disk, we can open and read the character device interface to replicate the disk to a file.We can mount the file using the loop device interface. Is it possible to do this in…
suresh
  • 4,084
  • 10
  • 44
  • 59
2
votes
1 answer

Docker change location of named volumes

I have a problem that I just can't understand. I am using docker to run certain containers, but I have problems with at least one Volume, where I't like to ask if anybody can give me a hint what I am doing wrong. I am using Nifi-Ingestion as…
25x14
  • 35
  • 1
  • 7
2
votes
2 answers

How is the Docker Mount Point decided?

I pull an image from Docker Hub (say) Ghost CMS and after reading the documentation, I see that the default mount point is /var/lib/ghost/content Now, when I make my own application with Ghost as the base image, I map some folder (say) CMS-Content…
Jay
  • 744
  • 4
  • 14
  • 30