[lustre-discuss] resize2fs to get more inodes on MDT

Frederik Ferner frederik.ferner at diamond.ac.uk
Wed Jun 17 02:33:46 PDT 2015

On 16/06/15 19:32, John White wrote:
> Hey Folks,

> We mis-sized out MDT and ran out of inodes.  What is the
> sanctioned method of getting more inodes?  Would a resize2fs suffice
> (we have plenty of extents left in the VG hosting the MDT) or would
> we need to backup and migrate to a new MDT with more inodes right off
> the bat?


FWIW, we have in the past been in a similar situation and successfully 
increased the number of inodes on a (ldiskfs based) MDT using resize2fs. 
AFAIK you'll need to unmount the MDT and run resize2fs offline, other 
than that, it did work without problems for us.

Kind regards,

Frederik Ferner
Senior Computer Systems Administrator (storage) phone: +44 1235 77 8624
Diamond Light Source Ltd.                       mob:   +44 7917 08 5110
(Apologies in advance for the lines below. Some bits are a legal
requirement and I have no control over them.)

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom

More information about the lustre-discuss mailing list