Find the answer to your Linux question:
Results 1 to 4 of 4
Would you please show me how to remount/resize partition on Unix/Linux without losing any data/software already installed on this box? I currently have: Filename size used avail Used% mount on ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2013
    Posts
    2

    how to resize partition and add a new partition?


    Would you please show me how to remount/resize partition on Unix/Linux without losing any data/software already installed on this box?

    I currently have:
    Filename size used avail Used% mount on
    /dev/mapper/vg-ppo32-lv_root 30G 2.9G 26G 11% /
    tmpfs 16G 228K 16G 1% /dev/shm
    /dev/cciss/c0d0p1 485M 39M 421M 9% /boot
    /dev/mapper/vg-ppo32-lv_home
    99G 170M 92G 2% /home
    /dev/mapper/vg-ppo32-LogVol04
    70G 16G 51G 23% /opt
    /dev/mapper/vg-ppo32-LogVol03
    9.9G 256M 9.1G 3% /var
    /dev/mapper/vg_dctmora-lv_oradata
    1.5T 197M 1.5T 1% /u01/oracle
    /dev/mapper/vg_dctmora-lf_oracleapp
    493G 12G 457G 3% /opt/oracle

    want to resize and add a new partion
    32M for /dev/shm
    100G /home
    9.9G /var
    200G /opt
    400G /opt/dba_stuff resize and change name from /opt/oracle
    100G /opt/app/oracle new partition
    300G /u01/oracle resize
    300G /u02/oracle (add new partition)
    500G unallocated for future use.

    thanks in advances.

    BN

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,408
    /dev/shm is shared memory. No problem there.
    Others that are only being increased in size (other than the LVM volumes) that are ext2/3/4 file systems can be resized in-situ with the resize2fs program. In some cases, logical volumes (LVM) can be resized with the lvresize command. These have to be run as root.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Jul 2013
    Posts
    2
    Quote Originally Posted by Rubberman View Post
    /dev/shm is shared memory. No problem there.
    Others that are only being increased in size (other than the LVM volumes) that are ext2/3/4 file systems can be resized in-situ with the resize2fs program. In some cases, logical volumes (LVM) can be resized with the lvresize command. These have to be run as root.
    I am newbie and I need steps how to do so.

    thanks,

    BN

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,408
    Quote Originally Posted by pepevo View Post
    I am newbie and I need steps how to do so.

    thanks,

    BN
    That's why we have man(ual) pages... :IE, "man resize2fs" or "man lvresize".
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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