[lustre-discuss] DNE2 settings are not propagated?

Andreas Dilger adilger at whamcloud.com
Fri Mar 20 12:32:16 PDT 2020


On Mar 20, 2020, at 13:02, Mannthey, Keith <keith.mannthey at intel.com<mailto:keith.mannthey at intel.com>> wrote:

I am doing some work with Lustre 2.13 (Downloaded from Whamcloud) and DNE 2 there are 6 MDTs.


"
[root at colts52-clx01 for-test]# lfs getdirstripe TEST
lmv_stripe_count: 6 lmv_stripe_offset: 1 lmv_hash_type: fnv_1a_64
mdtidx           FID[seq:oid:ver]
    1           [0x2c0000400:0x5:0x0]
    5           [0x300000403:0x5:0x0]
    3           [0x340000403:0x5:0x0]
    0           [0x200000403:0x5:0x0]
    4           [0x240000402:0x5:0x0]
    2           [0x280000401:0x5:0x0]
[root at colts52-clx01 for-test]# mkdir TEST/now
[root at colts52-clx01 for-test]# lfs getdirstripe TEST/now/
lmv_stripe_count: 0 lmv_stripe_offset: 2 lmv_hash_type: none
"

Directory stripping settings are not being propagated.  Is this expected?

Yes, this working as designed.  It isn't necessarily good for all directories to be striped, as that adds overhead without necessary improving performance.

The current recommendation is that DNE should be used for e.g. a top-level directory to distribute files and subdirectories across MDTs, or in the case of large directories with millions of files.

Cheers, Andreas
--
Andreas Dilger
Principal Lustre Architect
Whamcloud






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20200320/1a2f695b/attachment.html>


More information about the lustre-discuss mailing list