mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: add 267 and 268 for multiple media files
This patch adds a couple of tests for xfsdump when multiple media files are used. 267 tests the case where a file is split across multiple media files, and 268 tests the case where a file ends on one media file and the next media file starts on another file. These tests use a small media file size (xfsdump -d) so that they don't rely on having to hit end-of-tape. Signed-off-by: Bill Kendall <wkendall@sgi.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
committed by
Christoph Hellwig
parent
c9a6f22b9d
commit
a2a325756f
@@ -0,0 +1,88 @@
|
||||
QA output created by 267
|
||||
Put scsi tape driver into variable block size mode
|
||||
Creating directory system to dump using src/fill.
|
||||
Setup Attribute "attr1" set to a 10 byte value for biggg:
|
||||
some_text1
|
||||
.
|
||||
Erasing tape
|
||||
Dumping to tape...
|
||||
xfsdump -d12 -f TAPE_DEV -M stress_tape_media -L stress_267 SCRATCH_MNT
|
||||
xfsdump: using scsi tape (drive_scsitape) strategy
|
||||
xfsdump: level 0 dump of HOSTNAME:SCRATCH_MNT
|
||||
xfsdump: dump date: DATE
|
||||
xfsdump: session id: ID
|
||||
xfsdump: session label: "stress_267"
|
||||
xfsdump: ino map <PHASES>
|
||||
xfsdump: ino map construction complete
|
||||
xfsdump: estimated dump size: NUM bytes
|
||||
xfsdump: /var/xfsdump/inventory created
|
||||
xfsdump: preparing drive
|
||||
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: creating dump session media file 1 (media 0, file 1)
|
||||
xfsdump: dumping ino map
|
||||
xfsdump: dumping directories
|
||||
xfsdump: dumping non-directory files
|
||||
xfsdump: ending media file
|
||||
xfsdump: media file size NUM bytes
|
||||
xfsdump: creating dump session media file 2 (media 0, file 2)
|
||||
xfsdump: dumping ino map
|
||||
xfsdump: dumping directories
|
||||
xfsdump: dumping non-directory files
|
||||
xfsdump: ending media file
|
||||
xfsdump: media file size NUM bytes
|
||||
xfsdump: dumping session inventory
|
||||
xfsdump: beginning inventory media file
|
||||
xfsdump: media file 3 (media 0, file 3)
|
||||
xfsdump: ending inventory media file
|
||||
xfsdump: inventory media file size NUM bytes
|
||||
xfsdump: writing stream terminator
|
||||
xfsdump: beginning media stream terminator
|
||||
xfsdump: media file 4 (media 0, file 4)
|
||||
xfsdump: ending media stream terminator
|
||||
xfsdump: media stream terminator size BLOCKSZ bytes
|
||||
xfsdump: dump size (non-dir files) : NUM bytes
|
||||
xfsdump: dump complete: SECS seconds elapsed
|
||||
xfsdump: Dump Status: SUCCESS
|
||||
Rewinding tape
|
||||
Restoring from tape...
|
||||
xfsrestore -f TAPE_DEV -L stress_267 RESTORE_DIR
|
||||
xfsrestore: using scsi tape (drive_scsitape) strategy
|
||||
xfsrestore: using online session inventory
|
||||
xfsrestore: searching media for directory dump
|
||||
xfsrestore: preparing drive
|
||||
xfsrestore: examining media file 0
|
||||
xfsrestore: reading directories
|
||||
xfsrestore: 2 directories and 2 entries processed
|
||||
xfsrestore: directory post-processing
|
||||
xfsrestore: restoring non-directory files
|
||||
xfsrestore: examining media file 1
|
||||
xfsrestore: seeking past media file directory dump
|
||||
xfsrestore: restoring non-directory files
|
||||
xfsrestore: examining media file 2
|
||||
xfsrestore: seeking past media file directory dump
|
||||
xfsrestore: restoring non-directory files
|
||||
xfsrestore: restore complete: SECS seconds elapsed
|
||||
xfsrestore: Restore Status: SUCCESS
|
||||
Comparing listing of dump directory with restore directory
|
||||
Files TMP.dump_dir and TMP.restore_dir are identical
|
||||
Comparing dump directory with restore directory
|
||||
Files DUMP_DIR/biggg and RESTORE_DIR/DUMP_SUBDIR/biggg are identical
|
||||
Only in SCRATCH_MNT: RESTORE_SUBDIR
|
||||
Comparing dump directory with restore directory
|
||||
Looking at the extended attributes (EAs)
|
||||
EAs on dump
|
||||
User names
|
||||
Root names
|
||||
Attribute "attr1" had a 10 byte value for DUMP_DIR/biggg:
|
||||
some_text1
|
||||
EAs on restore
|
||||
User names
|
||||
Root names
|
||||
Attribute "attr1" had a 10 byte value for DUMP_DIR/biggg:
|
||||
some_text1
|
||||
Files 267.ea1 and 267.ea2 are identical
|
||||
Reference in New Issue
Block a user