How to resize or extend the root partition in CentOS?

Поділитися
Вставка
  • Опубліковано 2 січ 2025
  • #CentOS #partition #resize #extend
    This is a step-by-step guide to resize or extend the root partition in CentOS.
    How to resize or extend the root partition in CentOS 7?
    Please don't forget to reboot the system and verify that it is still working after finishing the partition resizing. :-)

КОМЕНТАРІ • 57

  • @nickb5502
    @nickb5502 2 роки тому +9

    I was so scared to lose everything, but this tutorial made it so easy and simple

  • @fl2rms
    @fl2rms Рік тому +1

    Fantastic how to. Thanks for sharing this process. I managed to increase the storage on a drive that had so much data and everything went well.

  • @darjichirag235
    @darjichirag235 Рік тому +1

    Thanks for the help.
    It's worked for me. I extend my LVM centos-root mapper partition using this method. This is very helpful video.

  • @michielvm8683
    @michielvm8683 3 роки тому +1

    I have been putting off a resize request for weeks simply for not exactly knowing how to go about it and getting scared shitless while reading through other solutions which involved unmounting and rebooting from USB devices and the works.
    Never knew it was this simple and most of all quick!! I achieved my resize from 80 to 100 gb in just under 5 minutes. including 1 reboot and resulting in a happy admin!
    Thanks a lot for this clear guide!! Definite LifeSaver!!

  • @ThiefxhunterGA
    @ThiefxhunterGA 11 місяців тому +2

    Thanks for this excellent material.

  • @ruslanbogatov9681
    @ruslanbogatov9681 3 роки тому +2

    Short and clear manual, Thank you!

  • @terri0075
    @terri0075 2 роки тому +3

    Can I use this procedure to resize the root partition on a virtual machine?

  • @brno1913
    @brno1913 2 роки тому +1

    I was very stressfull and it is very usefull, thank you so much.

  • @andr0idm3d
    @andr0idm3d Рік тому

    Thanks for the great video . Helped me out heaps. Looking forward for your future content

  • @ZikoS
    @ZikoS 8 місяців тому

    Thank you very much! I resized partition that had real data. And everythink works fine!

  • @shardulvashi1566
    @shardulvashi1566 2 роки тому

    Thanks buddy.. Saved lot of time. Follow the step in perfect manner and No data loss will happen.

  • @agunggumelarsugiri2698
    @agunggumelarsugiri2698 10 місяців тому

    Thanyou,
    singkat, padat, jelas..
    menyala abangkuh 🔥🔥🔥🔥

    • @asepgunawan23
      @asepgunawan23 9 місяців тому

      partisi ini menghapus data yang sudah ada ya

    • @syahrulmuchtarom3202
      @syahrulmuchtarom3202 7 місяців тому

      @@asepgunawan23 nah ini pertanyaan gue juga

  • @DmitrijPoznyakov
    @DmitrijPoznyakov Рік тому

    solved my problem. Fast & safe. Thank you very much for this video.

  • @colinwilson7524
    @colinwilson7524 7 місяців тому

    For anyone asking the question will I lose my data if I delete the partition the answer is no - as long as you follow and understand the commands.
    @ 2:15 you have deleted your partition and then create a new partition. If you make sure the first sector matches number matches the original start number you get from the print command and then your end you can then expand to increase the overall size of the partition then you should not lose anything.
    That has been my experience anyway.

  • @tainguyeninh29
    @tainguyeninh29 Рік тому

    Thank you buddy. It's so useful and simple

  • @tkoauto
    @tkoauto 2 роки тому +1

    thank you !! I learned a lot from this !!!

  • @xavierian6314
    @xavierian6314 Рік тому

    This is very helpful. Thanks man!

  • @cellocarlos
    @cellocarlos Рік тому

    I did like the shown in the vid. The sda2 is now bigger, but the / partition still has the same size as before when I use command "df -h"

  • @sriharsha6151
    @sriharsha6151 Рік тому

    do I lose the content in the root folder if I follow this approach?

  • @ibrahimsawy
    @ibrahimsawy 11 місяців тому

    Does it wipe data stored on the partition that will be deleted and resized?
    I have a server installed on centos vm and i dont want to lose my server.

  • @enigma6565
    @enigma6565 Рік тому

    you are a freaking legend!!

  • @kalumherath2972
    @kalumherath2972 Рік тому

    Thank you Its Work 🥰

  • @ocomentadordefutebol1919
    @ocomentadordefutebol1919 3 роки тому +2

    Thank you, helped a lot!

  • @ravindusankalpa6219
    @ravindusankalpa6219 7 місяців тому

    this worked. thank you browww

  • @rizzafauziah5346
    @rizzafauziah5346 3 роки тому +2

    thank you ! so helpful

  • @syahrulmuchtarom3202
    @syahrulmuchtarom3202 7 місяців тому

    Can enlarging the disk on Centos 7 using the method above eliminate the data on it?

    • @N_orma20
      @N_orma20 14 днів тому

      heyy facing same problem but will it

  • @carlsaiyed1097
    @carlsaiyed1097 2 роки тому

    Thank you, this helped me!

  • @LoveExploreRespect
    @LoveExploreRespect 2 роки тому +1

    Thank you so much 😊

  • @СергейВиноградов-ч1з

    Thank you very much!!

  • @roxastidus4109
    @roxastidus4109 Рік тому

    Would you not lose data if you delete the partition ?

    • @youdsjourney8442
      @youdsjourney8442 Рік тому

      thats my question too

    • @roxastidus4109
      @roxastidus4109 Рік тому

      @@youdsjourney8442 Seems like not. Saw the same from many videos.
      But there must be better ways

  • @irfanhazza
    @irfanhazza 2 роки тому

    Very useful, thanks!

  • @Klaytainment
    @Klaytainment Рік тому

    thanks alot that was awesome

  • @micham6820
    @micham6820 2 роки тому

    The best! Thank you

  • @akashshirsekar2357
    @akashshirsekar2357 10 місяців тому

    nice and easy good job

  • @KoolMada
    @KoolMada 3 роки тому +1

    Will this delete data?

    • @michielvm8683
      @michielvm8683 3 роки тому

      Did you get an answer? I'm going try this trick on a virtual dummy first.

    • @KoolMada
      @KoolMada 3 роки тому +1

      @@michielvm8683 Nope.

    • @michielvm8683
      @michielvm8683 3 роки тому +1

      @@KoolMada Thanks man, I went ahead on a dummy vm and found out that this is method is non-destuctive. Works like a charm by the way. :-)

  • @R1d3rBul
    @R1d3rBul 11 місяців тому

    what if I have sda3?

  • @javopr1
    @javopr1 Рік тому +1

    It doesn't work. Still the same space.

  • @hafidhabibi
    @hafidhabibi Рік тому

    Thank you !!

  • @IhagamaMudiyanselageDulanPabas

    Thank you

  • @giorgiodiponzio177
    @giorgiodiponzio177 Рік тому

    Grazie Interessante

  • @azimDUSTY
    @azimDUSTY 11 місяців тому

    bruhhh thank you so much. im so scare to do this afraid it will wipe whole disk lol

  • @bhujangarao7382
    @bhujangarao7382 2 роки тому

    thanks

  • @WisesageGaming
    @WisesageGaming 2 роки тому +1

    hello , i have problem when pvreszie , this error , pls help
    [root@localhost ~]# pvresize /dev/sda3
    Couldn't create temporary archive name.
    Failed to store physical volume "/dev/sda3" in volume group "rhel"
    0 physical volume(s) resized or updated / 1 physical volume(s) not resized