-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support of lvm-localpv to run in other distros of linux #75
Comments
[root@hzcmaster0 openebs-example]# cat /etc/os-release meet the same question! |
Using EL8 (Centos 8) there is no issue whatsoever in using lvm-localpv. The deployment is straightforward. The PVC/PV lifecycle works as expected, and LVM logical-volume devices are created/mounted/removed as supposed. All good! Now, the README.md limits the supported system config to Ubuntu. Will CentOS 8 / RHEL 8 be considered as a supported target platform? |
After digging into the issue found the root cause of not being able to mount xfs formatted LVM volumes... It was happening due to incompatibility between xfs version inside the csi-container and xfs version at host machine... To address this issue we have to format the xfs with following option |
This is a duplicate of #135. It's because mount_utils doesn't force format xfs filesystems. |
Closing this one as there are three issues open already for same problem, mentioned in previous comments. |
Describe the problem/challenge you have
Used RHEL centos-7 to provision volumes, when I deployed the
application pod it stuck in
ContainerCreating
state due to mounting issues.Mount failed: exit status 32 Mounting command: mount Mounting arguments: -t xfs -o defaults /dev/lvmvg/pvc-a77bc831-76ec-40b1-80ed-8cdcaa7187d1 /var/lib/kubelet/pods/bcb76f32-d9ce-48b5-b255-dfa31147f5a6/volumes/kubernetes.io~csi/pvc-a77bc831-76ec-40b1-80ed-8cdcaa7187d1/mount Output: mount: /var/lib/kubelet/pods/bcb76f32-d9ce-48b5-b255-dfa31147f5a6/volumes/kubernetes.io~csi/pvc-a77bc831-76ec-40b1-80ed-8cdcaa7187d1/mount: wrong fs type, bad option, bad superblock on /dev/mapper/lvmvg-pvc--a77bc831--76ec--40b1--80ed--8cdcaa7187d1, missing codepage or helper program, or other error.
Describe the solution you'd like:
It is good to add support of lvm-local PV on different linux distros.
Anything else you would like to add:
No
Environment:
kubectl version
):/etc/os-release
):The text was updated successfully, but these errors were encountered: