Description
When migrate directory MDT-object_A's metadata from MDT_x to MDT_y, all its children name entries needs to be moved to MDT_y. If some name entry originally referenced a remote MDT-object_B which was linked under "/REMOTE_PARENT_DIR" with a dummy name entry on MDT_y, but after the migration, the MDT-object_B and its new name entry resides on the same MDT_y, then the dummy entry for the MDT-object_B should be removed from "REMOTE_PARENT_DIR/" iff there are no links remaining on that MDT.
Attachments
Issue Links
- is related to
-
LU-15383 DNE directories not connected to REMOTE_PARENT_DIR
-
- Open
-
-
LU-5985 LFSCK 5: remove dummy name entry from /REMOTE_PARENT_DIR if the MDT-object and its name entry reside on the same MDT
-
- Resolved
-
-
LU-15388 Wrong dotdot FID parameter for osd_add_dot_dotdot()
-
- Resolved
-
-
LU-10329 DNE3: REMOTE_PARENT_DIR scalability
-
- Open
-
-
LU-14168 e2fsck should avoid moving files into lost+found
-
- Open
-
-
LU-4684 DNE3: allow migrating DNE striped directory
-
- Resolved
-
Activity
Link | New: This issue is related to DDN-1999 [ DDN-1999 ] |
Description | Original: When migrate directory MDT-object_A's metadata from MDT_x to MDT_y, all its children name entries needs to be moved to MDT_y. If some name entry originally referenced a remote MDT-object_B which was linked under "/REMOTE_PARENT_DIR" with a dummy name entry on MDT_y, but after the migration, the MDT-object_B and its new name entry resides on the same MDT_y, then the dummy entry for the MDT-object_B should be removed from "/REMOTE_PARENT_DIR". | New: When migrate directory MDT-object_A's metadata from MDT_x to MDT_y, all its children name entries needs to be moved to MDT_y. If some name entry originally referenced a remote MDT-object_B which was linked under "/REMOTE_PARENT_DIR" with a dummy name entry on MDT_y, but after the migration, the MDT-object_B and its new name entry resides on the same MDT_y, then the dummy entry for the MDT-object_B should be removed from "{{REMOTE_PARENT_DIR/}}" *iff* there are no links remaining on that MDT. |
I've also seen a few cases where e2fsck complains about hard-linked directories in REMOTE_PARENT_DIR:
It looks like e2fsck fixes this by removing the entry from REMOTE_PARENT_DIR, but LFSCK shouldn't get into this situation in the first place.