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

[gfarm-discuss:08750] Re: Auto recovery after add new storage node



Hi Yikuo,

Automatic replica creation feature is currently applied only when
a new file is created.  In your case, 'gfsplck' can help to recover
files on a newly added node.  When you re-add a node, try to execute

% gfsplck /

on the newly added node.  This will register files on the node.
Information about 'gfsplck' is available in item 2.5-2.7 in FAQ
document, although there is no manual page for now.

Also, if you would like to clean up old replica entries when you
remove a file system node, 'gfsck' can help.

% gfsck /

It will delete invalid metadata.  When you remove a file system
node, 'gfsck' will remove replica entries on the node.

Thanks,
Osamu

On Mon, 30 Apr 2007 23:20:29 +0800
"Yikuo Chan" <yikuo.chan@xxxxxxxxx> wrote:

> Hi all :
> 
>  When I test add and remove storage node on gfarm 1.4.1 . I found the files
> will not automatic replication or recovery on new storage node no matter
> it's hostname is same as old one or not , below  is   my scenarios :
> 
>   1.two storage node on gfarm system
>   2.Specify -N 2 option when use gfarm-fuse access gfarm on client node
>   3.remove one of storage node , use gfhost -e and shutdown it
>   4.add new storage to gfarm
>   5.file didn't automatic replication or recovery on new one
> 
>   so Is it possible automatic recovery files to new storage node when we
> replace oreginal storage node ?
> 
> thanks
> 
> Yikuo chan