[Bugs] [Bug 1596904] remove-brick is failing to remove hidden dot files

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 16 09:41:59 UTC 2018


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

Nithya Balachandran <nbalacha at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nbalacha at redhat.com
              Flags|                            |needinfo?(chris.king at conoak
                   |                            |.com)



--- Comment #1 from Nithya Balachandran <nbalacha at redhat.com> ---
(In reply to Chris King from comment #0)
> 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


Are all the files on the removed bricks zero sized 'T' files? If yes, these are
internal files and can be ignored.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list