Find the answer to your Linux question:
Results 1 to 5 of 5
Hello Folks, Greetings, I am in need of extending the / partition for one of my SuSE linux Enterprise Server 11.1 which is running on VMware. I will be able ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2012
    Posts
    2

    How to extend root partition on SuSE enterprise Server 11.1


    Hello Folks,
    Greetings,

    I am in need of extending the / partition for one of my SuSE linux Enterprise Server 11.1 which is running on VMware. I will be able to extend the virtual lun from the vshphere console but can some one help me to find out whether it is possible to extend the root partition online without downtime? The server is an Oracle server and there is no separate application filesystems as all are under / mount. I look forward for your help and expertise in this issue. Please see current configurations pasted below.


    orahost01:~ # df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda2 23G 22G 36M 100% /
    devtmpfs 941M 88K 941M 1% /dev
    tmpfs 941M 329M 613M 35% /dev/shm
    orahost01:~ # fdisk -l

    Disk /dev/sda: 26.8 GB, 26843545600 bytes
    255 heads, 63 sectors/track, 3263 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0002a454

    Device Boot Start End Blocks Id System
    /dev/sda1 1 262 2104483+ 82 Linux swap / Solaris
    /dev/sda2 * 263 3264 24109885 83 Linux
    orahost01:~ # fdisk -l /dev/sda2

    Disk /dev/sda2: 24.7 GB, 24688522240 bytes
    255 heads, 63 sectors/track, 3001 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00000000

    Device Boot Start End Blocks Id System
    orahost01:~ #

  2. #2
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,998
    Short answer, "without downtime" isn't going to happen. To expand the root you MUST unmount which means downtime
    Bodhi 1.3 & Bodhi 1.4 using E17
    Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17

    "The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"

  3. #3
    Just Joined!
    Join Date
    Apr 2012
    Posts
    2
    Quote Originally Posted by jmadero View Post
    Short answer, "without downtime" isn't going to happen. To expand the root you MUST unmount which means downtime

    jmadero,
    I understand that we need to reboot the server using rescue mode/rescue CD and extend the partition. Can we do it using parted command or is there any other tool which we can use for the same?
    Can you please help me in getting the correct steps for this so that there won't be any data lose?

  4. #4
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,998
    Best bet is just use a live cd that has gparted. Now, it is NEVER recommended not to backup when you're changing the size of a partition. If you can't backup, be forwarned that things can happen. Depending on size and data use this process can take several hours.

    Ubuntu has gparted on the live cd
    Bodhi 1.3 & Bodhi 1.4 using E17
    Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17

    "The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"

  5. #5
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,529
    I usually recommend Parted Magic for this kind of operation and I emphatically second the need for a full backup.
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    The Fifth Continent

Posting Permissions

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