# How to force pvc containers to machine\_type=data

**URL:** <https://forums.suse.com/t/how-to-force-pvc-containers-to-machine-type-data/13043>\
**Category:** SUSE Storage\
**Created:** [January 18, 2019, 9:39am UTC](https://forums.suse.com/t/how-to-force-pvc-containers-to-machine-type-data/13043 "2019-01-18T09:39:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Troyhy](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/troyhy/32/1031_2.png) [@Troyhy](https://forums.suse.com/u/Troyhy)\
**Post date:** [January 18, 2019, 9:39am UTC](https://forums.suse.com/t/how-to-force-pvc-containers-to-machine-type-data/13043/1 "2019-01-18T09:39:31Z")

</div>

I have cluster where is different type of machines and I could not figure out how to force longhorn pvc containers to run only on machine with annotation machine\_type=data

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![yasker](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/yasker/32/137_2.png) [@yasker](https://forums.suse.com/u/yasker)\
**Post date:** [January 24, 2019, 5:34pm UTC](https://forums.suse.com/t/how-to-force-pvc-containers-to-machine-type-data/13043/2 "2019-01-24T17:34:31Z")

</div>

If you meant by don’t schedule replicas to machine without a certain tag, Longhorn hasn’t supported that yet. In the meantime, you can go to Nodes and disable scheduling for some of the nodes manually.

---

<div class="post-metadata">

**Author:** ![Troyhy](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/troyhy/32/1031_2.png) [@Troyhy](https://forums.suse.com/u/Troyhy)\
**Post date:** [January 28, 2019, 6:52am UTC](https://forums.suse.com/t/how-to-force-pvc-containers-to-machine-type-data/13043/3 "2019-01-28T06:52:58Z")

</div>

Yes exactly, I found how you can use UI to disable scheduling. Thanks for a reply!

Tagging would be really helpful in situations where you provision machines with different resources…
