Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-16788

sanity.sh should remove temporary big files to fit default OSTSIZE

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 9223372036854775807

    Description

      number of subtests in sanity forget to cleanup own temporary files and at some point sanity begins to fail due to lack of free space. like in this example:

      mdd.lustre-MDT0000.changelog_mask=+hsm
      mdd.lustre-MDT0001.changelog_mask=+hsm
      Registered 2 changelog users: 'cl22-user1 cl2-user1'
      open(/mnt/lustre/d160t.sanity/u1_1582) error: No space left on device
      total: 1582 open/close in 4.34 seconds: 364.71 ops/second
       sanity test_160t: @@@@@@ FAIL: createmany for user1 failed 
        Trace dump:
        = ./../tests/test-framework.sh:6579:error()
        = sanity.sh:17869:test_160t()
        = ./../tests/test-framework.sh:6919:run_one()
        = ./../tests/test-framework.sh:6968:run_one_logged()
        = ./../tests/test-framework.sh:6805:run_test()
        = sanity.sh:17926:main()
      Dumping lctl log to /tmp/ltest-logs/sanity.test_160t.*.1682938235.log
      

      some of files are:

      20M	/mnt/lustre/d56wa.sanity
      4.1M	/mnt/lustre/d56xd.sanity
      4.1M	/mnt/lustre/d56xe.sanity
      4.1M	/mnt/lustre/d56xf.sanity
      11M	/mnt/lustre/d56xj.sanity
      2.0M	/mnt/lustre/f127a.sanity
      2.0M	/mnt/lustre/f130b.sanity
      1.0M	/mnt/lustre/f130c.sanity
      33M	/mnt/lustre/f130e.sanity
      3.6M	/mnt/lustre/f64e.sanity
      1.6M	/mnt/lustre/f64f.sanity
      10M	/mnt/lustre/f64h.sanity
      72M	/mnt/lustre/f64i.sanity
      4.0M	/mnt/lustre/f69.sanity.2
      

      Attachments

        Activity

          People

            bzzz Alex Zhuravlev
            bzzz Alex Zhuravlev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: