Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
3
-
9223372036854775807
Description
lfs migrate -m leaves 1-stripe dir in a two-level "striped" form:
[root@rocky tests]# mkdir /mnt/lustre/migrate-test [root@rocky tests]# ../utils/lfs getdirstripe /mnt/lustre/migrate-test/ lmv_stripe_count: 0 lmv_stripe_offset: 0 lmv_hash_type: none [root@rocky tests]# ../utils/lfs migrate -m 1 /mnt/lustre/migrate-test/ [root@rocky tests]# ../utils/lfs getdirstripe /mnt/lustre/migrate-test/ lmv_stripe_count: 1 lmv_stripe_offset: 1 lmv_hash_type: crush,fixed mdtidx FID[seq:oid:ver] 1 [0x240000400:0x2:0x0] [root@rocky tests]# ../utils/lfs path2fid /mnt/lustre/migrate-test/ [0x240000402:0x1:0x0] [root@rocky tests]# debugfs -R "ls -l /REMOTE_PARENT_DIR/0x240000402:0x1:0x0" /dev/mapper/mds2_flakey debugfs 1.46.2.wc5 (26-Mar-2022) 25047 40755 (2) 0 0 4096 3-May-2024 15:41 . 25001 40755 (18) 0 0 4096 3-May-2024 15:42 .. 25048 40755 (18) 0 0 4096 3-May-2024 15:41 [0x240000400:0x2:0x0]:0 [root@rocky tests]#
the migration process does not end by a conversion the result dir into "plain" ldiskfs dir.
The dir is accessible, it is possible to create and delete files in the dir and remove the dir itself w/o problems.
Attachments
Issue Links
- is related to
-
LU-17575 Require specific enable flag for lfs migrate -m (directory migration)
-
- Open
-