6.4. 업그레이드에 성공한 후 논리 볼륨 스냅샷 삭제
Boom Boot Manager를 사용하여 시스템을 성공적으로 업그레이드한 경우 스냅샷 부팅 항목과 LV(Logical volume) 스냅샷을 제거하여 업그레이드된 시스템을 사용할 수 있습니다.
중요
LV 스냅샷을 삭제한 후에는 추가 작업을 수행할 수 없습니다.
사전 요구 사항
- 최근에 Boom Boot Manager를 사용하여 Red Hat Enterprise Linux를 최신 버전으로 업그레이드했습니다.
절차
- GRUB 부트 로더 화면에서 Red Hat Enterprise Linux 9로 부팅합니다.
시스템이 로드된 후 사용 가능한 부팅 항목을 확인합니다. 다음 출력에서는 boom 부팅 항목 목록에 있는 스냅샷 부팅 항목을 보여줍니다.
boom list
# boom list BootID Version Name RootDevice 1e1a9b4 4.18.0-513.5.1.el8_9.x86_64 Red Hat Enterprise Linux /dev/mapper/rhel-root 4ea37b9 4.18.0-513.24.1.el8_9.x86_64 Red Hat Enterprise Linux /dev/mapper/rhel-root c919f89 4.18.0-513.24.1.el8_9.x86_64 Red Hat Enterprise Linux /dev/rhel/root_snapshot_before_changes
Copy to Clipboard Copied! BootID
값을 사용하여 스냅샷 항목을 삭제합니다.boom delete --boot-id c919f89
# boom delete --boot-id c919f89 Deleted 1 entry
Copy to Clipboard Copied! 그러면 GRUB 메뉴에서 부팅 항목이 삭제됩니다.
LV 스냅샷을 제거합니다.
lvremove rhel/root_snapshot_before_changes
# lvremove rhel/root_snapshot_before_changes Do you really want to remove active logical volume rhel/root_snapshot_before_changes? [y/n]: y Logical volume "root_snapshot_before_changes" successfully removed
Copy to Clipboard Copied! - 나머지 업그레이드 후 작업을 완료합니다. 자세한 내용은 RHEL 8에서 RHEL 9로 업그레이드 를 참조하십시오.