Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 10-30-2009, 12:30 AM   #1
LQ Newbie
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
Disk Space shows more used disk thank size of files present in folder

Hello All,

I am extremely new to virtualization of servers. I have XENServer 5.5. I am facing a problem that I have not seen before. Unfortunately my admin is off on vacation and I am not very familiar. Kindly help me out.

The problem is that when I do a df h the /mnt/arep2 mount shows the amount of used space to be 126GB.

[root@mysql-2a ~]# df -h

Filesystem Size Used Avail Use% Mounted on


18G 2.6G 14G 16% /

/dev/xvda1 99M 19M 76M 20% /boot

tmpfs 1.1G 0 1.1G 0% /dev/shm 396G 342G 35G 91% /mnt/arep1 132G 126G 0 100% /mnt/arep2 26G 15G 11G 59% /mnt/arep3

However I am using only 82 GB of the space. The rest of the space is not showing up for some reason. There are no hidden files.

[root@mysql-2a arep2]# ls -lrt

total 80640908

-rw-rw---- 1 mysql mysql 64424509440 Oct 19 09:44 ibdata2-1a

-rw-rw---- 1 mysql mysql 18222583808 Oct 28 22:41 ibdata2-2a

I searched the internet for quite some time for a resolution. There were a few topics which suggested that this could be due to some kind of recovery process on virtual servers which takes snapshots of the disk used at various intervals of time.

Please let me know how to recover this situation as I need the disk space that I lost
Old 11-02-2009, 10:58 PM   #2
LQ Newbie
Registered: Apr 2006
Distribution: Fedora
Posts: 17

Rep: Reputation: 0
Well I don't have a clue on vertialization. But try this command from the root. It'll give you the size of each directory.

du -hs *

Likewise you can go to each directory and see the size of each directory. You'll be able to get a clue on where the space is taken from.
Old 11-02-2009, 11:59 PM   #3
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (
Posts: 1,900

Rep: Reputation: 68
1. You need to use -lart, not -lrt if you want to be sure there are no hidden files.
2. It is a network FS. Probably you got a directory on a shared drive, and so there are files on server outside of the directory exported to you.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
disk space full because alot of files in /var/spool/clientmqueue folder k0nsole.c Linux - Software 4 03-21-2016 09:26 AM
Disk Space used shows more than file size in folder vinvar Linux - Server 2 10-30-2009 07:06 AM
none partitionned size space disk sali Linux - General 6 10-23-2005 08:43 AM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
usage of disk space in a folder... Claus Linux - Software 4 09-10-2003 10:45 AM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 01:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration