[Bugs] [Bug 1760399] WORMed files couldn't be migrated during rebalancing

bugzilla at redhat.com bugzilla at redhat.com
Wed Oct 16 09:19:23 UTC 2019


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



--- Comment #8 from david.spisla at iternity.com ---
Hello Mohit,

after creating the files they should be set Read-Only

Reproducer Steps:
 1) gluster v create test1 replica 3 10.74.251.224:/dist1/b{0..2} force
 2) gluster v set test1 features.worm-file-level on
 3) Mount the volume /mnt 
 4) Write the data 
    time for (( i=0 ; i<=10 ; i++ ));     do        dd if=/dev/urandom
of=/mnt/file$i bs=1M count=100;        mkdir -p
/mnt/dir$i/dir1/dir2/dir3/dir4/dir5/;     done
 5) for i in {0..10}; do chmod 444 file$i; done # Set files RO
 6) Run add-brick
    gluster v add-brick test1 10.74.251.224:/dist2/b{0..2}
 7) Start rebalance 
    gluster v rebalance test1 start
    5 files are successfully transferred on dist2/b{0..2}

Regards
David Spisla

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


More information about the Bugs mailing list