Increase the Size of Static Partition of Datanode

Prakhar Khandelwal
3 min readMar 14, 2021

Hello Guyssss !!!

In this Article , I will gonna to show you how we can increase the size of static partition of the storage of the datanode in the hadoop cluster

Considering that u already know that how to set-up the hadoop cluster…So, here we go..

Currently ,I have one master and slave node..Slave node is contributing approximately 500MiB o f storage toi the master..And it looks like

Slave is contributing storage to the master from the slave folder as u can see from the image..

Now , I want to increase the size of the datanode storage from 500MiB to approx. 1Gib..

So, I made the use of the fdisk command

  1. Delete the 500MiB Size partition
  2. Create a single partition of size approx. 1GiB
  3. Then It prompts me whether I want to delete the signature(Inode Table) of the first partition(Of size 400Mib) , I said no..because if I would have select then my whole data would be lost but that’s what I do not want..
  4. Then I just came out from the program of fdisk by pressing w to save the made changes..

Then , I made the use of resize2fs command for formatting the remaining portion(500Mib) of the storage(500Mib(first-one already formated) + 500Mib(Second-one) which is to be formated)

Now ,if I see the output of the df -hT command …It Looks Like

At the end if we see whether the new increased storage has been contributed by the slave to the master or not…. It looks like

Thus , in this way I increase the size of static partitioned storage of the slave node in the Hadoop cluster..

Thanks For Reading..!!!

I Hope I was able to provide Atleast one extra information to you in this article…

See u in the next one …

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

No responses yet

Write a response