您好,登錄后才能下訂單哦!
客戶端相關的操作:
2016-07-27 11:49:02 umount /usr/local/img.happytoo.cn
2016-07-27 11:49:08 /usr/local/mfs/bin/mfsmount /usr/local/img.happytoo.cn -H 10.0.0.79 -o nonempty
/usr/local/mfs/bin/mfsmount /usr/local/img.happytoo.cn -H 10.0.0.79 -o nonempty
mfs查看文件的份數:
[root@V152_sshl_pay ~]# /usr/local/mfs/bin/mfsfileinfo /usr/local/img.happytoo.cn/1407101359362913.jpg
/usr/local/img.happytoo.cn/1407101359362913.jpg:
chunk 0: 00000000000009B9_00000001 / (id:2489 ver:1)
copy 1: 10.0.0.105:9422
copy 2: 10.0.0.109:9422
[root@V152_sshl_pay ~]# /usr/local/mfs/bin/mfsfileinfo /usr/local/img.happytoo.cn/upload/down/happytoo.3.2.19.apk
/usr/local/img.happytoo.cn/upload/down/happytoo.3.2.19.apk:
chunk 0: 00000000004DA06F_00000001 / (id:5087343 ver:1)
copy 1: 10.0.0.105:9422
copy 2: 10.0.0.109:9422
[root@V105_shhl_wei down]# /usr/local/mfs/bin/mfsgetgoal -h /usr/local/img.happytoo.cn/ //獲取文件備份信息
/usr/local/img.happytoo.cn/: 2 //1表示沒有備份,只有一個文件,我們這里是2
# 查看設置的goal數
[root@V152_sshl_pay ~]# /usr/local/mfs/bin/mfsgetgoal /usr/local/img.happytoo.cn/
/usr/local/img.happytoo.cn/: 2
You have new mail in /var/spool/mail/root
[root@V105_shhl_wei down]# /usr/local/mfs/bin/mfsdirinfo /usr/local/img.happytoo.cn/ //查看chunk信息
/usr/local/img.happytoo.cn/:
inodes: 5596103
directories: 446545
files: 5149558
chunks: 5149519
length: 255759933723
size: 478456327168
realsize: 956912654336
# /usr/local/mfs/bin/mfssetgoal -r 2 /mnt/data/ //等段時間之后生效,這樣修改之后,文件就實現冗余功能了 -r 遞歸
[root@V152_sshl_pay ~]# /usr/local/mfs/bin/mfscheckfile /usr/local/img.happytoo.cn/upload/down/happytoo.3.2.19.apk mfscheckfile 用來檢查指定文件以多少副本來存儲
/usr/local/img.happytoo.cn/upload/down/happytoo.3.2.19.apk:
chunks with 2 copies: 1
mfs 故障模擬維護:
http://www.xuebuyuan.com/1559864.html
在web見面info選項卡中可以看出,這個矩陣橫坐標表示現在已經存在磁盤上的副本數,縱坐標表示你設置的副本數
http://www.bubuko.com/infodetail-1899169.html mfs如何遷移數據之替換存儲節點
MFS近期測試遇到故障的總結 http://www.xuebuyuan.com/1559864.html
http://www.bubuko.com/infodetail-1899169.html 遷移chunkserver 配置
http://www.bubuko.com/infodetail-1899169.html
http://www.cnblogs.com/liaojiafa/p/6069872.html
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。