[LU-1952] sanity.sh test_51b and test_51bb fail for small/full MDT Created: 16/Sep/12  Updated: 24/Jun/13  Resolved: 24/Jun/13

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.4.0
Fix Version/s: Lustre 2.4.0

Type: Bug Priority: Minor
Reporter: Andreas Dilger Assignee: Andreas Dilger
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 4406

 Description   

Running sanity.sh test_51b() fails when the MDT filesystem is 256MB, because the filesystem can create fewer than 64k directories consume at 4kB each, even if there are enough inodes. The following test_51bb() fails if NUMTEST is reduced in test_51b(), because this is done inside the subshell, and does not get propagated to the next test.

Add an additional check that there are enough free blocks in the filesystem for creating subdirectories, or reduce the subdirectory count appropriately. Also, write the actual number of subdirectories created into a temporary file in test_51b() and then read it back in test_51bb() so that the test completes correctly.



 Comments   
Comment by Andreas Dilger [ 16/Sep/12 ]

http://review.whamcloud.com/4005

Comment by Jodi Levi (Inactive) [ 18/Apr/13 ]

Now that Change, 4005 has landed to master, can this ticket be closed?

Generated at Sat Feb 10 01:21:07 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.