Can mogilefs replicate (move) file to new host?

feihu feihu.list at gmail.com
Thu Mar 22 16:14:05 UTC 2007


I hope u can understand me. My english is poor. 

I had  one host and five device. my class mindevcount=2. Select from DB,
I fount every file had been two devices. example:

mysql> select * from file_on where fid=128238;
+--------+-------+
| fid    | devid |
+--------+-------+
| 128238 |     3 | 
| 128238 |     4 | 
+--------+-------+

now, I add one new host and fieve device. and make them all alive.
can mogilefs auto replicate (move) file to the new host and device?
I found NOT.

$ mogadm device list
fs_1_1 [1]: alive
                   used(G) free(G) total(G)
  dev1: dead       0.328   8.840   9.168     ==>> this system disk.So I mark it dead. none file be on it
  dev2: alive      3.363   290.047 293.410
  dev3: alive      3.341   290.069 293.410
  dev4: alive      3.329   290.081 293.410
  dev5: alive      3.361   290.049 293.410
  dev6: alive      3.354   290.057 293.410

fs_1_2 [2]: alive
                   used(G) free(G) total(G)
 dev10: alive      0.187   293.224 293.410
 dev11: alive      0.187   293.224 293.410
 dev12: alive      0.187   293.224 293.410
  dev8: alive      0.187   293.224 293.410
  dev9: alive      0.187   293.224 293.410 
-- 
feihu <feihu.list at gmail.com>



More information about the mogilefs mailing list