Koozali.org: home of the SME Server

drive space

Offline hcostea

  • 2
  • +0/-0
drive space
« on: March 25, 2009, 09:34:52 PM »
when I do "df" in a console window it shows 2 LVMs in the "main". one has 11.9GB and the other shows 63GB. the 63 gb is unused and we need the space but are not getting it.

How can I expand the 11.9 or make use of the 63gb not used??

I have researched the howto's and documentation and if I have seen the answer I am not smart enough to know it
Please Help, this is a virtual machine running in Windows XP with VMWare. By the way it has been great for the last 3 years.

Thanks
hcostea

Offline gzartman

  • *
  • 306
  • +0/-0
    • LEI Engineering & Surveying
Re: drive space
« Reply #1 on: March 27, 2009, 02:44:12 AM »
What you are describing isn't making sense.  Paste the output from "df" to this thread like this:

[root@sme1 ~]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/main-root
                      74763432  16926808  54038816  24% /
/dev/md1                101018     21036     74766  22% /boot
none                    516836         0    516836   0% /dev/shm

----
Greg J. Zartman
LEI Engineering & Surveying

SME user and community member since 2000.

Offline hcostea

  • 2
  • +0/-0
Re: drive space
« Reply #2 on: March 30, 2009, 05:14:59 PM »
Short history: This is a virtual server using VMWare Virtual Server 1.0.8. and operating in XPPro SP3. Below are all the findings I have been able to think to try. Any help would be appreciated.

result of "df"  at a root prompt [root@server01]
Filesystem         1K-blocks      Used   Available   used%      Mounted on
/dev/mapper/main-root
            10192192   9662352   12108      100%      /
/dev/md1            101018       12581   83221       14%      /boot
none               541688      0   541688         0%      /dev/shm
Above the

typed "lvm" at prompt got this

version>      
LVM version:   2.02.01 (2005-11-23)
Library version:  1.02.02 (2006-01-04)
Driver version:    4.5.0

lvm> vgscan
Reading all physical volumes.    This may take a while
Found volume group "main" using metadata type lvm2

lvm>vgdisplay
---Volume Group---
VG Name         main
System ID
Format            lvm2
Metedata Areas         1
Metedata Sequence No      3
VG Access         read/write
VG Status         resizable
Max LV            0
Cur LV            2
Open LV         2
Max PV            0
Cur PV            1
Act PV            1
VG Size         11.88 GB
Pe Size            32.00 MB
Total PE         380
Alloc PE / Size         378 / 11.81 GB
Free PE / Size         2 / 64.00  MB
VG UUID         up5PVQ-hgw9-jzME-k19k-3m1j-3m1J-V3jc-zOL5NF

I also booted the server from GParted live and retrieved this info:

Data from Gparted
Partition   Filesystem   Size      Used      Unused      Flags
/dev/sda1   ext3      15.59 MB   15.58 MB   86.36      boot, raid
/dev/sda2   unknown   11.90 GiB   ---      ---      raid
unallocated   unallocated   63.00 GiB   ---      ---      ----   

If you can help Thanks I am a bit of a newbie here