我有一个每晚运行的 AMANDA 备份过程。大约一个月前,我们将配置拉入在 Ubuntu 18.04(也是新硬件)上运行的 AMANDA 1:3.5.1-build2(ubuntu 包)。在过去的一周里,备份失败了两次,原因如下:
数据读取:recv 错误:shm_ring 已取消
只在谷歌上找到一个关于此问题的结果。有人知道是什么原因造成的吗?结果不多syslog
,不确定这个Sense Key
错误是原因还是结果。
AMANDA 电子邮件
Date : September 23, 2019 (8:31 AM)
...
FAILED DUMP DETAILS:
/-- kapernick /mnt/cache/daily.0/node1.test lev 0 FAILED [data read: recv error: shm_ring is cancelled]
sendbackup: start [kapernick:/mnt/cache/daily.0/node1.test level 0]
sendbackup: info BACKUP=/bin/tar
sendbackup: info RECOVER_CMD=/bin/tar -xpGf - ...
sendbackup: info end
| /bin/tar: ./var/lib/lxd/unix.socket: socket ignored
\--------
...
系统日志
Sep 23 08:31:05 kapernick kernel: [329302.736887] st 11:0:1:0: [st1] Sense Key : Not Ready [current]
Sep 23 08:31:05 kapernick kernel: [329302.736891] st 11:0:1:0: [st1] Add. Sense: Logical unit not ready, operation in progress
Sep 23 08:31:05 kapernick kernel: [329302.737961] st 11:0:1:0: [st1] Sense Key : Not Ready [current]
Sep 23 08:31:05 kapernick kernel: [329302.737963] st 11:0:1:0: [st1] Add. Sense: Logical unit not ready, operation in progress
Sep 23 08:31:05 kapernick kernel: [329302.740652] st 11:0:1:0: [st1] Sense Key : Not Ready [current]
Sep 23 08:31:05 kapernick kernel: [329302.740655] st 11:0:1:0: [st1] Add. Sense: Logical unit not ready, operation in progress
Sep 23 08:31:08 kapernick kernel: [329305.741326] st 11:0:1:0: [st1] Sense Key : Not Ready [current]
Sep 23 08:31:08 kapernick kernel: [329305.741330] st 11:0:1:0: [st1] Add. Sense: Logical unit not ready, operation in progress
Sep 23 08:31:11 kapernick kernel: [329308.741954] st 11:0:1:0: [st1] Sense Key : Not Ready [current]
Sep 23 08:31:11 kapernick kernel: [329308.741958] st 11:0:1:0: [st1] Add. Sense: Logical unit not ready, operation in progress
Sep 23 08:31:14 kapernick kernel: [329311.742487] st 11:0:1:0: [st1] Sense Key : Not Ready [current]
Sep 23 08:31:14 kapernick kernel: [329311.742491] st 11:0:1:0: [st1] Add. Sense: Logical unit not ready, operation in progress
Sep 23 08:31:17 kapernick kernel: [329314.743108] st 11:0:1:0: [st1] Sense Key : Not Ready [current]
Sep 23 08:31:17 kapernick kernel: [329314.743111] st 11:0:1:0: [st1] Add. Sense: Logical unit not ready, operation in progress
答案1
您使用的是哪种存储设备?我认为连接性是导致问题的原因。您可以使用以下命令检查端口可用性吗?
# sudo -u amandabackup amadmin <Backup set> config --print-source &> full_config_details
# grep -i port full_config_details