Comments (6)
This is not for what --auto-place
was designed for.
There is an additional --diskless-on-remaing
flag that will put the resource diskless on all non replica nodes so combined this would look like this:
linstor r c test --auto-place 2 --diskless-on-remaining
I just have found a bug with that command if you have a CONTROLLER node type in your node list, so before you use it remove the CONTROLLER node from your node list.
Will be fixed in the next version.
from linstor-server.
@rp- I have more than 8 nodes, and --diskless-on-remaining
not working for me.
What if I want to place 1 replica in one lvm pool, second replica on second lvm pool.
And then create maximum number of diskless resources (probably 6 of them) on the third diskless pool. (or even two different diskless pools)
from linstor-server.
For now I use autoplacing for lvm pools #17 (comment)
But for diskless pool I forced to use own implementation, which do the check for mostly unused nodes in diskless pool, and then schedules resource on them.
from linstor-server.
DRBD max-peers defaults to 7 (= 8 nodes) in LINSTOR. If you want to deploy resources to more than 8 nodes, this must be set to a higher value, or DRBD will be unable to manage the additional connections.
from linstor-server.
@raltnoeder any way there is should be some option for automatically place resource with needed replica number per diskless pool
from linstor-server.
As mentioned earlier, the autoplacer is designed to choose "diskful" storage pools only.
Diskless resources are usually used when the user knows from which node they want to access the data of the diskul resources. That means, autoplacing diskless resource is from Linstor's perspective almost never wanted.
If the user already knows on which node they want to have their diskless resource, a simple linstor r c ..
does exactly that. Most plugins also use linstor that way - for example "create 2 diskful resource, I dont really care where they are, and I want to access that data from THIS node so I (or the plugin) will create a diskless resource here"
Feel free to reopen this issue if there is another meaningful scenario where autoplacing diskless resources could make sense
from linstor-server.
Related Issues (20)
- ERROR LINSTOR/Satellite SYSTEM Problem of type java.lang HOT 9
- Linstor controller v1.25.1 does not start in the Kubernetes cluster due to a LinStorDBRuntimeException + NullPointerException exception
- Backup of CT Failed Not enough free space available for volume 0 HOT 1
- Cannot resize volume, because we have a non-UpToDate DRBD device HOT 1
- Incorrect replica size after resource-definition auto-place HOT 11
- recycler: rename/move volumes instead of deleteing them HOT 4
- linstor-satellite restart leads to linstor-controller overutillization HOT 6
- "The creation of a new resource definition failed due to a name collision" Exception raised
- Unable to parse free thin sizes error on Satellite - inside of piraeus linstor-satellite HOT 2
- I can not use different NICs, IP and hostnames?
- Linstor, installed via Piraeus operator in Kubernetes cluster, disables LVM monitoring HOT 1
- Null Pointer when deleting a Non Existent ZFS ZVOL
- Fail cases caused by missing LVM devices after reboot of Node. HOT 1
- 'linstor err delete' doesnt purge error-report.mv.db HOT 3
- unable to set drbd placement policy HOT 1
- Getting zfs exception when resizing due to incompatible size to to volblocksize HOT 2
- com.linbit.linstor.storage.StorageException: Failed to write HOT 1
- Satellite recovery after controller failover HOT 1
- proxmox-kernel-6.8 dkms/DRBD failed HOT 4
- CPU stuck when evacuating node HOT 1
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 linstor-server.