[LU-6166] bugs of lustre_rsync Created: 28/Jan/15  Updated: 20/Feb/15  Resolved: 08/Feb/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.5.3
Fix Version/s: Lustre 2.7.0

Type: Bug Priority: Minor
Reporter: wu libin (Inactive) Assignee: Yang Sheng
Resolution: Fixed Votes: 0
Labels: patch
Environment:

CentOS6.4, X86_64


Severity: 3
Epic: lustre_rsync
Rank (Obsolete): 17259

 Description   

I found some problems of lustre_rsync,
1. Do follow shell scripts:
#!/bin/sh

pushd /mnt/lustre
mkdir racer
mkdir racer/11
mkdir racer/13
mv racer/13 racer/14
mkdir racer/14/14/
mv racer/14 racer/11/

popd

2. use lustre_rsync to sync the files, then will cause difference between source and target directories.

I found it will be orphan node under .lustrerepl



 Comments   
Comment by Gerrit Updater [ 28/Jan/15 ]

Wu Libin (gnlwlb@gmail.com) uploaded a new patch: http://review.whamcloud.com/13546
Subject: LU-6166 utils: fix bug in lr_link
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 217b44bdd2d5850a53f910d869aa604d155ac26d

Comment by wu libin (Inactive) [ 28/Jan/15 ]

I think here is another small bug:
http://review.whamcloud.com/13546

Comment by Peter Jones [ 31/Jan/15 ]

Yang Sheng

Could you please take care of this patch?

Thanks

Peter

Comment by Gerrit Updater [ 08/Feb/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13546/
Subject: LU-6166 utils: fix bug in lr_link
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 20520e9a2667f63a2630b2f1636e3be5e76d8987

Comment by Peter Jones [ 08/Feb/15 ]

Landed for 2.7

Comment by wu libin (Inactive) [ 09/Feb/15 ]

Ah, sorry, maybe my patch is misleading your guys.
I think there are some problems in the lustre_rsync, and my patch just fixed one problem.

This script still will cause another problem, that data are difference between source and target directory:
#!/bin/sh
pushd /mnt/lustre
mkdir racer
mkdir racer/11
mkdir racer/13
mv racer/13 racer/14
mkdir racer/14/14/
mv racer/14 racer/11/
popd

And, i did not find the root cause, anyone can help me?

Comment by wu libin (Inactive) [ 10/Feb/15 ]

OK, create a new issue about this problems: https://jira.hpdd.intel.com/browse/LU-6229

Generated at Sat Feb 10 01:57:50 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.