GumSquare | Hi everyone. Is there a way to make cloud-init reseize non-root filesystems? I used growpart and resizefs modules but they only resize root partition and filesystem. Other non-root partitions get resized by growpart but their filesystems isn't resized | 07:39 |
---|---|---|
GumSquare | What I have is some VMs that I need to grow their disks at run time | 07:40 |
GumSquare | We have automated tasks that resizes the disk and triggers cloud-init. It only resizes partitions and we have to manually login to the VMs and run resize2fs command on the partition we need to resize its filesystem | 07:42 |
aciba | GumSquare: Hello. growpart offers the ability to specify what devices to run on but resizefs only operates over the root partition. There is a whislist bug representing that here: https://bugs.launchpad.net/cloud-init/+bug/1732064 . One way to automate your workflow using cloud-init would be to provide your resize2fs commands in the user-data under the runcmd module. | 07:56 |
-ubottu:#cloud-init- Launchpad bug 1732064 in cloud-init "growpart + resizefs doesn't support non-root partions" [Wishlist, Confirmed] | 07:56 | |
GumSquare | Thanks a lot | 07:57 |
aciba | My pleasure. A comment in the bug could probably help accounting for the importance of the feature request. | 07:59 |
GumSquare | Yeah sure | 08:05 |
GumSquare | will put a comment | 08:05 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!