Disk Space shows more used disk thank size of files present in folder
Linux - Virtualization and CloudThis 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.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
/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
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.