File deletion issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- "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.

Vikas 
--
Engineer - Z Research
http://gluster.com/



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux