You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know you can mount an additional partition to wsl with the wsl --mount command, but it's not dedicated to a single instance and it needs to be done on every reboot.
My aproach is different:
Having mulitple vhxds in C:\Users{username}\AppData\Local\Packages{instance}\LocalState next to ext4.vhdx you could have more than one disk within your instance. Of course ext4.vhdx would be the main disk, but I would move fast growing files (caches, docker-images, ...) to another disk and bind-mount them or link them back to somewhere on root-partition.
My problem everysome months is, that my ext4.vhdx-s are taking all my disk space and I need to shrink the vhdx with some tool. Would be nice to keep system-partition ext4.vhdx out of this (wouldn't grow that much, since I don't install a lot of new things) and only shrink my caches-partition from time to time. Though compressing always worked so far, it's a point where things could go wrong (needing a backup if done right)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I know you can mount an additional partition to wsl with the wsl --mount command, but it's not dedicated to a single instance and it needs to be done on every reboot.
My aproach is different:
Beta Was this translation helpful? Give feedback.
All reactions