HPE CRAY 자료 공유

[RPM] mkfs.gfs2 command not found 본문

Applications/LINUX

[RPM] mkfs.gfs2 command not found

CRAY KOREA Blog 2024. 5. 16. 11:39

mkfs.gfs2 명령 실행 시 "command not found" 오류가 발생하는 경우 패키지 설치 기록

 

mkfs.gfs2

Global File System 2 - filesystem tools

OS 구분 설치 방법 비고
Windows (WSL2) # sudo apt-get update 
# sudo apt-get install gfs2-utils
 
Debian / Ubuntu # apt-get install gfs2-utils  
Kali Linux # apt-get install gfs2-utils  
RHEL / CentOS / Fedora # yum install gfs2-utils
            or
# dnf install gfs2-utils
 
Raspbian # apt-get install gfs2-utils  

- 출처: https://command-not-found.com/mkfs.gfs2

 

[root@cray ~]# yum install gfs2-utils
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 3:06:06 ago on Thu 16 May 2024 08:20:54 AM KST.
Dependencies resolved.
===========================================================================================================================================================
 Package                              Architecture                    Version                                  Repository                             Size
===========================================================================================================================================================
Installing:
 gfs2-utils                           x86_64                          3.2.0-11.el8                             media-baseos                          330 k
Installing dependencies:
 dlm-lib                              x86_64                          4.1.0-1.el8                              media-baseos                           34 k
 lvm2-lockd                           x86_64                          8:2.03.14-6.el8                          media-baseos                          404 k
 sanlock-lib                          x86_64                          3.8.4-4.el8                              media-baseos                           74 k

Transaction Summary
===========================================================================================================================================================
Install  4 Packages

Total download size: 843 k
Installed size: 1.7 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): dlm-lib-4.1.0-1.el8.x86_64.rpm                                                                                      7.1 MB/s |  34 kB     00:00    
(2/4): sanlock-lib-3.8.4-4.el8.x86_64.rpm                                                                                   31 MB/s |  74 kB     00:00    
(3/4): gfs2-utils-3.2.0-11.el8.x86_64.rpm                                                                                   28 MB/s | 330 kB     00:00    
(4/4): lvm2-lockd-2.03.14-6.el8.x86_64.rpm                                                                                  27 MB/s | 404 kB     00:00    
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                       46 MB/s | 843 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                   1/1 
  Installing       : sanlock-lib-3.8.4-4.el8.x86_64                                                                                                    1/4 
  Installing       : dlm-lib-4.1.0-1.el8.x86_64                                                                                                        2/4 
  Running scriptlet: dlm-lib-4.1.0-1.el8.x86_64                                                                                                        2/4 
  Installing       : lvm2-lockd-8:2.03.14-6.el8.x86_64                                                                                                 3/4 
  Running scriptlet: lvm2-lockd-8:2.03.14-6.el8.x86_64                                                                                                 3/4 
  Installing       : gfs2-utils-3.2.0-11.el8.x86_64                                                                                                    4/4 
  Running scriptlet: gfs2-utils-3.2.0-11.el8.x86_64                                                                                                    4/4 
  Verifying        : dlm-lib-4.1.0-1.el8.x86_64                                                                                                        1/4 
  Verifying        : gfs2-utils-3.2.0-11.el8.x86_64                                                                                                    2/4 
  Verifying        : lvm2-lockd-8:2.03.14-6.el8.x86_64                                                                                                 3/4 
  Verifying        : sanlock-lib-3.8.4-4.el8.x86_64                                                                                                    4/4 
Installed products updated.

Installed:
  dlm-lib-4.1.0-1.el8.x86_64        gfs2-utils-3.2.0-11.el8.x86_64        lvm2-lockd-8:2.03.14-6.el8.x86_64        sanlock-lib-3.8.4-4.el8.x86_64       

Complete!
[root@cray ~]#