Which version of Lustre is this? File based backup / restore does not work in 2.x. OI scrub which rebuilds the object index is available from Lustre 2.3 onwards. So file based backup / restore will work from 2.3 onwards.<span></span><span></span><div>
<br></div><div>Regards,</div><div>Kalpak<br>
<br>On Tuesday, June 4, 2013, Ken Hornstein  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I tried to move my MDS from one filesystem on the same machine to another,<br>


using the procedure outlined in the Lustre manuals (I didn't use dd, since<br>
the underlying disks weren't the same size and also I did not think<br>
it was required).<br>
<br>
Specifically, I used rsync to copy the files, and also used getfattr/setfattr<br>
to copy over the extended attributes.  Some brief poking around seemed to<br>
show that the EA information made it into the new filesystem.<br>
<br>
However, when I went to mount the "new" MDS partition, it failed with the<br>
following error:<br>
<br>
May 30 23:36:50 mds-foo kernel: [  186.604083] LustreError: 3082:0:(md_local_object.c:433:llo_local_objects_setup()) creating obj [fld] fid = [0x200000001:0x3:0x0] rc = -116<br>
May 30 23:36:50 mds-foo kernel: [  186.698205] LustreError: 3082:0:(mdt_handler.c:4576:mdt_init0()) Can't init device stack, rc -116<br>
May 30 23:36:50 mds-foo kernel: [  186.797206] LustreError: 3082:0:(obd_config.c:522:class_setup()) setup foo-MDT0000 failed (-116)<br>
May 30 23:36:50 mds-foo kernel: [  186.806140] LustreError: 3082:0:(obd_config.c:1363:class_config_llog_handler()) Err -116 on cfg command:<br>
May 30 23:36:50 mds-foo kernel: [  186.815615] Lustre:    cmd=cf003 0:foo-MDT0000  1:foo-MDT0000_UUID  2:0  3:foo-MDT0000-mdtlov  4:f<br>
<br>
There were more errors, bu they all pretty much were cascading from these<br>
errors.  I switched back to the original filesystem and everything worked.<br>
<br>
I am willing to believe I did something wrong, but I'm not sure what; I<br>
did everything the directions said to do.  -116 is ESTALE, and I found<br>
in the code where I believe that error was returned, but it was a little<br>
unclear to me what the root cause was.  Can anyone offer any advice?<br>
<br>
--Ken<br>
_______________________________________________<br>
HPDD-discuss mailing list<br>
<a>HPDD-discuss@lists.01.org</a><br>
<a href="https://lists.01.org/mailman/listinfo/hpdd-discuss" target="_blank">https://lists.01.org/mailman/listinfo/hpdd-discuss</a><br>
</blockquote></div>
<br><br>-- <br>CEO  |  Clogeny Technologies | <a href="http://www.clogeny.com" target="_blank">http://www.clogeny.com</a> <br>US Direct: +1 408-556-9645  <b>|</b>  (O) +91 20 661 43 482  <b>|</b>  (C) +91 98903 61223<br>
<br>