mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
simple test of EAs in xfsdump/xfsrestore
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
QA output created by 063
|
||||
Creating directory system to dump using src/fill.
|
||||
Setup Attribute "attr1" set to a 9 byte value for smalll:
|
||||
some_text
|
||||
.Attribute "attr2" set to a 10 byte value for biggg:
|
||||
some_text2
|
||||
.Attribute "attr3" set to a 10 byte value for sub/smalll:
|
||||
some_text3
|
||||
.Attribute "attr4" set to a 10 byte value for sub/biggg:
|
||||
some_text4
|
||||
.Attribute "attr5" set to a 8 byte value for dir:
|
||||
dir_text
|
||||
...............
|
||||
Dumping to file...
|
||||
xfsdump -f DUMP_FILE -M stress_tape_media -L stress_063 SCRATCH_MNT
|
||||
xfsdump: level 0 dump of HOSTNAME:SCRATCH_MNT
|
||||
xfsdump: dump date: DATE
|
||||
xfsdump: session id: ID
|
||||
xfsdump: session label: "stress_063"
|
||||
xfsdump: ino map phase 1: skipping (no subtrees specified)
|
||||
xfsdump: ino map phase 2: constructing initial dump list
|
||||
xfsdump: ino map phase 3: skipping (no pruning necessary)
|
||||
xfsdump: ino map phase 4: skipping (size estimated in phase 2)
|
||||
xfsdump: ino map phase 5: skipping (only one dump stream)
|
||||
xfsdump: ino map construction complete
|
||||
xfsdump: estimated dump size: NUM bytes
|
||||
xfsdump: /var/xfsdump/inventory created
|
||||
xfsdump: creating dump session media file 0 (media 0, file 0)
|
||||
xfsdump: dumping ino map
|
||||
xfsdump: dumping directories
|
||||
xfsdump: dumping non-directory files
|
||||
xfsdump: ending media file
|
||||
xfsdump: media file size NUM bytes
|
||||
xfsdump: dump size (non-dir files) : NUM bytes
|
||||
xfsdump: dump complete: SECS seconds elapsed
|
||||
xfsdump: Dump Status: SUCCESS
|
||||
Restoring from file...
|
||||
xfsrestore -f DUMP_FILE -L stress_063 RESTORE_DIR
|
||||
xfsrestore: using online session inventory
|
||||
xfsrestore: searching media for directory dump
|
||||
xfsrestore: examining media file 0
|
||||
xfsrestore: reading directories
|
||||
xfsrestore: directory post-processing
|
||||
xfsrestore: restoring non-directory files
|
||||
xfsrestore: restore complete: SECS seconds elapsed
|
||||
xfsrestore: Restore Status: SUCCESS
|
||||
Comparing dump directory with restore directory
|
||||
Looking at the extended attributes (EAs)
|
||||
EAs on dump
|
||||
Attribute "attr2" had a 10 byte value for DUMP_DIR/biggg:
|
||||
some_text2
|
||||
Attribute "attr5" had a 8 byte value for DUMP_DIR/dir:
|
||||
dir_text
|
||||
Attribute "attr1" had a 9 byte value for DUMP_DIR/smalll:
|
||||
some_text
|
||||
Attribute "attr4" had a 10 byte value for DUMP_DIR/sub/biggg:
|
||||
some_text4
|
||||
Attribute "attr3" had a 10 byte value for DUMP_DIR/sub/smalll:
|
||||
some_text3
|
||||
EAs on restore
|
||||
Attribute "attr2" had a 10 byte value for DUMP_DIR/biggg:
|
||||
some_text2
|
||||
Attribute "attr5" had a 8 byte value for DUMP_DIR/dir:
|
||||
dir_text
|
||||
Attribute "attr1" had a 9 byte value for DUMP_DIR/smalll:
|
||||
some_text
|
||||
Attribute "attr4" had a 10 byte value for DUMP_DIR/sub/biggg:
|
||||
some_text4
|
||||
Attribute "attr3" had a 10 byte value for DUMP_DIR/sub/smalll:
|
||||
some_text3
|
||||
Files 063.ea1 and 063.ea2 are identical
|
||||
Reference in New Issue
Block a user