RHEL7 - xfsdump fails with error "ERROR: media contains valid xfsdump but does not support append"
Issue
-
Currently deploying several urgent RHEL7 production systems.
-
On RHEL6 I had written a script to execute a weekly compressed ext4 filesystem dump of the core OS filesystems to file to aid in OS recovery.
/sbin/dump -0uz -f /dump/root.dmp.gz /
- Am trying to replicate this for xfs filesystems on RHEL7 without success. Would have thought the following would work
xfsdump -F -l 0 -f /appl/var.xfs_dmp /var
- However it produces the following errors. There also is no detail around using compression when writing to file.
xfsdump: using file dump (drive_simple) strategy
xfsdump: version 3.1.3 (dump format 3.0)
xfsdump: WARNING: no session label specified
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 unx9998.telecom.tcnz.net:/var
xfsdump: dump date: Mon Sep 15 16:22:52 2014
xfsdump: session id: 0723a178-e986-4ff7-8146-41b4908eddd9
xfsdump: session label: ""
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: 267771200 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 /appl/var.xfs_dmp ERROR (operator error or resource exhaustion)
xfsdump: Dump Status: INTERRUPT
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.