rm -rf $TGT2/$tdir $TGT2/d*.lustre_rsync-test 2> /dev/null
rm -rf ${DIR}/$tdir $DIR/d*.lustre_rsync-test ${DIR}/tgt 2> /dev/null
rm -f $LREPL_LOG
- mkdir -p ${DIR}/$tdir || error "Failed to create target: " $DIR/$tdir
+
+ mkdir_on_mdt0 $DIR/$tdir || error "Failed to create target: " $DIR/$tdir
mkdir -p ${TGT}/$tdir || error "Failed to create target: " $TGT/$tdir
mkdir -p ${TGT2}/$tdir || error "Failed to create target: " $TGT2/$tdir
}
init_changelog
# Directory create
- mkdir $DIR/root-dir
+ mkdir_on_mdt0 $DIR/root-dir
# File create
touch $DIR/root-file
# File and directory delete
touch $DIR/root-file4
- mkdir $DIR/root-dir1
+ mkdir_on_mdt0 $DIR/root-dir1
rm $DIR/root-file4
rm -rf $DIR/root-dir1