<div dir="ltr">Hi Bob,<div><br></div><div>Remember that though actual data usage may be small, the MDT maps out to many times that with inode spacing requirements.</div><div><br></div><div>At a minimum you're required to utilize 1KB spacing with a default spacing size of 4KB. So the match here is total number of inodes * spacing size == total physical disk space required.</div>
<div><br></div><div>That said, with your 1.8 setup, the MDT backup and restore process outlined within the manual works fine and you should have no problems if you follow it.</div><div><br></div><div>-cf</div><div><br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 9, 2013 at 6:56 PM, Bob Ball <span dir="ltr"><<a href="mailto:ball@umich.edu" target="_blank">ball@umich.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
When we set up our mdt volume, lo these many years past, we did it with<br>
a 2TB volume.  Overkill.  About 17G is actually in use.<br>
<br>
This is a Lustre 1.8.4 system backed by about 450TB of OST on 8<br>
servers.  I  would _love_ to shrink this mdt volume to a more manageable<br>
size, say, 50GB or so, as we are now in a down time before we upgrade to<br>
Lustre 2.1.6 on SL6.4.  I have taken a "dd" of the volume, and am now in<br>
the process of doing<br>
getfattr -R -d -m '.*' -P . > /tmp/mdt_ea.bak<br>
after which I will do a<br>
tar czf {backup file}.tgz --sparse<br>
/bin/tar is the SL5 version tar-1.20-6.x86_64.  This supports the<br>
--xattrs switch.  So, a choice here, should I instead use the --xattrs<br>
switch on the tar, or should I use --no-xattrs since the mdt_ea.bak will<br>
have all of them?<br>
<br>
What are my prospects for success, if I restore that tar file to a<br>
smaller volume, then apply the attr backup, before I upgrade?<br>
<br>
Answers and advice are greatly appreciated.<br>
<br>
bob<br>
<br>
_______________________________________________<br>
Lustre-discuss mailing list<br>
<a href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><i>-cf</i></div>
</div>