Find the answer to your Linux question:
Results 1 to 2 of 2
I have a VMWARE machine, I have extended it from 20GB to 30GB for Linux box. The linux box shows this for df -hal: Filesystem Size Used Avail Use% Mounted ...
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    15

    Allocate partition space to file system

    I have a VMWARE machine, I have extended it from 20GB to 30GB for Linux box.

    The linux box shows this for df -hal:

    Filesystem Size Used Avail Use% Mounted on
    -dev-mapper-VolGroup00-LogVol00
    19G 5.9G 12G 34% -
    proc 0 0 0 - -proc
    sysfs 0 0 0 - -sys
    devpts 0 0 0 - -dev-pts
    -dev-sda1 99M 13M 82M 14% -boot
    tmpfs 187M 0 187M 0% -dev-shm
    none 0 0 0 - -proc-sys-fs-binfmt_misc
    sunrpc 0 0 0 - -var-lib-nfs-rpc_pipefs
    -dev-hdc 238M 238M 0 100% -media-NEW

    So, it still shows only 20GB.

    But fdisk -l shows this:

    Disk -dev-sda: 32.2 GB, 32212254720 bytes
    255 heads, 63 sectors-track, 3916 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    -dev-sda1 * 1 13 104391 83 Linux
    -dev-sda2 14 2610 20860402+ 8e Linux LVM

    So, -dev-sda shows the full 32.2GB.

    Sorry, couldn't use the slash mark so replaced with the dash

    How do I take the additional 10GB that it has and allocate it to -dev-mapper-VolGroup00-LogVol00 ?

    That way I can use the 10GB of available space in that file system.

    Thanks for help!

  2. #2
    Linux Engineer khafa's Avatar
    Join Date
    Apr 2008
    Location
    Tokyo, Japan
    Posts
    858
    Hi,

    I think that you will need to extend your LVM(physical, logical) volume.
    Here is a good source.
    Linux and me it's a love story

Posting Permissions

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