[LU-6488] sanity.sh test_250 calls getstripe on file before creating it Created: 23/Apr/15  Updated: 15/Oct/21  Resolved: 15/Oct/21

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.8.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: WC Triage
Resolution: Not a Bug Votes: 0
Labels: easy

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   
test_250() {
        [ "$(facet_fstype ost$(($($GETSTRIPE -i $DIR/$tfile) + 1)))" = "zfs" ] \
         && skip "no 16TB file size limit on ZFS" && return

        $SETSTRIPE -c 1 $DIR/$tfile
== sanity test 250: Write above 16T limit == 10:39:22 (1429803562)
error opening /mnt/lustre/f250.sanity: No such file or directory (2)
llapi_semantic_traverse: Failed to open '/mnt/lustre/f250.sanity': No such file or directory (2)
error: getstripe failed for /mnt/lustre/f250.sanity.


 Comments   
Comment by John Hammond [ 23/Apr/15 ]

Since we don't mix backing FS types in test this doesn't seem to cause any issues.

Comment by Andreas Dilger [ 24/Apr/15 ]

As a clarification, the check for ZFS can just be removed, no harm in testing a large file on ZFS also, even though it is less likely to trigger a specific problem.

Comment by Gerrit Updater [ 15/Apr/16 ]

Parinay Kondekar (parinay.kondekar@seagate.com) uploaded a new patch: http://review.whamcloud.com/19600
Subject: LU-6488 tests: remove the check for ZFS to test large file
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 388154f66b3cabface0d342ecdfefd7859d1b6ef

Generated at Sat Feb 10 02:00:40 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.