On Tue, Sep 10, 2024 at 08:34:46PM -0400, e...@gmx.us wrote: > On 9/10/24 13:40, Charles Curley wrote: > > On Tue, 10 Sep 2024 09:24:00 -0400 > > Eben King <e...@gmx.us> wrote: > > > > > I have an NVME drive as well as a spinning-rust drive. I've got swap > > > on the spinning drive, but I'd like to put the hibernate area on the > > > NVME. Is that possible, to have swap on one and hibernate on another? > > > > From what I understand, hibernation uses the swap area to store data, > > so I expect the answer is "no". > > > > However, why not move both the the NVME? You will speed up swapping > > considerably by doing so. > > It probably would. I'm worried about shortening the life of the NVME drive > with all those short writes. Do SSDs fail by going read-only, or do they > just vanish and take your data with them?
Hm. That would depend on the failure mode and on the firmware. If the firmware itself fails, then all is gone. If what you're thinkig about is "write endurance", these days it is measured in hudreds to thousands of TB [1] [2]. Yours has that number from the manufacturer, so you can look it up. That said, it's swap (and hibernate), so hopefully the thing failing is just an annoyance and not a significant data loss. That (again) said, I've seen an installation (Ubuntu, I'm looking at you!) which refused to start just because the hibernation partition was indisposed, leading to an unnecessarily lengthy data recovery process, which is always traumatic for the owner. Cheers [1] https://www.tomshardware.com/reviews/intel-ssd-600p-nvme-endurance-testing,4826.html (this one is 2017, but pretty detailed: expect things to have changed somewhat) [2] https://www.anandtech.com/show/13761/the-samsung-970-evo-plus-ssd-review -- tomás
signature.asc
Description: PGP signature