From: <ta...@us...> - 2011-11-11 06:51:36
|
Revision: 5539 http://gfarm.svn.sourceforge.net/gfarm/?rev=5539&view=rev Author: tatebe Date: 2011-11-11 06:51:29 +0000 (Fri, 11 Nov 2011) Log Message: ----------- describe gfarm.ncopy in the example section Modified Paths: -------------- gfarm_v2/trunk/SETUP.en gfarm_v2/trunk/SETUP.ja Modified: gfarm_v2/trunk/SETUP.en =================================================================== --- gfarm_v2/trunk/SETUP.en 2011-11-11 06:47:16 UTC (rev 5538) +++ gfarm_v2/trunk/SETUP.en 2011-11-11 06:51:29 UTC (rev 5539) @@ -506,3 +506,17 @@ In this case, '.bashrc' has two copies; one is stored on linux-1.example.com and the other is stored on linux-2.example.com. + +o Automatic file replica creation + +The extended attribute gfarm.ncopy is used to create file replica +automatically. If you would like to create two file replicas for all +newly created files, specify two by the extended attribute gfarm.ncopy +of / (the root directory) as follows, + + $ echo -n 2 | gfxattr -s / gfarm.ncopy + +Note that file replicas are not always created when there are not +enough number of available file system nodes, or when the Gfarm file +system is too busy. To ensure to create the specified number of file +replicas, use 'gfrep' command also. Modified: gfarm_v2/trunk/SETUP.ja =================================================================== --- gfarm_v2/trunk/SETUP.ja 2011-11-11 06:47:16 UTC (rev 5538) +++ gfarm_v2/trunk/SETUP.ja 2011-11-11 06:51:29 UTC (rev 5539) @@ -523,3 +523,17 @@ linux-1.example.com linux-2.example.com \xA4\xB3\xA4ξ\xEC\xB9硤linux-1 \xA4\xC8 linux-2 \xA4ˡ\xA4\xA5ե\xA1\xA5\xA4\xA5뤬ʣ\xC0\xBD\xA4\xB5\xA4\xEC\xA4Ƴ\xCAǼ\xA4\xB5\xA4\xEC\xA4Ƥ\xA4\xA4ޤ\xB9\xA1\xA5 + +\xA2\xA6 \xA5ե\xA1\xA5\xA4\xA5\xEB\xA4μ\xABưʣ\xC0\xBD + +\xA5ǥ\xA3\xA5쥯\xA5ȥ\xEA\xA4γ\xC8ĥ°\xC0\xAD gfarm.ncopy \xA4˥ե\xA1\xA5\x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