4 # Test out the xfs_repair -o force_geometry option on single-AG filesystems.
6 #-----------------------------------------------------------------------
7 # Copyright (c) 2009 Christoph Hellwig.
8 #-----------------------------------------------------------------------
14 echo "QA output created by $seq"
18 status=1 # failure is the default!
20 # get standard environment, filters and checks
25 # real QA test starts here
31 echo "== Creating single-AG filesystem =="
32 _scratch_mkfs_xfs -d agcount=1 >/dev/null 2>&1
34 echo "== Trying to repair it (should fail) =="
37 echo "== Trying to repair it with -o force_geometry =="
38 _scratch_xfs_repair -o force_geometry 2>&1 | _filter_repair