Skip to content
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

volume resizing is failing in case of xfs file-system #53

Closed
w3aman opened this issue Apr 21, 2021 · 0 comments · Fixed by #54
Closed

volume resizing is failing in case of xfs file-system #53

w3aman opened this issue Apr 21, 2021 · 0 comments · Fixed by #54
Milestone

Comments

@w3aman
Copy link
Contributor

w3aman commented Apr 21, 2021

What steps did you take and what happened:
[A clear and concise description of what the bug is, and what commands you ran.]

  • volume resizing is failing when xfs fstype is used

error:

I0421 05:42:45.384487       1 grpc.go:72] GRPC call: /csi.v1.Node/NodeExpandVolume requests {"capacity_range":{"required_bytes":10737418240},"staging_target_path":"/var/lib/kubelet/plugins/kubernetes.io/csi/pv/pvc-1722b555-4adc-45dc-b454-77e876ffacce/globalmount","volume_capability":{"AccessType":{"Mount":{"fs_type":"xfs"}},"access_mode":{"mode":1}},"volume_id":"pvc-1722b555-4adc-45dc-b454-77e876ffacce","volume_path":"/var/lib/kubelet/pods/ee73c520-759f-40cc-9984-7dfb1aa8fe18/volumes/kubernetes.io~csi/pvc-1722b555-4adc-45dc-b454-77e876ffacce/mount"}
E0421 05:42:45.493066       1 lvm_util.go:231] lvm: could not resize the volume testvg/pvc-1722b555-4adc-45dc-b454-77e876ffacce cmd [/dev/testvg/pvc-1722b555-4adc-45dc-b454-77e876ffacce -L 10737418240b -r] error:   Size of logical volume testvg/pvc-1722b555-4adc-45dc-b454-77e876ffacce unchanged from 10.00 GiB (2560 extents).
/sbin/fsadm: line 506: xfs_info: command not found
fsadm: Cannot parse xfs_info output.
  Logical volume testvg/pvc-1722b555-4adc-45dc-b454-77e876ffacce successfully resized.
  /sbin/fsadm failed: 1
E0421 05:42:45.493114       1 grpc.go:79] GRPC error: rpc error: code = Internal desc = failed to handle NodeExpandVolume Request for pvc-1722b555-4adc-45dc-b454-77e876ffacce, {exit status 5}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants