Find the answer to your Linux question:
Results 1 to 5 of 5
Someone please can help me to free space on volume group VolGroup00-LogVol00. It is mounted on root / and is filled up. The weired thing is it has 36G space. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    3

    Help! VolGroup00-LogVol00 filled up


    Someone please can help me to free space on volume group VolGroup00-LogVol00. It is mounted on root / and is filled up. The weired thing is it has 36G space. But I used du command to check root file system usage. It uses only 11G. Where did 25G space go?

    [root@d1501-19-10-16-64-149 /]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
    36G 36G 0 100% /
    /dev/hda1 99M 12M 83M 13% /boot
    /dev/shm 125M 0 125M 0% /dev/shm

    [root@d1501-19-10-16-64-149 /]# du -ah --max-depth=1
    100K ./tftpboot
    24M ./root
    0 ./misc
    72K ./tmp
    4.0K ./.autofsck
    1.6M ./openhpi-linux-pc-lib.tar.gz
    8.4G ./usr
    8.0K ./.automount
    6.1M ./boot
    7.4M ./bin
    24K ./media
    8.0K ./srv
    722M ./home
    258M ./proc
    0 ./selinux
    250M ./var
    868K ./dev
    8.0K ./.vmware
    331M ./opt
    292K ./pss_profiles
    0 ./sys
    113M ./etc
    64K ./mnt
    16K ./lost+found
    77M ./lib
    28M ./sbin
    0 ./net
    11G .

    [root@d1501-19-10-16-64-149 etc]# vgs
    VG #PV #LV #SN Attr VSize VFree
    VolGroup00 1 2 0 wz--n 37.16G 32.00M

    [root@d1501-19-10-16-64-149 etc]# lvs
    LV VG Attr LSize Origin Snap% Move Copy%
    LogVol00 VolGroup00 -wi-ao 36.62G
    LogVol01 VolGroup00 -wi-ao 512.00M

    [root@d1501-19-10-16-64-149 etc]# pvs
    PV VG Fmt Attr PSize PFree
    /dev/hda2 VolGroup00 lvm2 a- 37.16G 32.00M

  2. #2
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    Do you have any nfs or other network mounts? What can happen is files are written to mount points while say an nfs share is down and get written to the local drive. When the nfs share eventually gets mounted, the files are sort of hidden. I have seen this fill up drives a lot.

  3. #3
    Just Joined!
    Join Date
    Mar 2007
    Posts
    3
    Thanks for the response. I don't think there is nfs or other network file system mounted. Here is mount output.

    [root@d1501-19-10-16-64-149 etc]# mount
    /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
    /dev/proc on /proc type proc (rw)
    /dev/sys on /sys type sysfs (rw)
    /dev/devpts on /dev/pts type devpts (rw,gid=5,mode=620)
    /dev/hda1 on /boot type ext3 (rw)
    /dev/shm on /dev/shm type tmpfs (rw)
    none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
    sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
    automount(pid2361) on /misc type autofs (rw,fd=4,pgrp=2361,minproto=2,maxproto=4)
    automount(pid2414) on /net type autofs (rw,fd=4,pgrp=2414,minproto=2,maxproto=4)


    [root@d1501-19-10-16-64-149 etc]# cat /etc/auto.master
    #
    # $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $
    #
    # Sample auto.master file
    # This is an automounter map and it has the following format
    # key [ -mount-options-separated-by-comma ] location
    # For details of the format look at autofs(5).
    #/misc /etc/auto.misc --timeout=60
    #/smb /etc/auto.smb
    /misc /etc/auto.misc
    /net /etc/auto.net
    [root@d1501-19-10-16-64-149 etc]# cat /etc/auto.misc
    #
    # $Id: auto.misc,v 1.2 2003/09/29 08:22:35 raven Exp $
    #
    # This is an automounter map and it has the following format
    # key [ -mount-options-separated-by-comma ] location
    # Details may be found in the autofs(5) manpage

    cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom

  4. #4
    Just Joined!
    Join Date
    Mar 2007
    Posts
    3
    Found the problem.

    lsof +L1 shows some files are left open what's why it's not shown in du command.

  5. #5
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    o ok, good.

Posting Permissions

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