Find the answer to your Linux question:
Results 1 to 4 of 4
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 Newbie Charles4809's Avatar
    Join Date
    Nov 2008
    Location
    Utrecht, NL
    Posts
    135
    The best thing would be to manipulate your partition nr 9 and leave all others as they are. However your swap partition (16 GB, why you need a swap that big?) is in the way.
    I'm not sure how your kernel will react if you temporarily delete the swap, enlarge your partition nr 9 and create a new swap partition at the very end of the disk.
    If you want to be absolutely sure you better create one (or more) partition(s) using the unallocated space.
    Charles
    ASUS EEE Box B202, Atom 270 1,6GHz, 1 GB, HDD 80GB, XP-SP3 / PinguyOS
    Asus EEE PC 901 with Bodhi-Linux

  3. #3
    Just Joined!
    Join Date
    Nov 2008
    Posts
    33
    thanks, for your answer. Can you tell me the steps to create a new partition with the unallocated space?

    regards

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Please check the last post in your other thread.
    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
  •  
...