|
| 1 | +// Module included in the following assemblies: |
| 2 | +// |
| 3 | +// storage/persistent_storage/persistent_storage_local/persistent-storage-using-lvms.adoc |
| 4 | + |
| 5 | +:_mod-docs-content-type: CONCEPT |
| 6 | +[id="lvms-unsupported-devices_{context}"] |
| 7 | += Devices not supported by {lvms} |
| 8 | + |
| 9 | +When you are adding the paths to the devices in the `deviceSelector` section of the `LVMCluster` YAML, ensure that the devices are supported by {lvms}. If you add paths to the unsupported devices, then {lvms} excludes the devices to avoid complexity in managing logical volumes. |
| 10 | + |
| 11 | +If you do not specify any device path in the `deviceSelector`, then {lvms} adds only the unused devices that it supports. |
| 12 | + |
| 13 | +[NOTE] |
| 14 | +==== |
| 15 | +To get information about the devices, run the following command: |
| 16 | +[source,terminal] |
| 17 | +---- |
| 18 | +$ lsblk --paths --json -o \ |
| 19 | +NAME,ROTA,TYPE,SIZE,MODEL,VENDOR,RO,STATE,KNAME,SERIAL,PARTLABEL,FSTYPE |
| 20 | +---- |
| 21 | +==== |
| 22 | + |
| 23 | +{lvms} does not support the following devices: |
| 24 | + |
| 25 | +Read-only devices:: Devices with the `ro` parameter set to `true`. |
| 26 | + |
| 27 | +Suspended devices:: Devices with the `state` parameter set to `suspended`. |
| 28 | + |
| 29 | +ROM devices:: Devices with the `type` parameter set to `rom`. |
| 30 | + |
| 31 | +LVM partition devices:: Devices with the `type` parameter set to `lvm`. |
| 32 | + |
| 33 | +Devices with invalid partition labels:: Devices with the `partlabel` parameter set to `bios`, `boot`, or `reserved`. |
| 34 | + |
| 35 | +Devices with an invalid filesystem:: Devices with the `fstype` parameter set to any value other than `null` or `LVM2_member`. |
| 36 | ++ |
| 37 | +[IMPORTANT] |
| 38 | +==== |
| 39 | +{lvms} supports devices with `fstype` parameter set to `LVM2_member` only if the devices do not contain children devices. |
| 40 | +==== |
| 41 | + |
| 42 | +Devices that are part of another volume group:: To get the information about the volume groups of the device, run the following command: |
| 43 | ++ |
| 44 | +[source, terminal] |
| 45 | +---- |
| 46 | +$ pvs <device-name> <1> |
| 47 | +---- |
| 48 | +<1> Replace `<device-name>` with the device name. |
| 49 | + |
| 50 | +Devices with bind mounts:: To get the mount points of a device, run the following command: |
| 51 | ++ |
| 52 | +[source, terminal] |
| 53 | +---- |
| 54 | +$ cat /proc/1/mountinfo | grep <device-name> <1> |
| 55 | +---- |
| 56 | +<1> Replace `<device-name>` with the device name. |
| 57 | + |
| 58 | +Devices that contain children devices:: |
| 59 | + |
| 60 | +[NOTE] |
| 61 | +==== |
| 62 | +It is recommended to wipe the device before using it in {lvms} to prevent unexpected behavior. |
| 63 | +==== |
0 commit comments