Skip to content

NodeExpand may resize fs for block volume #372

@msau42

Description

@msau42

Looking back at resizer.Resize implementation, it checks the format on the disk before attempting a resize. The problem is, the presence of a filesystem doesn't mean that the PVC is a Filesystem type. A user could mount the volume as Block and manage an ext4/xfs filesystem themselves.

I think fixing this may require adding VolumeCapabilities to the Controller/NodeExpandVolumeRequest

/kind bug
/assign @davidz627
cc @gnufied

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions