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

Support volume filesystem expansion on volume expansion #67

Open
thorn3r opened this issue Feb 25, 2021 · 3 comments
Open

Support volume filesystem expansion on volume expansion #67

thorn3r opened this issue Feb 25, 2021 · 3 comments
Labels
bug Something isn't working in this issue. enhancement New feature request in this issue.

Comments

@thorn3r
Copy link
Contributor

thorn3r commented Feb 25, 2021

Feature Request

Support volume filesystem expansion when a Block Storage Volume is resized


Summary

When a Block Storage Volume is expanded the filesystem is not resized. This results in the Volume being larger and costing more money, but the usable storage remains the same. To make use of the expanded storage space, a user must shell into the node it's attached to and resize the filesystem on the Volume.

This was mentioned in the #linode channel on the Kubernetes slackspace, where a user mentioned a similar issue was raised on another provider, who implemented this with piraeusdatastore/linstor-csi#70

@igorbrigadir
Copy link

I came up against this recently too - having to SSH into a node to run a command seems really unnecessary for expanding a volume.

@nesv nesv added bug Something isn't working in this issue. enhancement New feature request in this issue. labels Jul 11, 2024
@wbh1
Copy link
Collaborator

wbh1 commented Aug 7, 2024

Info dumping here for myself (or whoever gets around to working on this):

@rl0nergan
Copy link

Started working on this, but discovered that even when manually rescanning the drive via echo 1 > /sys/block/$devName/device/rescan the new device size isn't detected so filesystem can't be resized. Only solution I've found to detect the new device size is to reboot the node or detach/re-attach the volume. More details on this limitation can be found here, but until this is supported online filesystem expansion doesn't appear to be possible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in this issue. enhancement New feature request in this issue.
Projects
None yet
Development

No branches or pull requests

5 participants