From: Michal B. <mic...@ge...> - 2011-02-28 12:01:39
|
Hi! You can just use the “mfsfileinfo” command as you written. If you need only the addresses you can somehow parse the output of this function. Kind regards Michał Borychowski MooseFS Support Manager _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Gemius S.A. ul. Wołoska 7, 02-672 Warszawa Budynek MARS, klatka D Tel.: +4822 874-41-00 Fax : +4822 874-41-01 From: Yuri [mailto:yur...@gm...] Sent: Thursday, February 10, 2011 6:52 AM To: moo...@li... Subject: [Moosefs-users] How can i get storage map? Hi all: How can I get the chunk server where the copied files put in ? For example: G1# mfsfileinfo 100M 100M: chunk 0: 0000000000000025_00000001 / (id:37 ver:1) copy 1: 1.1.1.91:9422 copy 2: 1.1.1.93:9422 copy 3: 1.1.1.94:9422 I need to get the result:91,93,94.Can I get it from Master Server directly? It's better if my SQL database also gets this map table.Is there any way to achieve it? Yuri,BG4HKQ,2011-02-10 |