how to increase /root partition size from /home in centos

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












Below is the file system. its an ftp server and would like to increase root partition.



Filesystem Size Used Avail Use% Mounted on
/dev/sda2 29G 5.4G 23G 20% /
tmpfs 3.9G 228K 3.9G 1% /dev/shm
/dev/sda1 1008M 161M 797M 17% /boot
/dev/sda5 880G 62G 773G 8% /home






share|improve this question














migrated from serverfault.com Mar 1 at 7:41


This question came from our site for system and network administrators.


















    up vote
    0
    down vote

    favorite












    Below is the file system. its an ftp server and would like to increase root partition.



    Filesystem Size Used Avail Use% Mounted on
    /dev/sda2 29G 5.4G 23G 20% /
    tmpfs 3.9G 228K 3.9G 1% /dev/shm
    /dev/sda1 1008M 161M 797M 17% /boot
    /dev/sda5 880G 62G 773G 8% /home






    share|improve this question














    migrated from serverfault.com Mar 1 at 7:41


    This question came from our site for system and network administrators.
















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Below is the file system. its an ftp server and would like to increase root partition.



      Filesystem Size Used Avail Use% Mounted on
      /dev/sda2 29G 5.4G 23G 20% /
      tmpfs 3.9G 228K 3.9G 1% /dev/shm
      /dev/sda1 1008M 161M 797M 17% /boot
      /dev/sda5 880G 62G 773G 8% /home






      share|improve this question














      Below is the file system. its an ftp server and would like to increase root partition.



      Filesystem Size Used Avail Use% Mounted on
      /dev/sda2 29G 5.4G 23G 20% /
      tmpfs 3.9G 228K 3.9G 1% /dev/shm
      /dev/sda1 1008M 161M 797M 17% /boot
      /dev/sda5 880G 62G 773G 8% /home








      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 1 at 18:34









      dhag

      10.7k32642




      10.7k32642










      asked Feb 19 at 6:26







      krishna











      migrated from serverfault.com Mar 1 at 7:41


      This question came from our site for system and network administrators.






      migrated from serverfault.com Mar 1 at 7:41


      This question came from our site for system and network administrators.






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote













          The easiest way is to boot from livecd or usb drive and use the gparted.



          Look for details here






          share|improve this answer




















          • can it be possible without data loss?
            – krishna
            Feb 19 at 8:57






          • 1




            There are good chances for that. But gparted always recommends doing a backup, because it can not give 100% warranty
            – WhiteWind
            Feb 19 at 9:41










          • This way is suitable for any kind of linux and even windows
            – Drakonoved
            Feb 19 at 12:07










          • Like windows , is there any chance to shrink volume from existing partition?
            – krishna
            Feb 21 at 9:27










          • Yes, gparted can do that
            – WhiteWind
            Feb 21 at 11:13










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f427408%2fhow-to-increase-root-partition-size-from-home-in-centos%23new-answer', 'question_page');

          );

          Post as a guest





























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          3
          down vote













          The easiest way is to boot from livecd or usb drive and use the gparted.



          Look for details here






          share|improve this answer




















          • can it be possible without data loss?
            – krishna
            Feb 19 at 8:57






          • 1




            There are good chances for that. But gparted always recommends doing a backup, because it can not give 100% warranty
            – WhiteWind
            Feb 19 at 9:41










          • This way is suitable for any kind of linux and even windows
            – Drakonoved
            Feb 19 at 12:07










          • Like windows , is there any chance to shrink volume from existing partition?
            – krishna
            Feb 21 at 9:27










          • Yes, gparted can do that
            – WhiteWind
            Feb 21 at 11:13














          up vote
          3
          down vote













          The easiest way is to boot from livecd or usb drive and use the gparted.



          Look for details here






          share|improve this answer




















          • can it be possible without data loss?
            – krishna
            Feb 19 at 8:57






          • 1




            There are good chances for that. But gparted always recommends doing a backup, because it can not give 100% warranty
            – WhiteWind
            Feb 19 at 9:41










          • This way is suitable for any kind of linux and even windows
            – Drakonoved
            Feb 19 at 12:07










          • Like windows , is there any chance to shrink volume from existing partition?
            – krishna
            Feb 21 at 9:27










          • Yes, gparted can do that
            – WhiteWind
            Feb 21 at 11:13












          up vote
          3
          down vote










          up vote
          3
          down vote









          The easiest way is to boot from livecd or usb drive and use the gparted.



          Look for details here






          share|improve this answer












          The easiest way is to boot from livecd or usb drive and use the gparted.



          Look for details here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 19 at 8:37









          WhiteWind

          1866




          1866











          • can it be possible without data loss?
            – krishna
            Feb 19 at 8:57






          • 1




            There are good chances for that. But gparted always recommends doing a backup, because it can not give 100% warranty
            – WhiteWind
            Feb 19 at 9:41










          • This way is suitable for any kind of linux and even windows
            – Drakonoved
            Feb 19 at 12:07










          • Like windows , is there any chance to shrink volume from existing partition?
            – krishna
            Feb 21 at 9:27










          • Yes, gparted can do that
            – WhiteWind
            Feb 21 at 11:13
















          • can it be possible without data loss?
            – krishna
            Feb 19 at 8:57






          • 1




            There are good chances for that. But gparted always recommends doing a backup, because it can not give 100% warranty
            – WhiteWind
            Feb 19 at 9:41










          • This way is suitable for any kind of linux and even windows
            – Drakonoved
            Feb 19 at 12:07










          • Like windows , is there any chance to shrink volume from existing partition?
            – krishna
            Feb 21 at 9:27










          • Yes, gparted can do that
            – WhiteWind
            Feb 21 at 11:13















          can it be possible without data loss?
          – krishna
          Feb 19 at 8:57




          can it be possible without data loss?
          – krishna
          Feb 19 at 8:57




          1




          1




          There are good chances for that. But gparted always recommends doing a backup, because it can not give 100% warranty
          – WhiteWind
          Feb 19 at 9:41




          There are good chances for that. But gparted always recommends doing a backup, because it can not give 100% warranty
          – WhiteWind
          Feb 19 at 9:41












          This way is suitable for any kind of linux and even windows
          – Drakonoved
          Feb 19 at 12:07




          This way is suitable for any kind of linux and even windows
          – Drakonoved
          Feb 19 at 12:07












          Like windows , is there any chance to shrink volume from existing partition?
          – krishna
          Feb 21 at 9:27




          Like windows , is there any chance to shrink volume from existing partition?
          – krishna
          Feb 21 at 9:27












          Yes, gparted can do that
          – WhiteWind
          Feb 21 at 11:13




          Yes, gparted can do that
          – WhiteWind
          Feb 21 at 11:13












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f427408%2fhow-to-increase-root-partition-size-from-home-in-centos%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)