`

mogilefs

 
阅读更多
1. mogilefs-utils中的工具
mogtool --trackers=127.0.0.1:7001 --domain=myserver.com inject /tmp/demo.doc demo_doc
上传/tmp/demo.doc文件到mogilefs中,以demo_doc为key
mogtool --trackers=127.0.0.1:7001 --domain=myserver.com extract demo_doc /tmp/demo_2.doc
取出文件,从mogilefs中,以demo_doc为key

2. mogilefs重要特性
Re-Replicating Files
If a drive dies, mogilefs will attempt to avoid the device, but it will not automatically re-replicate files which were on the device. You must manually mark it as 'dead' via mogadm. As soon as you do so, mogilefs will start to remove files that were on the device and attempt to re-replicate them.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics