我遇到的问题是 TSM 拒绝递归到我的 / 分区上的子目录。这不适用于我的其他分区,它会递归。这与我的包含/排除列表无关。
这是 TSM 的输出:
# dsmc preview backup / -cons -subdir=yes
IBM Tivoli Storage Manager
Command Line Backup-Archive Client Interface
Client Version 7, Release 1, Level 3.1
Client date/time: 25/01/16 18:29:49
(c) Copyright by IBM Corporation and other(s) 1990, 2015. All Rights Reserved.
Node Name: NODENAME.EXAMPLE.COM
Session established with server BLACKHOLE: Linux/x86_64
Server Version 6, Release 3, Level 5.0
Server date/time: 25/01/16 18:29:49 Last access: 25/01/16 18:28:47
Preview function invoked.
Depending on the number of objects to query, this operation could take a while to complete.
Are you sure you want to continue? (Yes (Y)/No (N)) y
Name: Size: Type: Status: Pattern: Source: Mgmt Class:
----- ----- ----- ------- -------- ------- -----------
/lib 5 B - Included - - DEFAULT
/foo 0 B - Included - - DEFAULT
Preview output has been successfully written to file 'dsmprev.txt'.
这就是我的根分区的实际样子(文件 foo 用于调试)
# ls -l /
total 25
drwxr-xr-x 1 root root 1066 Jan 23 13:04 bin
drwxr-xr-x 6 root root 4096 Jan 6 12:45 boot
drwxr-xr-x 22 root root 4620 Jan 25 18:06 dev
drwxr-xr-x 1 root root 5626 Jan 25 15:04 etc
-rw-r--r-- 1 root root 0 Jan 25 18:29 foo
drwxr-xr-x 1 root root 100 Nov 4 15:52 home
lrwxrwxrwx 1 root root 5 Oct 20 16:09 lib -> lib64
drwxr-xr-x 1 root root 1410 Oct 20 16:09 lib32
drwxr-xr-x 1 root root 4880 Jan 25 09:50 lib64
drwxr-xr-x 1 root root 10 Oct 24 22:17 media
drwxr-xr-x 1 root root 10 Oct 31 2013 mnt
drwxr-xr-x 1 root root 348 Jan 24 17:12 opt
dr-xr-xr-x 388 root root 0 Jan 25 08:55 proc
drwx------ 1 root root 512 Jan 25 18:26 root
drwxr-xr-x 26 root root 680 Jan 25 18:06 run
drwxr-xr-x 1 root root 4060 Jan 25 09:50 sbin
drwxr-xr-x 1 root root 0 May 27 2015 srv
dr-xr-xr-x 12 root root 0 Jan 25 18:29 sys
drwxrwxrwt 18 root root 1500 Jan 25 18:26 tmp
drwxr-xr-x 1 root root 194 Nov 15 14:11 usr
drwxr-xr-x 1 root root 186 May 31 2015 var
/ 文件系统位于 btrfs 上,没有子卷(目前)。
这是我的 dsm.sys 文件的内容(大部分是标准的):
SErvername BLACKHOLE
COMMMethod TCPip
TCPPort 1542
SSL YES
TCPServeraddress blackhole.example.com
NODENAME nodename.example.com
PasswordDir "/etc/tivoli/"
PasswordAccess generate
ErrorLogName "/var/log/tsm/dsmerror.log"
SchedLogName "/var/log/tsm/dsmsched.log"
inclexcl /etc/tivoli/incl-excl-file
inclexcl 文件当前为空(但我的常规文件仍然失败,在其他计算机上工作正常)。
答案1
该问题是由所使用的 TSM 版本中的错误引起的,其中 TSM 客户端可以静默地跳过 btrfs 文件系统上的文件并绑定安装。
该错误的详细信息可以在 IBM 网站上找到: http://www-01.ibm.com/support/docview.wss?uid=swg21977589
解决方案是升级到较新版本的 TSM 客户端(如 7.1.4.1)。