Bug 1221032 - Directories are missing post tier attach
Summary: Directories are missing post tier attach
Keywords:
Status: CLOSED DUPLICATE of bug 1214222
Alias: None
Product: GlusterFS
Classification: Community
Component: tiering
Version: mainline
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Dan Lambright
QA Contact: bugs@gluster.org
URL:
Whiteboard: TIERING
Depends On:
Blocks: 1260923
TreeView+ depends on / blocked
 
Reported: 2015-05-13 07:44 UTC by Triveni Rao
Modified: 2016-05-16 04:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-14 06:21:18 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Triveni Rao 2015-05-13 07:44:09 UTC
Description of problem:

Directories are missing post tier attach and rebalance status shows failed

Version-Release number of selected component (if applicable):

root@rhsqa14-vm3 ~]# glusterfs --version
glusterfs 3.7.0beta2 built on May 11 2015 01:27:45
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2013 Red Hat, Inc. <http://www.redhat.com/>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.
You have new mail in /var/spool/mail/root
[root@rhsqa14-vm3 ~]# 
[root@rhsqa14-vm3 ~]# 
[root@rhsqa14-vm3 ~]# rpm -qa | grep gluster
glusterfs-libs-3.7.0beta2-0.0.el6.x86_64
glusterfs-fuse-3.7.0beta2-0.0.el6.x86_64
glusterfs-rdma-3.7.0beta2-0.0.el6.x86_64
glusterfs-3.7.0beta2-0.0.el6.x86_64
glusterfs-api-3.7.0beta2-0.0.el6.x86_64
glusterfs-cli-3.7.0beta2-0.0.el6.x86_64
glusterfs-geo-replication-3.7.0beta2-0.0.el6.x86_64
glusterfs-extra-xlators-3.7.0beta2-0.0.el6.x86_64
glusterfs-client-xlators-3.7.0beta2-0.0.el6.x86_64
glusterfs-server-3.7.0beta2-0.0.el6.x86_64
[root@rhsqa14-vm3 ~]# 


How reproducible:
easily

Steps to Reproduce:
1.create dist-rep volume.
2.fuse mount, copy some dirs 
3.attach tier.
4. check mount point , dirs not seen.

Actual results:

dirs are missing

Expected results:

should be present.

Additional info:


[root@rhsqa14-vm3 ~]# gluster v info V1
 
Volume Name: V1
Type: Distributed-Replicate
Volume ID: 99f99d6d-b24d-4cc8-96e0-25444dbf10fd
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: 10.70.46.243:/rhs/brick1/t2
Brick2: 10.70.46.240:/rhs/brick1/t2
Brick3: 10.70.46.243:/rhs/brick2/t2
Brick4: 10.70.46.240:/rhs/brick2/t2
Options Reconfigured:
features.quota-deem-statfs: on
features.inode-quota: on
features.quota: on
cluster.min-free-disk: 10
performance.readdir-ahead: on
[root@rhsqa14-vm3 ~]#

root@rhsqa14-vm3 ~]# gluster v attach-tier V1 replica 2 10.70.46.243:/rhs/brick3/t2 10.70.46.240:/rhs/brick3/t2
Attach tier is recommended only for testing purposes in this release. Do you want to continue? (y/n) y
volume attach-tier: success
volume rebalance: V1: success: Rebalance on V1 has been started successfully. Use rebalance status command to check status of the rebalance process.
ID: ea8680d2-a768-4645-b39a-0f2eae2a04ec

You have new mail in /var/spool/mail/root
[root@rhsqa14-vm3 ~]# gluster v rebalance V1 status 
                                    Node Rebalanced-files          size       scanned      failures       skipped               status   run time in secs
                               ---------      -----------   -----------   -----------   -----------   -----------         ------------     --------------
                               localhost                0        0Bytes             0             0             0               failed               0.00
volume rebalance: V1: success: 
[root@rhsqa14-vm3 ~]# 


[root@rhsqa14-vm5 linux-4.0]# ls -la
total 33
drwxr-xr-x.  4 root root    80 May 13  2015 .
drwxr-xr-x.  5 root root   110 May 13  2015 ..
-rw-r--r--.  1 root root   252 May 13  2015 Kconfig
drwxr-xr-x.  9 root root 16384 May 13  2015 security
drwxr-xr-x. 20 root root 16384 May 13  2015 sound
[root@rhsqa14-vm5 linux-4.0]# cd ..
[root@rhsqa14-vm5 mnt1]# ls -la
total 4
drwxr-xr-x.  4 root root  149 May 13  2015 .
dr-xr-xr-x. 29 root root 4096 Apr 24 06:51 ..
drwxr-xr-x.  3 root root   72 May 13  2015 .trashcan
[root@rhsqa14-vm5 mnt1]#

Comment 1 Mohammed Rafi KC 2015-05-14 06:21:18 UTC
This is a duplicate of #1214222, Hence closing the bug. Please track the bug #1214222 for future update.

*** This bug has been marked as a duplicate of bug 1214222 ***


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