Hi, I’m running into issues with Rancher Desktop (...
# rancher-desktop
h
Hi, I’m running into issues with Rancher Desktop (v1.20.0). On macOS ARM, Rancher Desktop keeps trying to shrink my disk back to 100GiB even after I manually resize the
diffdisk
and update
lima.yaml
. Logs show:
Resize instance 0's disk from 500GiB to 100GiB diffDisk: Shrinking is currently unavailable
It looks like Rancher Desktop is ignoring the
disks:
config in
lima.yaml
and enforcing the default size. Has anyone successfully increased the Rancher Desktop disk beyond 100GiB on macOS (ARM) recently? Any guidance or workarounds would be appreciated 🙏
f
Isn't this just a warning you can ignore? As the message says, it is not possible to shrink a disk. Does the warning show up anywhere outside the logs?
h
I manually increased the disk to 500 GiB however when I opened up Rancher it just try shrink back to 100 GiB for me and tells me "Shrinking is currently unavailable".
f
How did you increase the disk size? And how did you confirm it has shrunk again?
h
to increase:
Copy code
/Applications/Rancher\ <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/qemu-img|Desktop.app/Contents/Resources/resources/darwin/lima/bin/qemu-img> resize \
  -f raw "$HOME/Library/Application Support/rancher-desktop/lima/0/diffdisk" 500G
after running that command I get:
Copy code
'time="2025-09-04T19:40:42-05:00" level=warning msg="vmType vz: ignoring cpuType[\\"armv7l\\"]: \\"max\\""\n' +
    'time="2025-09-04T19:40:42-05:00" level=warning msg="vmType vz: ignoring cpuType[\\"ppc64le\\"]: \\"max\\""\n' +
    'time="2025-09-04T19:40:42-05:00" level=warning msg="vmType vz: ignoring cpuType[\\"riscv64\\"]: \\"max\\""\n' +
    `time="2025-09-04T19:40:42-05:00" level=info msg="Resize instance 0's disk from 500GiB to 100GiB"\n` +
    'time="2025-09-04T19:40:42-05:00" level=fatal msg="diffDisk: Shrinking is currently unavailable"\n',
  code: 1,
  signal: undefined,
  [Symbol(child-process.command)]: '/Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl> start --tty=false 0'
}
f
Can you quit Rancher Desktop and run this command before starting again:
Copy code
echo "disk: 500GB" >"$HOME/Library/Application Support/rancher-desktop/lima/_config/override.yaml"
I think the dialog is actually benign, and you could simply ignore it, but it is obviously annoying to see every time you run the app. Adding the new disk size to the override file should get rid of it.
h
image.png
f
Can you please open a GitHub issue about this?
And, did it work?
h
It worked
👍 1
Just opened up Rancher, not seeing error pop up. Checked disk size, it's 500 GiB
Thank you!! @fast-garage-66093
f
You are welcome! Please file a GitHub issue!
h
after filling out all the fields I got this..
f
Wild, thanks for trying. I will create it then.
🙏 1
I've marked it "Enhancement" because resizing the disk is not officially supported.
h
thanks!
I was able to resize without any error tho
not sure what's changed, maybe I upgraded the version today, started to see this error today
f
Yes, it works fine, as long as you do it while the app is not running.
Make sure to prune unused images before you run out of space!
h
sure!
my machine space blew up to 980 GB, that's why I deleted all the volumes and factory reset Rancher today. was able to resize before, none of my team member is seeing this error after resizing.. first time seeing this error today🤷‍♀️
f
idk, I thought I had resized before too without problems
I think it is because of a "recent" change to Lima: Fix: resize GuestOS disk by songponssw · Pull Request #3437 · lima-vm/lima
Before that change Lima would only look at the disk size when create an instance. Now it tries to automatically grow the disk.