4 ms·
> There's no scenario I can think of where I want swap on a spinning disk. When you only have spinning disks and you run out of ram. > What advantage does pad
by noja 3y ago
> There's no scenario I can think of where I want swap on a spinning disk.
When you only have spinning disks and you run out of ram.
> What advantage does padding with swap give over leaving some unallocated space?
It allows you to not run out of ram, and it means you get to use the space.
- justinclift 3y ago> It allows you to not run out of ram, and it means you get to use the space. As someone who (this week) had a spinning disk fail in the NAS, with swap spread across all disks... it's kind of a pain in the arse vs using the whole disk. It's extra complication, which can be especially bad if the disk failure occurs at early am when you're not 100% awake but still need to deal with it. :/
- noja 3y agoWhat was the complication? TrueNAS handles this automatically. Was your swap non-raided?
- justinclift 3y agoIt's on a standard Linux server. For these particular servers, I'm using them with a different containerisation strategy (LXD) so don't want to run TrueNAS on them. These ones don't need to be applicances. :)