Questions tagged [disk-volume]
129 questions
27
votes
3 answers
How to mount volume with specific UID in Kubernetes Pod?
So, I'm trying to get Nexus running based off of this image in Kubernetes, but it's failing with:
mkdir: cannot create directory '../sonatype-work/nexus3/log': Permission denied
mkdir: cannot create directory '../sonatype-work/nexus3/tmp':…
![](../../users/profiles/335416.webp)
srkiNZ84
- 531
- 1
- 6
- 10
21
votes
4 answers
How to use "Instance Store Volumes" storage in Amazon EC2?
According to AWS I got 850 GB storage with the Medium EC2 server. But when i create an Amazon Linux AMI, I am unable to use the 850 GB provided.
While creating it does show in Storage Device Configuration in Instance Store Volumes that its device…
![](../../users/profiles/107193.webp)
rahulg
- 407
- 1
- 4
- 10
17
votes
1 answer
Creating a grow-on-demand encrypted volume with LUKS
I am trying to create an encrypted, growing-as-needed file system in with Linux. I am familiar with LUKS and cryptsetup.
I can create an empty file:
fallocate -l 512M /root/image
I can create a LUKS container on it:
cryptsetup -y luksFormat…
![](../../users/profiles/123836.webp)
Merc
- 719
- 1
- 6
- 16
11
votes
8 answers
Vgextend : "device excluded by a filter"
I am at a new internship and I am asked to extend a volume group, seemed fine :
vgextend [my_group] /dev/sdb
But now I get an error message telling me :
Device /dev/sdb excluded by a filter`
Could anyone help me figure out what when wrong, or…
![](../../users/profiles/474984.webp)
Tibor BERNARD
- 113
- 1
- 2
- 9
11
votes
3 answers
Download EBS volume or snapshot to file
Is there any way to dump/save EBS volume/snapshot to file or mount it to local Linux file-system?
I found only this old thread and this script which intends to save it via S3 and doesn't seem very reliable.
I also found this online-tool, but it…
![](../../users/profiles/309819.webp)
Suncatcher
- 552
- 2
- 7
- 22
10
votes
1 answer
Move space from one volume to other
I have one setup where / has 50G space. I want to increase space for /.
[root@testsyst ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_testsyst-lv_root 50G 22G 26G 46% /
tmpfs …
![](../../users/profiles/102417.webp)
Nilesh
- 255
- 1
- 6
- 17
9
votes
3 answers
Why does docker-machine clear data on restart?
I'm using Docker Toolbox on OSX.
I've created a data volume container for storing persistent data: https://docs.docker.com/userguide/dockervolumes/#creating-and-mounting-a-data-volume-container.
I checked that this data is indeed stored on the…
![](../../users/profiles/59122.webp)
Gerry
- 338
- 2
- 3
- 12
7
votes
1 answer
What are $Extend\$Deleted file system entries and how do I get rid of them?
I'd like to shrink an NTFS data partition on one of my servers. Unfortunately, it has an "unmovable file" located at an inconvenient position.
Here is the relevant event log entry:
A volume shrink analysis was initiated on volume Daten (C:\Daten).…
![](../../users/profiles/17182.webp)
Heinzi
- 2,138
- 5
- 30
- 51
7
votes
2 answers
Mount dd image with multiple partitions
I have created an image of a disk using dd using the command dd if=/dev/sdb of=/jobs/image.dd. The SATA drive /dev/sdb has 3 partitions on it (one NTFS, two FAT32).
How do I mount the complete image with all its partitions in one go? I actually…
![](../../users/profiles/25060.webp)
Luke Bibby
- 127
- 3
- 6
5
votes
5 answers
Copy files that are different only between two large volumes?
I'm moving a large amount of data from an old server to a new server, I'll have a small windows to swap the servers over so I'm copying all the data in advance (300GB of docs) and then in my small windows I want to just sync the files that have…
![](../../users/profiles/20405.webp)
Steven
- 349
- 4
- 8
- 17
5
votes
2 answers
How to map which volume resides on which partition in Windows?
Problem: I need to figure out which volume corresponds to what partition(s) which corresponds to what disk in an extremely efficient script able manor. I know how to correspond which partition corresponds to what disk because the disk id is directly…
![](../../users/profiles/132039.webp)
Rusty Weber
- 462
- 7
- 20
5
votes
1 answer
error on ec2 volume mount
Am getting the following error while trying to mount a ec2 volume
[ec2-user@ip-172-XX-XX-XX-XX ~]$ sudo mount /dev/xvdf /mnt
mount: /dev/xvdf is write-protected, mounting read-only
mount: unknown filesystem type '(null)'
Also, tried to mount the…
![](../../users/profiles/283710.webp)
virtuvious
- 271
- 2
- 8
5
votes
2 answers
Dockerfile separation of concerns for a secure apache httpd server with respect to SSL certification files
Issue:
In a non-docker solution, the SSL certificates can be located in /etc/pki/CA/.... and with references to these in /etc/httpd/conf.d/*.conf files. How must these SSL certificates be managed/placed/used in a docker image for a secure apache…
![](../../users/profiles/247029.webp)
Dev Dev
- 65
- 6
5
votes
1 answer
Volume group disappeared, LVs still available
I've run into an issue with my KVM host which runs VMs on a LVM volume. As of last night the logical volumes are no longer seen as such (I can't create snapshots of them even though I have been for months now).
Running any scans all result in…
![](../../users/profiles/64285.webp)
Ben
- 155
- 1
- 1
- 5
4
votes
2 answers
Launch new EC2 instance with a specified EBS volume attached
I would like to launch an EC2 instance using the python boto library, with a previously created EBS volume attached (in addition to the root volume).
After connecting, I look up the volume by its name tag, and try to create a block device list…
![](../../users/profiles/277587.webp)
confuzzled
- 85
- 1
- 4