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?
Of course. Just tell your hibernation about the partition you want to
use for it (it usually defaults to using the swap partition).
IIRC the relevant file is `/etc/suspend.conf`.
You may also need to rebuild your `/boot/initrd.img` file since it
usually contains a copy of that information.
On 9/10/24 13:40, Charles Curley wrote:
On Tue, 10 Sep 2024 09:24:00 -0400
Eben King <eben@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?
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?
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?
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?
Of course. Just tell your hibernation about the partition you want to
use for it (it usually defaults to using the swap partition).
IIRC the relevant file is `/etc/suspend.conf`.
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?
Hi,
On Tue, Sep 10, 2024 at 02:53:01PM -0400, Stefan Monnier 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?
Of course. Just tell your hibernation about the partition you want to
use for it (it usually defaults to using the swap partition).
IIRC the relevant file is `/etc/suspend.conf`.
So, I think this just sets the resume= etc on the kernel command
line and I had thought that this only tells the kernel where to
resume *from*, not where to hibernate *to*. However I have not
tested that, and it seems that it might indeed also set where it
hibernates to as long as you first boot with that command line in
place:
https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Manually_specify_hibernate_location
Has anyone tried this?
On Tue, 10 Sep 2024 09:24:00 -0400
Eben King <eben@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.
On 11.09.2024 05:34, eben@gmx.us wrote:
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?
In mean time, I enjoy fast performance of SSD drives and keep an eye on them using "smartd".
I'm worried about shortening the life of the NVME drive
with all those short writes.
You may also need to rebuild your `/boot/initrd.img` file since it
usually contains a copy of that information.
What is the command for that, "mkinitcpio"?
On 10 Sep 2024 20:34 -0400, from eben@gmx.us:
I'm worried about shortening the life of the NVME drive
with all those short writes.
I would call that cargo cult by now. You presumably bought it to use
it, so use it.
As already pointed out, typical write endurance for
modern SSDs is measured in tens to hundreds of terabytes written
(usually, for a particular model, it is a function of the drive size:
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 162:11:07 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,500 |