Bug 1128805 - Rebalance :- after rebalance completed one symlink file was converted into regular file
Summary: Rebalance :- after rebalance completed one symlink file was converted into re...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: distribute
Version: 2.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Bug Updates Notification Mailing List
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1286103 1286106
TreeView+ depends on / blocked
 
Reported: 2014-08-11 15:05 UTC by Rachana Patel
Modified: 2015-11-27 10:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1286103 1286106 (view as bug list)
Environment:
Last Closed: 2015-11-27 10:50:18 UTC


Attachments (Terms of Use)

Description Rachana Patel 2014-08-11 15:05:43 UTC
Description of problem:
=======================
after rebalance completed one symlink file was converted into regular file

before:-
ls -l /mnt/mio/fuse/in/anotherin/linux-2.6.32.63/arch/microblaze/boot/dts/system.dts
lrwxrwxrwx 1 root root 33 Aug XX XX:XX /mnt/mio/fuse/in/anotherin/linux-2.6.32.63/arch/microblaze/boot/dts/system.dts -> ../../platform/generic/system.dts


after:-
[root@localhost ~]# ls -l /mnt/mio/fuse/in/linux-2.6.32.63/arch/microblaze/boot/dts/system.dts
---------- 1 root root 0 Aug 11 03:39 /mnt/mio/fuse/in/linux-2.6.32.63/arch/microblaze/boot/dts/system.dts



Version-Release number of selected component (if applicable):
=============================================================
3.4.0.59rhs-1.2.toyota.hotfix.el6rhs.x86_64


How reproducible:
=================
intermittent



Steps to Reproduce:
===================
1. create and mount Dist-rep(18x2) volume 
2. create files and Directories on it.
3. add 12 new bricks in that volume.
4. start rebalance with start force option
5. keep sending lookup on all files and Directory from another mount point
6. once rebalance is completed check all files and Directories checksum

before:-

Entry counts
Regular files   : 30491
Directories     : 1878
Symbolic links  : 1
Other           : 0
Total           : 32370

Metadata checksums
Regular files   : 487775
Directories     : 3e9
Symbolic links  : 5a815a
Other           : 3e9

Checksums
Regular files   : 741ff19f64098c1e812bfe7dc93dee6
Directories     : 2d03335129085b3f
Symbolic links  : c140f5856584720
Other           : 0
Total           : 5d1a7271c7ca4ee7

After:-



[root@localhost ~]# ./arequal-checksum /mnt/mio/fuse/in/linux-2.6.32.63/

Entry counts
Regular files   : 30492
Directories     : 1878
Symbolic links  : 0
Other           : 0
Total           : 32370

Metadata checksums
Regular files   : f775
Directories     : 3e9
Symbolic links  : 3e9
Other           : 3e9

Checksums
Regular files   : a0027d46eb093e1ae192b67f306b9c98
Directories     : 2d03335129085b3f
Symbolic links  : 0
Other           : 0
Total           : 6c93f868f26af9bd
	



Actual results:
===============
symlink is converted into regular file after migration



Additional info:
================

Comment 3 Susant Kumar Palai 2015-11-27 10:50:18 UTC
Cloning to 3.1. To be fixed in future release.


Note You need to log in before you can comment on or make changes to this bug.