26.5. 添加新设备
添加新设备是半自动的。置备程序会定期检查配置目录中的新挂载。管理员必须创建新的子目录,挂载设备并允许 pod 通过应用 SELinux 标签来使用该设备,例如:
chcon -R unconfined_u:object_r:svirt_sandbox_file_t:s0 /mnt/local-storage/
$ chcon -R unconfined_u:object_r:svirt_sandbox_file_t:s0 /mnt/local-storage/
重要
省略这些步骤可能会导致创建错误的 PV。