Find the answer to your Linux question:
Results 1 to 7 of 7
I have a doubt with how to add un-used space in my RHEL 4.0(linux) server to a existing partition. I will explain the scenario:- I have some 220 GB space ...
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    33

    Add un-used space to existing partition

    I have a doubt with how to add un-used space in my RHEL 4.0(linux) server to a existing partition. I will explain the scenario:-

    I have some 220 GB space on my linux server as shown by the command as below-

    --------------------------------------------------------------------------------------------------------

    [root@JispNewDB ~]# fdisk -l

    Disk /dev/cciss/c0d0: 733.9 GB, 733909245952 bytes
    255 heads, 63 sectors/track, 89226 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/cciss/c0d0p1 * 1 13 104391 83 Linux
    /dev/cciss/c0d0p2 14 25286 203005372+ 83 Linux
    /dev/cciss/c0d0p3 25287 31604 50749335 83 Linux
    /dev/cciss/c0d0p4 31605 89226 462848715 5 Extended
    /dev/cciss/c0d0p5 31605 37922 50749303+ 83 Linux
    /dev/cciss/c0d0p6 37923 44240 50749303+ 83 Linux
    /dev/cciss/c0d0p7 44241 50558 50749303+ 83 Linux
    /dev/cciss/c0d0p8 50559 56876 50749303+ 83 Linux
    /dev/cciss/c0d0p9 56877 60035 25374636 83 Linux
    /dev/cciss/c0d0p10 60036 62124 16779861 82 Linux swap
    --------------------------------------------------------------------------------------------------------

    I want to add this un-used space to one my existing partition 'backup'.

    Please, help me with the complete steps as it is a live server and I need to do this very cautiously.

    I hope, my question is clear.

    Please, help in solving the doubt.

    Regards

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    I think that gparted will do this for you. It is in the rpmforge repository so you should be able to install it from yum or rpm. Growing a live partition manually is rife with opportunity to screw the pooch. GParted is a well-tested application that can grow and shrink most Linux file systems without harming them.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Nov 2008
    Posts
    33
    thanks a lot for your answer. But, if you can send me the complete details with the command statements for using gparted, it will be very helpful.

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    It is a GUI application. Not much help is required.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Just Joined!
    Join Date
    Jan 2010
    Posts
    1
    Hi. I need to do the same thing. But I do NOT have x-windows as I SSH into the terminal (CentOS Linux server).

    Can gparted be used from the terminal remotely, and if so, where do I find instructions? Google didn't help much.

    Thanks!

  6. #6
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Man pages? Also, you can install a free X-Windows server on your PC and enable x-windows protocol pass-thru with ssh so you can run the gparted UI from your PC. I use cygwin for that purpose - both the x server and ssh.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    GParted is a Graphical Interface of parted. Check the man pages of parted tool.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...