Can I delete this 100GB devicemapper data file?

000

Well-Known Member
Jun 3, 2008
509
26
78
Hello,

my disk have only 200GB,
but when I run
Code:
find . -type f -size +500M -exec ls -lh {} \; | awk '{ print $9 "
I get:
Code:
./var/cpanel/sql/eximstats.sql.import: 1.3G
./var/lib/docker/devicemapper/devicemapper/data: 100G
./var/lib/docker/devicemapper/devicemapper/metadata: 2.0G
./home/virtfs/usera/var/cpanel/sql/eximstats.sql.import: 1.3G
./home/virtfs/usera/var/lib/docker/devicemapper/devicemapper/data: 100G
./home/virtfs/usera/var/lib/docker/devicemapper/devicemapper/metadata: 2.0G
./home/virtfs/userb/var/cpanel/sql/eximstats.sql.import: 1.3G
./home/virtfs/userb/var/lib/docker/devicemapper/devicemapper/data: 100G
./home/virtfs/userb/var/lib/docker/devicemapper/devicemapper/metadata: 2.0G
./home/virtfs/userc/var/cpanel/sql/eximstats.sql.import: 1.3G
./home/virtfs/userc/var/lib/docker/devicemapper/devicemapper/data: 100G
./home/virtfs/userc/var/lib/docker/devicemapper/devicemapper/metadata: 2.0G
./home/virtfs/userd/var/cpanel/sql/eximstats.sql.import: 1.3G
./home/virtfs/userd/var/lib/docker/devicemapper/devicemapper/data: 100G
./home/virtfs/userd/var/lib/docker/devicemapper/devicemapper/metadata: 2.0G
./home/virtfs/usere/var/cpanel/sql/eximstats.sql.import: 1.3G
./home/virtfs/usere/var/lib/docker/devicemapper/devicemapper/data: 100G
./home/virtfs/usere/var/lib/docker/devicemapper/devicemapper/metadata: 2.0G
Why this show SIX files of 100 GB??
Logically no is possible!

I can delete this six files ?

I can delete ALL "eximstats.sql.import" files ?
Why each file "eximstats.sql.import" have exactly same size ?

Who is "metadata" ???
I can delete also?

Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,236
463
Hello @000000000,

The directories and files listed under /home/virtfs/ are not actually using up any additional disk space. The VirtFS entries in the output you provided are bind mounts (transparent link between two places on the file system). For example, if a user views the contents of /home/virtfs/username/usr/bin, the user actually sees the contents of /usr/bin. Thus, data and disk space is not actually duplicated. You should never manually delete contents from within the /home/virtfs directory. You can read more about how VirtFS works at:

VirtFS - Jailed Shell - Version 72 Documentation - cPanel Documentation

Thank you.