[Lustre-discuss] Resizing OSTs?

Roy Dragseth roy.dragseth at uit.no
Tue Nov 9 15:16:51 PST 2010


On Tuesday, November 09, 2010 14:16:26 Brian J. Murrell wrote:
> On Tue, 2010-11-09 at 14:06 +0100, Roy Dragseth wrote:
> > It would be nice to make use of the extra volume and I'm wondering if we
> > can just take down the OST, extend the logical partition on the array,
> > run resize2fs on the filesystem and be good to go?  Will the MDT just
> > pick up the new OST size automatically?
> 
> There is another ongoing thread that you should be paying attention to
> under the subject "questions about an OST content".  I think it more
> than answers these questions but for the resizing.
> 
> As for resizing, as far I understand, it is something that should work,
> but we don't test it -- _at_all_.  If you have enough OSTs that you need
> to do this with, it might be worth your while investing in backing one
> up and resizing it to see if it works.  Of course, you can use your
> backup to verify the operation.  If you do this, please report your
> findings here.
> 
> But also, if you have the space to back one up (per the above) you could
> simply use the information in the other thread I mentioned to go through
> your OSTs rebuilding them one by one on the larger disks, utilizing all
> of the space when you do the initial formatting of them.
> 

Thanks to both of you for quick replies with useful info.

I think we will try resize2fs on one ost on the scratch filesystem first and see 
how it goes.

The change is still weeks away, we need to disable the ost and move all 
important stuff to other osts.  I will report back any experience we gain.

Again, thanks.

r.

-- 
  The Computer Center, University of Tromsø, N-9037 TROMSØ Norway.
              phone:+47 77 64 41 07, fax:+47 77 64 41 00
     Roy Dragseth, Team Leader, High Performance Computing
         Direct call: +47 77 64 62 56. email: roy.dragseth at uit.no



More information about the lustre-discuss mailing list