I tried to resize OST a couple years ago. Before I touched production OST I set up a sandbox lustre and tried to resize operation on it and it worked. However when it came to resize the production OST rsize2fs failed (segfaulted) at the end of the process. This was several e2fsprogs releases ago so a lot might have changed since then. Also the production filesystem was 70% used whereas the test lustre was almost empty. Anyway if you are going to try it I recommend to get the latest e2fsprogs and also increasing stack limit to unlimited which may help avoid those pesky segfaults.<br>
<br>Best regards,<br><br>Wojciech<br><br><div class="gmail_quote">On 9 November 2010 13:16, Brian J. Murrell <span dir="ltr"><<a href="mailto:brian.murrell@oracle.com">brian.murrell@oracle.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Tue, 2010-11-09 at 14:06 +0100, Roy Dragseth wrote:<br>
><br>
> It would be nice to make use of the extra volume and I'm wondering if we can<br>
> just take down the OST, extend the logical partition on the array, run<br>
> resize2fs on the filesystem and be good to go?  Will the MDT just pick up the<br>
> new OST size automatically?<br>
<br>
</div>There is another ongoing thread that you should be paying attention to<br>
under the subject "questions about an OST content".  I think it more<br>
than answers these questions but for the resizing.<br>
<br>
As for resizing, as far I understand, it is something that should work,<br>
but we don't test it -- _at_all_.  If you have enough OSTs that you need<br>
to do this with, it might be worth your while investing in backing one<br>
up and resizing it to see if it works.  Of course, you can use your<br>
backup to verify the operation.  If you do this, please report your<br>
findings here.<br>
<br>
But also, if you have the space to back one up (per the above) you could<br>
simply use the information in the other thread I mentioned to go through<br>
your OSTs rebuilding them one by one on the larger disks, utilizing all<br>
of the space when you do the initial formatting of them.<br>
<font color="#888888"><br>
b.<br>
<br>
</font><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>