[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gluster-bugs
Subject:    [Bugs] [Bug 1596904] New: remove-brick is failing to remove hidden dot files
From:       bugzilla () redhat ! com
Date:       2018-06-30 3:50:33
Message-ID: bug-1596904-371520 () bugzilla ! redhat ! com
[Download RAW message or body]

https://bugzilla.redhat.com/show_bug.cgi?id=1596904

            Bug ID: 1596904
           Summary: remove-brick is failing to remove hidden dot files
           Product: GlusterFS
           Version: mainline
         Component: object-storage
          Severity: low
          Assignee: bugs@gluster.org
          Reporter: chris.king@conoak.com
                CC: bugs@gluster.org



Description of problem:

after completing "remove-brick", the removed drive is still full of the hidden
"dot files" (eg .htaccess). However, the dot files where still relocated to new
bricks on the volume (not lost).


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

glusterfs 4.0.2


How reproducible:

I have only run this once, but both bricks still contained the all of the
hidden dot files.


Steps to Reproduce:
1. ensure that you have hidden files on volume
2. gluster volume remove-brick conoak-photos
liberator:/mnt/disk1/conoak-photos-data liberator:/mnt/disk3/conoak-photos-data
start
3. gluster volume remove-brick conoak-photos
liberator:/mnt/disk1/conoak-photos-data liberator:/mnt/disk3/conoak-photos-data
status
4. wait until status is "completed"
5. gluster volume remove-brick conoak-photos
liberator:/mnt/disk1/conoak-photos-data liberator:/mnt/disk3/conoak-photos-data
commit
6. find /mnt/disk1 -type f | grep -v "/[.]glusterfs/"
7. find /mnt/disk3 -type f | grep -v "/[.]glusterfs/"


Actual results:

hundreds of files still be found on the removed brick
eg
/mnt/disk1/conoak-photos-data/Photos/2003/2003-05-02/downsize/.picasa.ini
/mnt/disk1/conoak-photos-data/Photos/2003/2003-05-02/.picasa.ini
/mnt/disk1/conoak-photos-data/Photos/2003/2003-05-25/.picasa.ini
/mnt/disk1/conoak-photos-data/Photos/2003/2003-05-30/.picasa.ini


Expected results:

Expected no files on the removed brick.


Additional info:

one of the bricks has zero sized files and had the "T" attribute, the other
brick and volume where original size;

ls -la /mnt/disk1/conoak-photos-data/Photos/2003/2003-05-02/.picasa.ini
---------T 2 chris nasusers 0 Mar  7 07:10
/mnt/disk1/conoak-photos-data/Photos/2003/2003-05-02/.picasa.ini

ls -la /mnt/disk5/conoak-photos-data/Photos/2003/2003-05-02/.picasa.ini
-rw-rw-r-- 2 chris nasusers 323 Jan 24  2013
/mnt/disk5/conoak-photos-data/Photos/2003/2003-05-02/.picasa.ini

ls -la /mnt/gluster-conoak-photos/Photos/2003/2003-05-02/.picasa.ini
-rw-rw-r-- 1 chris nasusers 323 Jan 24  2013
/mnt/gluster-conoak-photos/Photos/2003/2003-05-02/.picasa.ini

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
Bugs mailing list
Bugs@gluster.org
http://lists.gluster.org/mailman/listinfo/bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic