[Gluster-users] File deletion issue
vikas at gluster.com
Fri May 29 10:02:54 UTC 2009
----- "Paras Fadte" <plfgoa at gmail.com> wrote:
> Thanks , any work around for this ?
Although a file that's not on the first subvolume is not visible when you do
'ls', if you try to access the file (stat, cat, ... any access) it will be
self-healed and created on the first subvolume. You can use this to implement
a work-around of sorts. If you suspect that there are files that present
on the second volume but not the first, you can do:
subvol2 # find /path/to/export/dir > files.txt
client # cd /mnt/point
client # cat files.txt | xargs stat
This will cause all the files that are missing to be created.
Engineer - Z Research
More information about the Gluster-users