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

Add option for size of the preflight PVC #154

Open
nikdoof opened this issue Feb 25, 2023 · 2 comments
Open

Add option for size of the preflight PVC #154

nikdoof opened this issue Feb 25, 2023 · 2 comments

Comments

@nikdoof
Copy link

nikdoof commented Feb 25, 2023

I'm currently migrating some manual iSCSI PVs to Democratic-CSI managed iSCSI PVs, one of the problems I've hit is that 1Mi is too small for xfs filesystems to format correctly with the block size setup I have.

Building a custom version of pvmigrate with the PVC size bumped to 100Mi worked. It would be nice if we had a argument to pass in the preflight PVC size to avoid this issue.

@laverya
Copy link
Member

laverya commented Mar 28, 2023

Another alternative here is to run with --skip-preflight-validation - that'll skip the preflights entirely.

I agree with the desirability of the option to run with a different size, though.

@ledroide
Copy link

I am experiencing the same issue with a netapp-trident backend.

volume pvc-d471b3e6-96ff-4455-ba6e-91b8fca79a13 on storage pool n11_aggrNLSAS_01 from backend ontap-nas: unsupported capacity range; requested volume size (1048576 bytes) is too small; the minimum volume size is 20971520 bytes]; [Failed to create volume pvc-d471b3e6-96ff-4455-ba6e-91b8fca79a13 on storage pool n10_aggrSSD_01 from backend ontap-nas: unsupported capacity range; requested volume size (1048576 bytes) is too small; the minimum volume size is 20971520 bytes]; [Failed to create volume pvc-d471b3e6-96ff-4455-ba6e-91b8fca79a13 on storage pool n09_aggrSSD_01 from backend ontap-nas: unsupported capacity range; requested volume size (1048576 bytes) is too small; the minimum volume size is 20971520 bytes]; [Failed to create volume pvc-d471b3e6-96ff-4455-ba6e-91b8fca79a13 on storage pool n12_aggrNLSAS_01 from backend ontap-nas: unsupported capacity range; requested volume size (1048576 bytes) is too small; the minimum volume size is 20971520 bytes]

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

No branches or pull requests

3 participants