2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2011 SGI. All Rights Reserved.
7 # Test xfsdump with a file spanning multiple media files.
10 _begin_fstest dump ioctl tape
12 status=0 # success is the default!
14 # Override the default cleanup function.
23 # create a 40 MiB file with an extended attr.
24 # xfsdump writes file data in "extent groups", currently 16 MiB in size. After
25 # writing an extent group or finishing a file, xfsdump will start a new media
26 # file if it is over the suggested size. With a single 40 MiB file and using a
27 # suggested media file size of 12 MiB below, this dump will be contained in 3
32 cat <<End-of-File >$tmp.config
33 # pathname size user group perm name value namespace
34 biggg 41943040 $nobody $nobody 777 attr1 some_text1 root
38 _do_create_dumpdir_fill
42 # Import common functions.
46 # real QA test starts here
49 _require_tape $TAPE_DEV
50 _require_attrs trusted