Details
-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
Lustre 2.10.6
-
None
-
lustre-b2_10 2.10.6-RC2 (build #149) ldiskfs DNE
-
3
-
9223372036854775807
Description
The file is lost after migrate a sub dir under a dir with default stripe, here are the steps
2 MDS with 1 MDT on each, 1 OST, 1 client
[root@trevis-60vm4 ~]# cd /mnt/lustre/ [root@trevis-60vm4 lustre]# mkdir test-0 [root@trevis-60vm4 lustre]# lctl dl 0 UP mgc MGC10.9.6.158@tcp 3637a725-753d-86b4-1ebf-fb1bdf78fb28 4 1 UP lov lustre-clilov-ffff978f79f97000 a48ec6c3-f700-afb4-00c3-9288ece40f26 3 2 UP lmv lustre-clilmv-ffff978f79f97000 a48ec6c3-f700-afb4-00c3-9288ece40f26 3 3 UP mdc lustre-MDT0000-mdc-ffff978f79f97000 a48ec6c3-f700-afb4-00c3-9288ece40f26 4 4 UP mdc lustre-MDT0001-mdc-ffff978f79f97000 a48ec6c3-f700-afb4-00c3-9288ece40f26 4 5 UP osc lustre-OST0000-osc-ffff978f79f97000 a48ec6c3-f700-afb4-00c3-9288ece40f26 4 [root@trevis-60vm4 lustre]# mkdir test-0/test-1 [root@trevis-60vm4 lustre]# lfs setdirstripe -D -c 2 test-0/ [root@trevis-60vm4 lustre]# touch test-0/test-1/foo [root@trevis-60vm4 lustre]# echo aaa > test-0/test-1/foo [root@trevis-60vm4 lustre]# cat test-0/test-1/foo aaa [root@trevis-60vm4 lustre]# lfs migrate -m 1 test-0/test-1 [root@trevis-60vm4 lustre]# ls test-0/test-1/ [root@trevis-60vm4 lustre]#
I also tried on master branch, it doesn't have the problem