U1.32 Ubuntu Quick Start (QS): Expand Ubuntu disk (Warning FreeDiskSpaceFailed). - chempkovsky/CS2WPF-and-CS2XAMARIN GitHub Wiki
Reason
- kubelet has disk pressure
- in addition: sudo systemctl command output:
...
hv-kvp-daemon.service loaded failed failed Hyper-V KVP Protocol
hv-vss-daemon.service loaded failed failed Hyper-V VSS Protocol
...
Steps
Step 1:
- shutdown Ubuntu vitual machine
Step 2:
- at hyper-v
- open setting dialog for the given virtual machine
- click IDE controller\Hard Drive
- click Edit-button
- click Next-button
- click Expand-radio
- click Next-button
- set new size
- click Finish-button
Step 3:
- start Ubuntu vitual machine
sudo apt install cloud-guest-utils
sudo growpart /dev/sda 1
sudo resize2fs /dev/sda1
df -h