여러 스왑 파티션을 사용할 때 Linux 복구

여러 스왑 파티션을 사용할 때 Linux 복구

Linux 시스템이 여러 스왑 장치를 사용하고 디스크를 일시 중지하는 경우 resume=커널 매개변수를 설정하는 방법은 무엇입니까?

답변1

스왑 장치가 하나만 있는 것처럼 파티션을 값으로 지정합니다 resume=. 커널 문서의 커널 명령줄 매개변수에 대한 설명 resume에는 하나의 장치만 필요하다고 명시되어 있습니다.

resume=       [SWSUSP]          
              Specify the partition device for software suspend
              Format:
              {/dev/<dev> | PARTUUID=<uuid> | <int>:<int> | <hex>}

원천https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/admin-guide/kernel-parameters.txt?h=v4.17#n3767

교환 보류에 대한 자세한 내용을 보려면 다음을 방문하세요.https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/power/swsusp.txt?h=v4.17

답변2

불가능해 보인다.

이것소프트웨어 정지 문서에 따르면:

Q: Does swsusp (to disk) use only one swap partition or can it use
multiple swap partitions (aggregate them into one logical space)?

A: Only one swap partition, sorry.

감사해요흐름 답변링크용.

관련 정보