Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.5.0
-
Luster master build # 1715
OpenSFS cluster with combined MGS/MDS, single OSS with two OSTs, three clients; one agent + client, one with robinhood/db running and one just running as Lustre clients
-
3
-
10881
Description
The test results are at: https://maloo.whamcloud.com/test_sets/8e9cca2c-2c8b-11e3-85ee-52540035b04c
From the client test_log:
== sanity-hsm test 11: Import a file == 14:01:59 (1380834119) c13: lhsmtool_posix[5372]: action=1 src=d0.sanity-hsm/d11/f.sanity-hsm.11 dst=/lustre/scratch/d0.sanity-hsm/d11/f.sanity-hsm.11 mount_point=/lustre/scratch c13: lhsmtool_posix[5372]: importing '/lustre/scratch/d0.sanity-hsm/d11/f.sanity-hsm.11' from '/lustre/archive/d0.sanity-hsm/d11/f.sanity-hsm.11' c13: lhsmtool_posix[5372]: imported '/lustre/scratch/d0.sanity-hsm/d11/f.sanity-hsm.11' from '/lustre/archive/0001/0000/0402/0000/0002/0000/0x200000402:0x1:0x0'=='/lustre/archive/d0.sanity-hsm/d11/f.sanity-hsm.11' c13: lhsmtool_posix[5372]: process finished, errs: 0 major, 0 minor, rc=0 (Success) Verifying released state: stat: cannot stat `/lustre/archive/d0.sanity-hsm/d11/f.sanity-hsm.11': No such file or directory Verifying imported size 363= sanity-hsm test_11: @@@@@@ FAIL: Incorrect size 363 != Trace dump: = /usr/lib64/lustre/tests/test-framework.sh:4264:error_noexit() = /usr/lib64/lustre/tests/test-framework.sh:4291:error() = /usr/lib64/lustre/tests/sanity-hsm.sh:818:test_11()
From the test_11 code, it's clear that the call to get the size of the file from the archive should be run on an agent:
local ASZ=$(stat -c "%s" $HSM_ARCHIVE/$tdir/$tfile)