mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
Draft of adding new devices
This commit is contained in:
13
modules/adding-new-devices.adoc
Normal file
13
modules/adding-new-devices.adoc
Normal file
@@ -0,0 +1,13 @@
|
||||
[id='adding-new-devices_{context}']
|
||||
= Adding new devices
|
||||
|
||||
Adding a new device is semi-automatic. The provisioner periodically checks for new mounts in configured directories. Administrators must create a new subdirectory, mount a device, and allow pods to use the device by applying the SELinux label, for example:
|
||||
|
||||
----
|
||||
$ chcon -R unconfined_u:object_r:svirt_sandbox_file_t:s0 /mnt/local-storage/
|
||||
----
|
||||
|
||||
[WARNING]
|
||||
====
|
||||
Omitting any of these steps may result in the wrong PV being created.
|
||||
====
|
||||
Reference in New Issue
Block a user