From 74195c90e5f7ecbc38b36790c057a0288a149bc2 Mon Sep 17 00:00:00 2001 From: Fan Yong Date: Sun, 6 Nov 2016 02:54:39 +0800 Subject: [PATCH] LUDOC-145 lfsck: enable FID-in-dirent before namespace LFSCK If the MDT is upgraded from Lustre software release 1.8, you need to enable FID-in-dirent manually by "tune2fs -O dirdata". Otherwise, the namespace LFSCK (since Lustre-2.4) will not generate FID-in-dirent for the existing files. Signed-off-by: Fan Yong Change-Id: Ie562ce8aa2b336bf3afcdcea8f3ccdf396cb7502 Reviewed-on: https://review.whamcloud.com/26025 Tested-by: Jenkins Reviewed-by: Joseph Gmitter --- UpgradingLustre.xml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/UpgradingLustre.xml b/UpgradingLustre.xml index 8699a0b..646df00 100644 --- a/UpgradingLustre.xml +++ b/UpgradingLustre.xml @@ -340,12 +340,16 @@ conf_param $FSNAME.quota.ost=$QUOTA_TYPE This step is not reversible. Do not complete this step until you are sure you will not be downgrading the Lustre software. - This step only enables FID-in-dirent for newly - created files. If you are upgrading to Lustre software release 2.4, - you can use LFSCK to enable FID-in-dirent for existing files. For - more information about FID-in-dirent and related functionalities in - LFSCK, see . + This step only enables FID-in-dirent for newly + created files. If you are upgrading to Lustre software release 2.4, + you can use namespace LFSCK to enable FID-in-dirent for the existing + files. For the case of upgrading from Lustre software release 1.8, it is + important to note that if you do NOT enable dirdata via + the tune2fs command above, the namespace LFSCK will NOT + generate FID-in-dirent for the existing files. For more information about + FID-in-dirent and related functionalities in LFSCK, see + . Start the Lustre file system by starting the components in the -- 1.8.3.1