作者 主題: 【新手求解】使用xfsdump时 增加文件后增量备份失败  (閱讀 514 次)

0 會員 與 1 訪客 正在閱讀本文。

子玦

  • 可愛的小學生
  • *
  • 文章數: 6
    • 檢視個人資料
下列为失败后的提醒
[root@localhost srv]# xfsdump -l 1 -L boot_2 -M boot_2 -f /srv/boot.dump1  /boot
xfsdump: using file dump (drive_simple) strategy
xfsdump: version 3.1.4 (dump format 3.0) - type ^C for status and control
xfsdump: WARNING: most recent base for incremental dump was interrupted (level 0): must resume or redump at or below level 1
xfsdump: Dump Status: ERROR

导致的结果是新的增量备份并无存储内容
下面是全部操作
[root@localhost srv]# xfsdump -l 0 -L boot_all -M boot_all -f /srv/boot.dump  /boot
xfsdump: using file dump (drive_simple) strategy
xfsdump: version 3.1.4 (dump format 3.0) - type ^C for status and control
xfsdump: WARNING: most recent level 0 dump was interrupted, but not resuming that dump since resume (-R) option not specified
xfsdump: level 0 dump of localhost.localdomain:/boot
xfsdump: dump date: Sun Mar 31 22:59:20 2019
xfsdump: session id: 37458063-5425-47b6-a2e9-665e5e591ca0
xfsdump: session label: "boot_all"
xfsdump: ino map phase 1: constructing initial dump list
xfsdump: ino map phase 2: skipping (no pruning necessary)
xfsdump: ino map phase 3: skipping (only one dump stream)
xfsdump: ino map construction complete
xfsdump: estimated dump size: 147098112 bytes
xfsdump: positioned at media file 0: dump 0, stream 0
xfsdump: ERROR: media contains valid xfsdump but does not support append
xfsdump: dump size (non-dir files) : 0 bytes
xfsdump: NOTE: dump interrupted: 0 seconds elapsed: may resume later using -R option
xfsdump: Dump Summary:
xfsdump:   stream 0 /srv/boot.dump ERROR (operator error or resource exhaustion)
xfsdump: Dump Status: INTERRUPT

[root@localhost srv]# dd if=/dev/zero of=/boot/testing.img bs=1M count=10
记录了10+0 的读入
记录了10+0 的写出
10485760字节(10 MB)已复制,0.00496865 秒,2.1 GB/秒
[root@localhost srv]# xfsdump -l 1 -L boot_2 -M boot_2 -f /srv/boot.dump1  /boot
xfsdump: using file dump (drive_simple) strategy
xfsdump: version 3.1.4 (dump format 3.0) - type ^C for status and control
xfsdump: WARNING: most recent base for incremental dump was interrupted (level 0): must resume or redump at or below level 1
xfsdump: Dump Status: ERROR
[root@localhost srv]# ls -lh /srv/boot*
-rw-r--r--. 1 root root 140M 3月  31 22:33 /srv/boot.dump
-rw-r--r--. 1 root root    0 3月  31 23:01 /srv/boot.dump1