How To Expand ROOT Partition NOT FORMATTED AS LVM |RHEL|CENTOS

Поділитися
Вставка
  • Опубліковано 4 січ 2025

КОМЕНТАРІ • 63

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

    Great Video, Demonstrated very well. The only problem is if you had /boot instead of swap partition you will not be able to extend as you will be allocating sectors from /boot and boot data will be lost.. It only works if you are happy to loose data from later partition e.g. swap or tmp

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

    Very clear and useful information.
    Tq

  • @henriqueritter
    @henriqueritter 4 роки тому +1

    Thanks!
    Im using a vm Debian on Virtual Box, i had some problemas with resize2fs, but i could fix it with a Live Distro with the gparted.
    Thank you!

  • @nels0nb
    @nels0nb 4 роки тому

    In my case, my boot partition and my / partition are both /dev/sda3. How can I separate them ?

  • @manikanta1919
    @manikanta1919 5 років тому +1

    before expand check the files and same verify after expand its very useful to us

    • @mdmustafahusain411
      @mdmustafahusain411 4 роки тому

      what about your data? are the important files and folder safe? after expanding the root partition size

  • @ImEddieful
    @ImEddieful 5 років тому

    Thank you! Exactly what I needed to get started.

  • @risk0209
    @risk0209 5 років тому

    Thanks for video... but for me after reboot system goes in safe mode and when I see journctl it throws error
    /dev/disk/by-uuid/ddaab76--- doesnt exits.
    Starting Dracut Emergency Shell
    RHEL-7.6 qcow2 image I am using on openstack instance.

    • @risk0209
      @risk0209 5 років тому

      It worked by not delete my both partition but only the / partition ... thought not sure how and why.

  • @pantphot
    @pantphot 4 роки тому +1

    Very helpful stuff man! Thank you very much.
    Just a few things that helped me.
    My / partition was mounted on sda5 which was a logical partition on extended partition sda4.
    In this case you need to remove and recreate BOTH partitions in the same order (sda4 extended, sda5 primary)
    Also for XFS partitions resize2fs does not work.
    Just used $ xfs_growfs /dev/sda5

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

    if i will delete the /root partition will be loss data ?

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

      If you follow exactly showed in the video. It won’t.

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

    muchas gracias

  • @soumojitrana2490
    @soumojitrana2490 6 років тому

    Nice video....
    1. How to rollback production server with downtime of 3 hours.
    2. Please make a video in realtime senarious.to crack interviews.

  • @chuwaca21
    @chuwaca21 4 роки тому +1

    My friend. You deleted the partition and what about the data it is inside? Is it preserved ?

  • @labamaharana5441
    @labamaharana5441 6 років тому

    Thank you very much, it helped me a lot.

    • @tunetolinux4173
      @tunetolinux4173  6 років тому +1

      Please hit like and subscribe.for more real time videos on Linux.

  • @arifmohammadkhan7021
    @arifmohammadkhan7021 4 роки тому

    this was so helpful

    • @tunetolinux4173
      @tunetolinux4173  4 роки тому

      Appreciate your feedback. Please share with your friends and colleagues.

  • @poonambangad9053
    @poonambangad9053 4 роки тому

    In interview people ask can we extend root partion ans yes or not?

    • @tunetolinux4173
      @tunetolinux4173  4 роки тому

      Tell them why not

    • @poonambangad9053
      @poonambangad9053 4 роки тому

      @@tunetolinux4173 if yes how? We need to take backup and then we will expand or what is Scinerio?

  • @jaipalreddykrishnareddy1565
    @jaipalreddykrishnareddy1565 6 років тому

    what about data if i delete the root partition...how can i get?

    • @tunetolinux4173
      @tunetolinux4173  6 років тому

      You can’t unless it is LVM or you have backup available. Kindly refer my LVM playlist.

  • @funtimetamil3441
    @funtimetamil3441 6 років тому +1

    Super , Will it work in Physical server also?

    • @direct2gupta
      @direct2gupta 5 років тому +2

      I m not sure.. Very risky approach

  • @sharanbabu3215
    @sharanbabu3215 6 років тому

    very nice explanation

  • @pinghe1791
    @pinghe1791 5 років тому

    where does the 2 gb you extended come from

    • @amokrani
      @amokrani 4 роки тому

      from his external disk

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

      Its a virtual machine he just added 2gb

  • @ntwalipatrick771
    @ntwalipatrick771 5 років тому

    thanks bro you are the best!..

    • @tunetolinux4173
      @tunetolinux4173  5 років тому

      Glad that you like it. Subscribe and share 🤗

  • @rawtech486
    @rawtech486 5 років тому

    Will it delete data from root partition??

  • @pankajholariya8331
    @pankajholariya8331 6 років тому

    very thankyou so much bro...

  • @shaikhazhar9033
    @shaikhazhar9033 6 років тому

    very good video

    • @tunetolinux4173
      @tunetolinux4173  6 років тому

      Glad you like it. Subscribe and share with your friends.

  • @girishsanai5214
    @girishsanai5214 6 років тому +2

    All data will be lost in other partition if we follow this

    • @tunetolinux4173
      @tunetolinux4173  6 років тому +1

      Can you explain how. Like I said in the video we need to delete partition if any partition created after root partition. example swap and swap don't hold data since it is virtual memory.

    • @girishsanai5214
      @girishsanai5214 6 років тому +1

      Tune To Linux but what is there is primary partition after root as it can been seen in most of the server in this case data will be corrupted as root partition will take over primary partition block

    • @tunetolinux4173
      @tunetolinux4173  6 років тому

      This video is to expand root partition and I have showed clearly how to expand. And also explain about other partition after it comes after root that it needs to delete and recreate. At last I also explain about latest backup before resizing partition.

    • @direct2gupta
      @direct2gupta 5 років тому

      True

  • @stephenremillard9462
    @stephenremillard9462 6 років тому

    Thank you Sir. I owe you a virtual beer!

    • @stephenremillard9462
      @stephenremillard9462 6 років тому

      BTW, on my Debian server, I had to update the file /etc/initramfs-tools/conf.d/resume and update the initramfs (as described here forums.debian.net/viewtopic.php?t=133253) after reboot to clear kernel warnings about wrong swap UUID

    • @tunetolinux4173
      @tunetolinux4173  6 років тому +1

      Cheers 🍻

  • @rupeshrawat6538
    @rupeshrawat6538 6 років тому

    Nice

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

    This is useless in a real world physical production server environment, not only because of the rebooting downtime but also in most cases you will need to have a new hard disk installed if its not a LVM partition.

  • @iambcube6003
    @iambcube6003 4 роки тому

    Faking fake cannot even part the main root just time waste and os delete dont try😭😭😭😭

    • @tunetolinux4173
      @tunetolinux4173  4 роки тому

      I didn’t get what you trying to say here but assuming that the step I followed isn’t right?
      Can you list down the steps you followed ?

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

    Sub title are Distabing

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

      It up to you. You can click on “cc” in the video and disable subtitles.