Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.5.0, Lustre 2.7.0, Lustre 2.8.0
-
3
-
9223372036854775807
Description
From the manual "Setting the striping specification on the root directory determines the striping for all new files created in the file system unless an overriding striping specification takes precedence (such as a striping layout specified by the application, or set using lfs setstripe, or specified for the parent directory)." In a DNE setup, setting the default striping on the root directory only affects files created on MDT 0. See ll_dir_setstripe():
... buf = param; /* Get fsname and assume devname to be -MDT0000. */ ll_get_fsname(inode->i_sb, buf, MTI_NAME_MAXLEN); strcat(buf, "-MDT0000.lov"); buf += strlen(buf); /* Set root stripesize */ sprintf(buf, ".stripesize=%u", lump ? le32_to_cpu(lump->lmm_stripe_size) : 0); rc = ll_send_mgc_param(mgc->u.cli.cl_mgc_mgsexp, param); if (rc) GOTO(end, rc); ...
Attachments
Issue Links
- has to be done before
-
LU-8159 cache xattr in ldiskfs OSD
- Resolved
- is duplicated by
-
LU-8264 lfs setstripe without -p pool_name doesn't inherit pool from parent/ROOT directory
- Resolved
- is related to
-
LU-8092 racy striping & default striping cache in LOD
- Open
-
LU-7661 MGS_SET_INFO handler is too permissive
- Resolved
-
LU-8454 non-root user is able to change stripe size for mount point
- Resolved
-
LU-5676 DNE 2: cache LMV EA in LOD
- Resolved
-
LU-7813 default pool not inherited when specifying any layout parameter
- Resolved
-
LU-8653 broken inheritance of default striping
- Resolved
-
LU-7335 store default filesystem layout directly on root inode
- Resolved