From ed47f2c7b46f7b8847e680e5f6e9919b82977fe2 Mon Sep 17 00:00:00 2001 From: Linda Bebernes Date: Thu, 6 Jun 2013 14:08:17 -0700 Subject: [PATCH] LUDOC-74 bug: Fixed dd option. Added conv=notrunc Signed-off-by: Linda Bebernes Change-Id: I0b3a802b41e16dbca167b1e4b5584c333f40d7e5 Reviewed-on: http://review.whamcloud.com/6581 Tested-by: Hudson Reviewed-by: Andreas Dilger Reviewed-by: Cliff White Reviewed-by: Richard Henwood --- LustreMaintenance.xml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/LustreMaintenance.xml b/LustreMaintenance.xml index 7d1c36e..3b2a844 100644 --- a/LustreMaintenance.xml +++ b/LustreMaintenance.xml @@ -489,13 +489,16 @@ oss# mount -t ldiskfs /dev/new_ost_dev / Recreate the OST configuration files, if unavailable. - Follow the procedure in to recreate the LAST_ID file for this OST index. The last_rcvd file will be recreated when the OST is first mounted using the default parameters, which are normally correct for all file systems. - -The CONFIGS/mountdata file is created by mkfs.lustre at format time, but has flags set that request it to register itself with the MGS. It is possible to copy these flags from another working OST (which should be the same): - -oss1# debugfs -c -R "dump CONFIGS/mountdata /tmp/ldd" /dev/other_osdev + Follow the procedure in to recreate the + LAST_ID file for this OST index. The last_rcvd file will be recreated + when the OST is first mounted using the default parameters, which are normally correct + for all file systems. The CONFIGS/mountdata file is created by + mkfs.lustre at format time, but has flags set that request it to + register itself with the MGS. It is possible to copy these flags from another working + OST (which should be the same): + oss1# debugfs -c -R "dump CONFIGS/mountdata /tmp/ldd" /dev/other_osdev oss1# scp /tmp/ldd oss0:/tmp/ldd -oss0# dd if=/tmp/ldd of=/mnt/ost/CONFIGS/mountdata bs=4 count=1 seek=5 skip=5 +oss0# dd if=/tmp/ldd of=/mnt/ost/CONFIGS/mountdata bs=4 count=1 seek=5 skip=5 conv=notrunc -- 1.8.3.1