LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Disk Space used shows more than file size in folder (https://www.linuxquestions.org/questions/linux-server-73/disk-space-used-shows-more-than-file-size-in-folder-765482/)

vinvar 10-30-2009 12:28 AM

Disk Space used shows more than file size 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

/dev/mapper/VolGroup00-LogVol00

18G 2.6G 14G 16% /

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

tmpfs 1.1G 0 1.1G 0% /dev/shm

107.45.2.21:/arep1 396G 342G 35G 91% /mnt/arep1

107.45.2.21:/arep2 132G 126G 0 100% /mnt/arep2

107.45.2.21:/arep3 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

unSpawn 10-30-2009 12:48 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread should be closed because it is a duplicate of http://www.linuxquestions.org/questi...folder-765483/.

GrapefruiTgirl 10-30-2009 07:06 AM

This thread is closed accordingly.

Sasha


All times are GMT -5. The time now is 08:51 PM.