I am new to CloudLinux so I made a test server to play around a bit.
I used a small HD, only 20GB as it is just a sandbox to play around.
When I installed cageFS, a disk warning was triggered
I know cageFS takes space but it took too much space!
The cause was confirmed with stat.
In the real cPanel Git directory, files such as git-write-tree, git-worktree, and git-status shared the same inode and had a high hard-link count, meaning they were multiple names pointing to the same physical file.
In the CageFS skeleton, those same files had separate inodes and a hard-link count of 1, meaning CageFS had copied them as full separate files.
That inflated Git’s helper binaries from about 84 MB to 3.2 GB.
I don't know if this is a known issue?
My Host told me to talk to CloudLinux about it so I thought I would post it here.
I just renamed the bad cageFS git-core directory, copied the original git-core into skeleton and then deleted the bad one, saving a few GB in storage space.
I used a small HD, only 20GB as it is just a sandbox to play around.
When I installed cageFS, a disk warning was triggered
I know cageFS takes space but it took too much space!
The cause was confirmed with stat.
In the real cPanel Git directory, files such as git-write-tree, git-worktree, and git-status shared the same inode and had a high hard-link count, meaning they were multiple names pointing to the same physical file.
In the CageFS skeleton, those same files had separate inodes and a hard-link count of 1, meaning CageFS had copied them as full separate files.
That inflated Git’s helper binaries from about 84 MB to 3.2 GB.
I don't know if this is a known issue?
My Host told me to talk to CloudLinux about it so I thought I would post it here.
I just renamed the bad cageFS git-core directory, copied the original git-core into skeleton and then deleted the bad one, saving a few GB in storage space.
Comment