Comments (6)
of course
it will take us time to upgrade so i will close this case for now.
will reopen if will face any issues.
thank you ! 👍
from lvm-operator.
it worked!
thank you!
from lvm-operator.
Hi @zfrhv, this is already possible by specifying deviceSelector.paths
option under deviceClasses like:
apiVersion: lvm.topolvm.io/v1alpha1
kind: LVMCluster
metadata:
name: my-lvmcluster
spec:
storage:
deviceClasses:
- name: vg1
thinPoolConfig:
name: thin-pool-1
sizePercent: 90
overprovisionRatio: 10
deviceSelector:
paths:
- /dev/nvme1n1p1
- /dev/nvme1n1p2
This will create a StorageClass which will use the specified partitions to create a volume group.
You can also specify multiple device classes with paths pointing to different partitions like:
apiVersion: lvm.topolvm.io/v1alpha1
kind: LVMCluster
metadata:
name: my-lvmcluster
spec:
storage:
deviceClasses:
- name: vg1
thinPoolConfig:
name: thin-pool-1
sizePercent: 90
overprovisionRatio: 10
deviceSelector:
paths:
- /dev/nvme1n1p1
default: true
- name: vg2
thinPoolConfig:
name: thin-pool-2
sizePercent: 90
overprovisionRatio: 10
deviceSelector:
paths:
- /dev/nvme1n1p2
This will then create two different StorageClasses making use of the corresponding partitions specified under paths
.
from lvm-operator.
thank you very much for the detailed explanation!
we will try it !
from lvm-operator.
hello,
i tried to configure:
deviceSelector:
paths:
- /dev/nvme0n1p5
but after applying the yaml it returns to:
deviceSelector: {}
seems like the operator overrides that field to empty object.
nothing in the logs, nothing happens
im using ODF LVM 4.10.7
should i open an issue or try to upgrade the operator?
from lvm-operator.
Hi @zfrhv, could you please try it with the 4.12 version of the operator? 4.10 and 4.11 were tech preview releases so they are not supported, and 4.12 is the GA release.
from lvm-operator.
Related Issues (20)
- The image referenced in the documentation lacks required utils (lsblk) HOT 1
- lsblk detecting my mini sas hd connected drives as removable HOT 7
- Configure loglevel of the csisidecars HOT 6
- components stuck in init HOT 5
- got an error when making deploy HOT 9
- vg-manager failed to create/extend volume group. HOT 2
- Config file is not created by the LVM operator. HOT 5
- lvm-operator vs topolvm HOT 2
- Support disconnected installs HOT 5
- Rename the service account for the controller manager
- Add copyright to files
- Add vendor directory to the LVMO project
- LVMO should only allow a single LVMCluster instance. HOT 1
- Use ubi-minimal, not distroless as base image for the final container HOT 4
- make deploy will fail if no prometheus CRDs in cluster HOT 7
- LVM operator configuration does not create volume groups. HOT 4
- Migrate the sqlite based catalog to file based catalogs HOT 4
- After operator upgrade PVC can not bee processed due to provisioner change HOT 5
- Feature request : arm64 Image HOT 5
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 lvm-operator.