안녕하세요.
rocky linux 8.5 버전에 veeam linux agent 를 설치 하는데 아래와 같이 설치는 완료 했습니다.
-------------------------------------------------------------------------------------------------------
[root@lo0-100 ~]# rpm -ivh veeam-release-el8-1.0.8-1.x86_64.rpm
경고: veeam-release-el8-1.0.8-1.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID efdcea77: NOKEY
Verifying... ################################# [100%]
준비 중... ################################# [100%]
Updating / installing...
1:veeam-release-el8-1.0.8-1 ################################# [100%]
[root@lo0-100 ~]# yum install veeam
Veeam Backup for GNU/Linux - x86_64 21 kB/s | 9.9 kB 00:00
종속성이 해결되었습니다.
=============================================================================================================================================================================================================================================
꾸러미 구조 버전 레포지터리 크기
=============================================================================================================================================================================================================================================
설치 중:
veeam x86_64 5.0.2.4567-1.el8 veeam 69 M
종속 꾸러미 설치 중:
kmod-veeamsnap x86_64 5.0.2.4567-1.el8 veeam 114 k
연결 요약
=============================================================================================================================================================================================================================================
설치 2 꾸러미
총계 내려받기 크기: 69 M
설치된 크기 : 183 M
진행 할 까요? [y/N]: y
꾸러미 내려받기중:
(1/2): kmod-veeamsnap-5.0.2.4567-1.el8.x86_64.rpm 155 kB/s | 114 kB 00:00
(2/2): veeam-5.0.2.4567-1.el8.x86_64.rpm 15 MB/s | 69 MB 00:04
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
합계 15 MB/s | 69 MB 00:04
retrieving repo key for veeam unencrypted from http://repository.veeam.com/keys/RPM-EFDCEA77
Veeam Backup for GNU/Linux - x86_64 8.9 kB/s | 3.1 kB 00:00
GPG키 0xEFDCEA77 가져오는 중:
사용자 ID : "Veeam Software RPM Repository <*******@*****.com>"
지문: 1DD6 EAD9 AF6E 8F34 465D 790C EA4F C237 EFDC EA77
출처 : http://repository.veeam.com/keys/RPM-EFDCEA77
진행 할 까요? [y/N]: y
키 가져오기에 성공했습니다
연결 확인 실행 중
연결 확인에 성공했습니다.
연결 시험 실행 중
연결 시험에 성공했습니다.
연결 실행 중
준비 중 : 1/1
설치 중 : kmod-veeamsnap-5.0.2.4567-1.el8.x86_64 1/2
스크립트릿 실행 중: veeam-5.0.2.4567-1.el8.x86_64 2/2
설치 중 : veeam-5.0.2.4567-1.el8.x86_64 2/2
스크립트릿 실행 중: veeam-5.0.2.4567-1.el8.x86_64 2/2
Created symlink /etc/systemd/system/multi-user.target.wants/veeamservice.service → /usr/lib/systemd/system/veeamservice.service.
확인 중 : kmod-veeamsnap-5.0.2.4567-1.el8.x86_64 1/2
확인 중 : veeam-5.0.2.4567-1.el8.x86_64 2/2
설치되었습니다:
kmod-veeamsnap-5.0.2.4567-1.el8.x86_64 veeam-5.0.2.4567-1.el8.x86_64
완료되었습니다!
------------------------------------------------------------------------------------------------------------------------------------------
설치 완료하고 veeam 을 실행하여 설정도 잘 되는데 백업 job 을 만들고 백업을 스타트하면 에러가 납니다.
14:37:34 Job Agent Backup Policy 2 started at 2022-11-16 05:37:34 UTC
14:37:36 Preparing to backup
14:37:39 Waiting for backup infrastructure resources availability 00:00:02
14:37:41 [error] Failed to create volume snapshot 00:00:01
14:37:42 [error] Failed to take volume snapshot
14:37:42 [error] Failed to perform backup
14:37:42 [error] Module loading operation has returned code [255]
14:37:42 [error] Failed to load module [veeamsnap] with parameters [zerosnapdata=1 debuglogging=0 snapstore_block_size_pow=14 change_tracking_block_size_pow=18 logdir=/var/log/veeam fixflags=0 logmaxsize...
14:37:42 [error] Processing finished with errors at 2022-11-16 05:37:42 UTC
---------------------------------------------------------------------------------------------------------------------------------------------
혹시 같은 증상 겪으신분이나 해결 방안 있으면 부탁 드리겠습니다.
감사합니다.
ȤÀº
insmod veeamsnap
À¸·Î module/driver ¼öµ¿À¸·Î Çѹø ¿Ã·Áº¸½ÃÁÒ...
modprobe: FATAL: Module veeamsnap not found in directory /lib/modules/4.18.0-348.el8.0.2.x86_64
[root@lo0-100 ~]# insmod veeamsnap
insmod: ERROR: could not load module veeamsnap: No such file or directory
ÀÌ·¸°Ô ¶ß³×¿ä..
" [error] Failed to create volume snapshot "
¹é¾÷ÇÏ°íÀÚ ÇÏ´Â DEVICE°¡ LVMÀ¸·Î µÇ¾î ÀÖ¾î¾ß ÇÕ´Ï´Ù.
¸Å´º¾ó¿¡µµ ³ª¿Í ÀÖÀ» °Ì´Ï´Ù (¿¹Àü¿¡´Â ÀÖ¾ú´Âµ¥ Áö±ÝÀº Àß ¸ð¸£°Ú³×¿ä)
ÆÄÀÏÀ» vi ·Î ¿°í, ´ÙÀ½ºÎºÐÀ» ã¾Æ¼ ¼öÁ¤ ÇϽʽÿä.
# Miscellaneous global LVM settings.
global {
# Configuration option global/umask.
# The file creation mask for any files and directories created.
# Interpreted as octal if the first digit is zero.
# This configuration option has an automatic default value.
# umask = 077
# Configuration option global/test.
# No on-disk metadata changes will be made in test mode.
# Equivalent to having the -t option on every command.
# This configuration option has an automatic default value.
# test = 0
# Configuration option global/units.
# Default value for --units argument.
# This configuration option has an automatic default value.
units = "h" <--- ÁÖ¼®À» Á¦°ÅÇÏ°í ¿É¼Ç°ªÀº "h" ·Î º¯°æ ÈÄ ÀúÀåÇÏ½Ã°í ´Ù½Ã ¹é¾÷½ÇÇà Çغ¸½Ã±â ¹Ù¶ø´Ï´Ù.
# Configuration option global/si_unit_consistency.
# Distinguish between powers of 1024 and 1000 bytes.
# The LVM commands distinguish between powers of 1024 bytes,
# e.g. KiB, MiB, GiB, and powers of 1000 bytes, e.g. KB, MB, GB.
# If scripts depend on the old behaviour, disable this setting
# temporarily until they are updated.
# This configuration option has an automatic default value.
# si_unit_consistency = 1
º» ¹®Á¦´Â Kernel ¹®Á¦°¡ ¸Â½À´Ï´Ù. LVM ¹®Á¦´Â Kernel ¹®Á¦°¡ ÇØ°áµÇ¸é ´ÙÀ½¿¡ ³ª¿Ã °ÍÀÌ´Ï ±»ÀÌ Áö¿ìÁö´Â ¾Ê°Ú½À´Ï´Ù.
ÇØ´ç ¹®Á¦´Â dkms ¸¦ ¼³Ä¡ÇØ¾ß ÇÕ´Ï´Ù.
https://www.veeam.com/kb2260
(hostnamectl||uname -a)
cat /etc/*release
(rpm -qa||dpkg-query -l) | egrep -i '(veeam|dkms|kernel-headers|kernel.*devel|linux-image|linux-headers)' | sort
dkms status
mokutil --sb-state <-- ¿ä°Ç ÇÊ¿ä¾ø½À´Ï´Ù.)
mokutil --list-new <-- ¿ä°Ç ÇÊ¿ä¾ø½À´Ï´Ù.)
find /lib/modules -name '*veeam*' -exec ls -ld {} +
lsmod | grep -i veeam
modinfo veeamsnap
modprobe -vvv veeamsnap
ÀÌ ºÎºÐÀ» ÂüÁ¶ÇØ º¸¼¼¿ä.
¹®Á¦´Â dkms °¡ Rocky ±âº» ÆÐÅ°Áö¿¡ Æ÷ÇÔÀÌ µÇ¾î ÀÖÁö ¾Ê¾Æ¼
dkms-3.0.5-1.el8.noarch.rpm
¿ä·±°Ç ¹Þ¾Æ´Ù°¡ ¼³Ä¡ÇÏ¼Å¾ß ÇÕ´Ï´Ù.
ÀÌ ¶§, ¸î¸î°³ÀÇ Ä¿³Î°ü·Ã Ãß°¡ ¶óÀ̺귯¸®¸¦ ¿ä±¸ÇÕ´Ï´Ù. ´Ù ¼³Ä¡ÇØ ÁÖ¼¼¿ä.
[root@salesonesvr ~]# find /lib/modules -name '*veeam*' -exec ls -ld {} +
-rw-r--r-- 1 root root 1939672 10¿ù 28 16:20 /lib/modules/4.18.0-372.26.1.el8_6.x86_64/extra/veeamsnap.ko.xz
lrwxrwxrwx 1 root root 53 10¿ù 28 16:01 /lib/modules/4.18.0-372.26.1.el8_6.x86_64/weak-updates/veeamsnap.ko -> /lib/modules/4.18.0-348.el8.x86_64/extra/veeamsnap.ko
[root@salesonesvr ~]#
[root@salesonesvr ~]# cat /etc/redhat-release
Rocky Linux release 8.6 (Green Obsidian)
[root@salesonesvr ~]#
ÀÌ·±½ÄÀ¸·Î ³ª¿Í¾ß ÇÕ´Ï´Ù.
±×¸®°í Ä¿³Î¿¡ ¿Ã·ÁÁø°ÍÀ» ³ªÁß¿¡ yum update °°Àº°Å ÇϽøé, ÇöÀç ¹öÁ¯ÀÇ Kernel ¸¦ ³¯¸± °æ¿ì »õ·Î module À» ¿Ã¸®¼Å¾ß ÇÕ´Ï´Ù.
ÀÏ´Ü À§¿¡ dkms ¼³Ä¡ÇÏ°í À§¿¡ ½áÁֽŰŠµû¶óÇغôµ¥ ¾Æ·¡¿Í °°ÀÌ ³ª¿É´Ï´Ù.
[root@lo0-100 ~]# veeam
[root@lo0-100 ~]# (rpm -qa||dpkg-query -l) | egrep -i '(veeam|dkms|kernel-headers|kernel.*devel|linux-image|linux-headers)' | sort
dkms-3.0.8-1.el8.noarch
kernel-devel-4.18.0-425.3.1.el8.x86_64
kernel-headers-4.18.0-425.3.1.el8.x86_64
veeam-5.0.2.4567-1.el8.x86_64
veeam-release-el8-1.0.8-1.x86_64
veeamsnap-5.0.2.4567-1.noarch
[root@lo0-100 ~]# dkms status
veeamsnap/5.0.2.4567: added
[root@lo0-100 ~]# find /lib/modules -name '*veeam*' -exec ls -ld {} +
[root@lo0-100 ~]# lsmod | grep -i veeam
[root@lo0-100 ~]# modinfo veeamsnap
modinfo: ERROR: Module veeamsnap not found.
[root@lo0-100 ~]# modprobe -vvv veeamsnap
modprobe: INFO: custom logging function 0x55c5ea650e80 registered
modprobe: FATAL: Module veeamsnap not found in directory /lib/modules/4.18.0-348.el8.0.2.x86_64
[root@lo0-100 ~]#
[root@salesonesvr ~]# modinfo veeamsnap
filename: /lib/modules/4.18.0-372.26.1.el8_6.x86_64/extra/veeamsnap.ko.xz
supported: external
version: 5.0.2.4567
description: Veeam Snapshot Kernel Module
author: Veeam Software Group GmbH
license: GPL
rhelversion: 8.6
srcversion: 592EC5F1D4B2FB93B076352
depends:
name: veeamsnap
vermagic: 4.18.0-372.26.1.el8_6.x86_64 SMP mod_unload modversions
sig_id: PKCS#7
signer: DKMS module signing key
sig_key: 5C:E1:67:00:E0:3E:DE:E3:93:8F:90:48:31:D3:88:03:D6:80:5E:42
sig_hashalgo: sha512
signature: 5E:53:92:4F:56:EF:B1:3F:3A:06:A8:C8:F3:6B:04:1C:21:C6:7A:F3:
5A:E9:DB:80:FF:44:43:C6:44:83:C0:4E:0F:1E:6A:3C:96:35:C6:9A:
82:81:D3:40:70:EF:A5:93:8A:4F:09:92:0C:52:C4:0B:5B:D1:FA:2E:
E5:91:64:B6:BF:DD:34:2A:F7:65:CA:B4:1B:57:E5:B6:C2:A5:33:59:
A4:13:19:FD:E6:11:AF:C8:A3:0E:25:FB:35:F9:03:C7:90:A8:8D:C2:
22:D6:BA:88:D9:7D:15:5A:56:D7:42:D5:D2:5A:85:6E:E3:9D:59:53:
26:00:45:5D:15:87:E2:41:B8:59:27:34:E4:19:14:AC:C5:0A:24:65:
A9:15:91:D5:1F:FD:BB:6D:16:79:1D:11:64:B1:C2:DE:2C:68:13:A0:
4B:8F:76:16:EB:6E:D7:6E:E3:52:60:A7:A0:5B:51:DC:AA:FF:F4:48:
B0:23:39:33:D3:E5:56:FF:79:1F:E1:E7:D3:2E:F8:86:2B:A2:A9:9C:
BA:71:C8:F5:05:80:E2:F8:D0:A9:3C:DF:62:52:A2:0D:36:11:D1:D5:
70:CE:5F:61:32:4E:08:8C:68:43:FF:B6:F9:C0:E3:2B:CB:85:00:9C:
00:AE:2F:22:46:32:DF:B5:CC:26:9B:93:80:19:90:ED
parm: zerosnapdata:Zeroing snapshot data algorithm determine. (int)
parm: debuglogging:Logging level switch. (int)
parm: logdir:Directory for module logs. (charp)
parm: logmaxsize:Maximum log file size. (ulong)
parm: cbtdata:Parameters for persistent CBT. (charp)
parm: snapstore_block_size_pow:Snapstore block size binary pow. 20 for 1MiB block size (int)
parm: change_tracking_block_size_pow:Change-tracking block size binary pow. 18 for 256 KiB block size (int)
parm: fixflags:Flags for known issues (uint)
[root@salesonesvr ~]#
[root@salesonesvr ~]# modprobe -vvv veeamsnap
modprobe: INFO: custom logging function 0x562aea81ff70 registered
modprobe: INFO: context 0x562aec3f24e0 released
´ëÃæ ÀÌ·¸°Ô Ä¿³Î¿¡ ¸ðµâÀÌ ¿Ã¶ó°¡¾ß ÇÕ´Ï´Ù.
±â¾ï¿¡ Áß°£¿¡ ´Ù½Ã mod ·Î ¿Ã¸®´Â ¹æ¹ýÀÌ ¾îµò°¡ Àִµ¥ ±â¾ïÀÌ ³ªÁú ¾Ê¾Æ¼¿ä.
À缳ġ¸¦ Çصµ µÇ±ä ÇÕ´Ï´Ù.
https://veeam.my.salesforce-sites.com/kb/articles/Regular_Articles/KB2259
¿©±â¸¦ º¸½Ã¸é dkms ¸¦ ÅëÇؼ »õ·Î mod ·Î ¿Ã¸®´Â ¹æ¹ýÀÌ ÀÖÀ» °Ì´Ï´Ù.
±×·±µ¥, Á¦°¡ ±ÇÀåµå¸®´Â °Ç ±×³É.. veeam agent »õ·Î ±î¼¼¿ä.
±×°Ô ´õ ÆíÇÕ´Ï´Ù. ¤»¤»¤»¤»¤»¤»
Sign command: /lib/modules/4.18.0-348.el8.0.2.x86_64/build/scripts/sign-file
Binary /lib/modules/4.18.0-348.el8.0.2.x86_64/build/scripts/sign-file not found, modules won't be signed
Deprecated feature: REMAKE_INITRD
Error! Your kernel headers for kernel 4.18.0-348.el8.0.2.x86_64 cannot be found at /lib/modules/4.18.0-348.el8.0.2.x86_64/build or /lib/modules/4.18.0-348.el8.0.2.x86_64/source.
Please install the linux-headers-4.18.0-348.el8.0.2.x86_64 package or use the --kernelsourcedir option to tell DKMS where it's located.
[root@lo0-100 ~]# yum install kernel-headers-$(uname -r)
¸¶Áö¸· ¸ÞŸÀÚ·á ¸¸·áÈ®ÀÎ 3:42:17 ÀÌÀüÀÎ: 2022³â 11¿ù 18ÀÏ (±Ý) ¿ÀÀü 05½Ã 51ºÐ 00ÃÊ.
ÀÏÄ¡ÇÏ´Â Àμö°¡ ¾ø½À´Ï´Ù: kernel-headers-4.18.0-348.el8.0.2.x86_64
¿À·ù: ÀÏÄ¡ÇÏ´Â Ç׸ñÀ» ãÀ» ¼ö ¾ø½À´Ï´Ù: kernel-headers-4.18.0-348.el8.0.2.x86_64
Ȥ½Ã dkms ·Î »õ·Î mod ¿Ã¸®´Â ¹æ¹ýÀ» ¸ÕÀú ½Ãµµ Çغ¸°í Àִµ¥ Ä¿³Î Çì´õ Àú ÆÄÀϸ¸ ã¾Æ¼ ¼³Ä¡ ÇÏ¸é µÉ±î¿ä?