Comments (3)
This creates another problem. If somebody specifies DEVS=vdb, we create partition /dev/vdb1 and add it to volume group. Now next time d-s-s runs it exits with error saying that vdb is a partitioned device. This is wrong. A user is not supposed to edit the /etc/sysconfig/docker-storage-setup again after pool has been created.
from container-storage-setup.
While I have nothing against using LVM on the raw device directly, the RHEL LVM Administration guide does suggest creating a single partition spanning the entire disk, and then use that partition with LVM. I would say it would be best to keep things consistent.
Red Hat recommends that you create a single partition that covers the whole disk to label as an LVM physical volume for the following reasons:
- Administrative convenience
It is easier to keep track of the hardware in a system if each real disk only appears once. This becomes particularly true if a disk fails. In addition, multiple physical volumes on a single disk may cause a kernel warning about unknown partition types at boot.- Striping performance
LVM cannot tell that two physical volumes are on the same physical disk. If you create a striped logical volume when two physical volumes are on the same physical disk, the stripes could be on different partitions on the same disk. This would result in a decrease in performance rather than an increase.
from container-storage-setup.
I agree. For now I am closing it.
from container-storage-setup.
Related Issues (20)
- still some docker-storage-setup* files present HOT 6
- One bad config is not ignored HOT 9
- get_docker_storage_options() should be generalized for inputfile case too HOT 3
- `/var/lib/containers` conflicts with system containers HOT 6
- NVMe Device Configuration HOT 5
- Add support for Docker daemon "-g" start up option to point to LVM-direct mount HOT 17
- Fix selinux file labels when set CONTAINER_ROOT_LV_MOUNT_PATH to a directory other than /var/lib/docker HOT 3
- "atomic storage reset" fails if /var/lib/docker is mounted HOT 6
- support `ROOT_SIZE=100%FREE`
- docker-storage-setup.service not found HOT 27
- Attempted to use RAID0, fails partition check HOT 1
- container-storage-setup fails when updating Atomic Host OS on existing system HOT 26
- should setting `CONTAINER_ROOT_LV_MOUNT_PATH` also update docker to not point at `/var/lib/docker` ? HOT 4
- Overlay2 not supported on CentOS-Atomic-Host-7.1804+
- On aws with nvme the script always adds after reboot wrong disk on lvm HOT 1
- Docker Storage Setup Not Configuring Docker HOT 4
- fstype is checked at wrong folder lever HOT 2
- Crypt devices unsupported HOT 1
- Failed mount does not lead to startup error
- "container-storage-setup create" does not create SystemD's mount unit file
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 container-storage-setup.