6.3. Snapshot Manager를 사용하여 다른 버전으로 업그레이드


Snapshot Manager를 사용하여 Red Hat Enterprise Linux 운영 체제 업그레이드를 수행합니다.

사전 요구 사항

  • Red Hat Enterprise Linux 9.6을 실행하고 있습니다.
  • snapmboom-boot 패키지의 현재 버전을 설치했습니다. dnf -y install snapm 을 사용하여 Snapshot Manager 및 해당 종속 항목을 설치합니다.
  • 스냅샷 세트에 사용할 수 있는 충분한 공간이 있습니다. 원래 설치 크기에 따라 크기를 추정합니다. 마운트된 모든 논리 볼륨을 나열하고 각 볼륨에 충분한 공간을 사용할 수 있는지 확인합니다.
  • leappleapp-upgrade-el9toel10 패키지를 설치했습니다.

프로세스

  1. 부팅 및 부팅 항목을 되돌리는 시스템 볼륨의 이름이 지정된 스냅샷 세트를 만듭니다. 예를 들어 시스템이 별도의 루트 및 /var 파일 시스템으로 구성되어 있고 업그레이드 전 스냅샷 세트의 이름을 지정하려는 경우

    # snapm snapset create --boot --revert before-upgrade / /var
    SnapsetName:  	before-upgrade
    Sources:      	/, /var
    NrSnapshots:  	2
    Time:         	2025-04-23 20:41:53
    UUID:         	5e56c455-6285-5f2d-a640-1595eac8381a
    Status:       	Active
    Autoactivate: 	yes
    Bootable:     	yes
    BootEntries:
      SnapshotEntry:  178e20f
      RevertEntry:    6703c58
    Copy to Clipboard Toggle word wrap

    다음과 같습니다.

    • create 는 스냅샷 세트를 생성합니다.
    • --boot 를 사용하면 스냅샷 부팅 항목을 생성할 수 있습니다.
    • --revert 를 사용하면 되돌리기 부팅 항목을 생성할 수 있습니다.
    • before-upgrade 는 스냅샷 세트의 이름을 지정합니다.
    • /var 는 스냅샷 세트에 포함할 마운트 지점의 공백으로 구분된 목록입니다.

    이 명령은 아직 존재하지 않는 경우 실행 중인 시스템에 대한 boom 운영 체제 프로필 을 자동으로 생성합니다. 구성된 운영 체제 프로필을 더 많이 제어하려면(예: 실행 중인 시스템이 아직 사용하지 않는 사용자 지정 부팅 옵션을 설정하려면 시스템의 boom(8) 도움말 페이지 및 boom profile create 하위 명령을 참조하십시오.

  2. Leapp 유틸리티를 사용하여 Red Hat Enterprise Linux 10으로 업그레이드:

    # leapp upgrade
    ==> Processing phase `configuration_phase`
    ====> * ipu_workflow_config
            IPU workflow config actor
    ==> Processing phase `FactsCollection`
    …
    
    ====> * add_upgrade_boot_entry
        	Add new boot entry for Leapp provided initramfs.
    A reboot is required to continue. Please reboot your system.
    Debug output written to /var/log/leapp/leapp-upgrade.log
    ============================================================
                      	REPORT OVERVIEW
    ============================================================
    HIGH and MEDIUM severity reports:
    	1. Detected modified configuration files in leapp configuration directories.
    	2. Leapp detected loaded kernel drivers which are no longer maintained in RHEL 10.
    	3. GRUB2 core will be automatically updated during the upgrade
    	4. Detected customized configuration for dynamic linker.
    	5. Packages not signed by Red Hat found on the system
    
    Reports summary:
    	Errors:                  	0
    	Inhibitors:              	0
    	HIGH severity reports:   	5
    	MEDIUM severity reports: 	0
    	LOW severity reports:    	3
    	INFO severity reports:   	2
    
    Before continuing, review the full report below for details about discovered problems and possible remediation instructions:
    	A report has been generated at /var/log/leapp/leapp-report.txt
    	A report has been generated at /var/log/leapp/leapp-report.json
    
    ============================================================
                   	END OF REPORT OVERVIEW
    ============================================================
    
    Answerfile has been generated at /var/log/leapp/answerfile
    Reboot the system to continue with the upgrade. This might take a while depending on the system configuration.
    Make sure you have console access to view the actual upgrade process.
    Copy to Clipboard Toggle word wrap

    leapp upgrade 명령 보고서에 표시된 모든 차단자를 검토하고 해결합니다. 보고서에 대한 자세한 내용은 업그레이드 전 보고서 검토를 참조하십시오.

  3. 업그레이드 부팅 항목으로 재부팅합니다.

    # leapp upgrade --reboot
    ==> Processing phase `configuration_phase`
    ====> * ipu_workflow_config
            IPU workflow config actor
    ==> Processing phase `FactsCollection`
    ...
    Copy to Clipboard Toggle word wrap

    Red Hat Enterprise Linux Upgrade Initramfs 는 기본값으로 표시되고 자동으로 부팅됩니다.

검증

  • 업그레이드가 완료되면 시스템이 자동으로 재부팅됩니다. GRUB 화면에 업그레이드된 (Red Hat Enterprise Linux 10) 및 사용 가능한 운영 체제의 이전 버전이 표시됩니다. 업그레이드된 시스템 버전은 기본 선택 사항입니다.
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat