![부팅 시 논리 볼륨이 활성화되지 않습니다.](https://rvso.com/image/782610/%EB%B6%80%ED%8C%85%20%EC%8B%9C%20%EB%85%BC%EB%A6%AC%20%EB%B3%BC%EB%A5%A8%EC%9D%B4%20%ED%99%9C%EC%84%B1%ED%99%94%EB%90%98%EC%A7%80%20%EC%95%8A%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
여기에 우분투 22.04.1이 있습니다. system
설치 중에 생성된 볼륨 그룹이 있습니다 . 이 그룹에는 세 개의 논리 볼륨이 있습니다.
--- Logical volume ---
LV Path /dev/system/swap
LV Name swap
VG Name system
LV UUID qeGYCG-PseM-IzIW-rpit-0zwI-lbKs-q0jL8D
LV Write Access read/write
LV Creation host, time ubuntu-server, 2022-12-02 19:20:46 +0000
LV Status NOT available
LV Size 1,00 GiB
Current LE 256
Segments 1
Allocation inherit
Read ahead sectors auto
--- Logical volume ---
LV Path /dev/system/root
LV Name root
VG Name system
LV UUID qx6W1r-e20x-VfwG-1Sdg-uGE3-rRW9-89k24O
LV Write Access read/write
LV Creation host, time ubuntu-server, 2022-12-02 19:20:47 +0000
LV Status available
# open 1
LV Size 10,00 GiB
Current LE 2560
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Path /dev/system/drbd
LV Name drbd
VG Name system
LV UUID rQxv3f-pJds-JU1z-9Hqd-hi81-3kAt-zlcVbh
LV Write Access read/write
LV Creation host, time ubuntu-server, 2022-12-02 19:20:49 +0000
LV Status NOT available
LV Size <21,00 GiB
Current LE 5375
Segments 1
Allocation inherit
Read ahead sectors auto
lvdisplay
재부팅 직후 명령 의 출력입니다 . 재부팅할 때마다 논리 볼륨이 활성화되지 swap
않습니다 drbd
. vgchange -ay
수동으로 활성화하려면 명령을 사용해야 합니다 . 논리 볼륨 만 root
사용할 수 있으며 이 볼륨 시스템에는 설치되어 있습니다. auto_activation_volume_list
in 에 볼륨 이름을 추가해도 /etc/lvm/lvm.conf
도움이 되지 않습니다.
왜 이런 일이 발생합니까?
업데이트 #1
논리 볼륨을 다시 생성해 보았습니다. 먼저 스왑 볼륨을 제거한 다음 다른 이름으로 다시 생성했습니다. 재부팅 후에도 여전히 동일한 문제가 발생합니다. 볼륨은 까지 활성화되지 않습니다 vgchange -ay
.