How can I find what uses the space in a LV(logical volume)?












0















The logical volume(aka LV), centos-home is created automatically when installing CentOS 7 by default, but I didn't use it manually.



Now, I have mounted an empty directory, work to centos-home.



/home/anselmo/work ==> /dev/mapper/centos-home



The following are the results of df -h after mount.



[anselmo@anselmo-centos7 ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos_anselmo--centos7-root 50G 45G 5.2G 90% /
devtmpfs 63G 0 63G 0% /dev
tmpfs 63G 302M 63G 1% /dev/shm
tmpfs 63G 43M 63G 1% /run
tmpfs 63G 0 63G 0% /sys/fs/cgroup
/dev/sdb3 1014M 358M 657M 36% /boot
/dev/sdc1 200M 12M 189M 6% /boot/efi
/dev/mapper/centos_anselmo--centos7-home 2.6T 1.7T 948G 65% /home
tmpfs 13G 92K 13G 1% /run/user/1000
/dev/mapper/centos-home 65G 8.8G 56G 14% /home/anselmo/work


Though I mounted an empty directory, the LV had already used space 8.8G.



How can I find what uses this space?










share|improve this question























  • What filesystem you use for this LV?

    – Romeo Ninov
    9 mins ago
















0















The logical volume(aka LV), centos-home is created automatically when installing CentOS 7 by default, but I didn't use it manually.



Now, I have mounted an empty directory, work to centos-home.



/home/anselmo/work ==> /dev/mapper/centos-home



The following are the results of df -h after mount.



[anselmo@anselmo-centos7 ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos_anselmo--centos7-root 50G 45G 5.2G 90% /
devtmpfs 63G 0 63G 0% /dev
tmpfs 63G 302M 63G 1% /dev/shm
tmpfs 63G 43M 63G 1% /run
tmpfs 63G 0 63G 0% /sys/fs/cgroup
/dev/sdb3 1014M 358M 657M 36% /boot
/dev/sdc1 200M 12M 189M 6% /boot/efi
/dev/mapper/centos_anselmo--centos7-home 2.6T 1.7T 948G 65% /home
tmpfs 13G 92K 13G 1% /run/user/1000
/dev/mapper/centos-home 65G 8.8G 56G 14% /home/anselmo/work


Though I mounted an empty directory, the LV had already used space 8.8G.



How can I find what uses this space?










share|improve this question























  • What filesystem you use for this LV?

    – Romeo Ninov
    9 mins ago














0












0








0


1






The logical volume(aka LV), centos-home is created automatically when installing CentOS 7 by default, but I didn't use it manually.



Now, I have mounted an empty directory, work to centos-home.



/home/anselmo/work ==> /dev/mapper/centos-home



The following are the results of df -h after mount.



[anselmo@anselmo-centos7 ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos_anselmo--centos7-root 50G 45G 5.2G 90% /
devtmpfs 63G 0 63G 0% /dev
tmpfs 63G 302M 63G 1% /dev/shm
tmpfs 63G 43M 63G 1% /run
tmpfs 63G 0 63G 0% /sys/fs/cgroup
/dev/sdb3 1014M 358M 657M 36% /boot
/dev/sdc1 200M 12M 189M 6% /boot/efi
/dev/mapper/centos_anselmo--centos7-home 2.6T 1.7T 948G 65% /home
tmpfs 13G 92K 13G 1% /run/user/1000
/dev/mapper/centos-home 65G 8.8G 56G 14% /home/anselmo/work


Though I mounted an empty directory, the LV had already used space 8.8G.



How can I find what uses this space?










share|improve this question














The logical volume(aka LV), centos-home is created automatically when installing CentOS 7 by default, but I didn't use it manually.



Now, I have mounted an empty directory, work to centos-home.



/home/anselmo/work ==> /dev/mapper/centos-home



The following are the results of df -h after mount.



[anselmo@anselmo-centos7 ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos_anselmo--centos7-root 50G 45G 5.2G 90% /
devtmpfs 63G 0 63G 0% /dev
tmpfs 63G 302M 63G 1% /dev/shm
tmpfs 63G 43M 63G 1% /run
tmpfs 63G 0 63G 0% /sys/fs/cgroup
/dev/sdb3 1014M 358M 657M 36% /boot
/dev/sdc1 200M 12M 189M 6% /boot/efi
/dev/mapper/centos_anselmo--centos7-home 2.6T 1.7T 948G 65% /home
tmpfs 13G 92K 13G 1% /run/user/1000
/dev/mapper/centos-home 65G 8.8G 56G 14% /home/anselmo/work


Though I mounted an empty directory, the LV had already used space 8.8G.



How can I find what uses this space?







centos filesystems mount lvm






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 16 mins ago









Anselmo ParkAnselmo Park

114




114













  • What filesystem you use for this LV?

    – Romeo Ninov
    9 mins ago



















  • What filesystem you use for this LV?

    – Romeo Ninov
    9 mins ago

















What filesystem you use for this LV?

– Romeo Ninov
9 mins ago





What filesystem you use for this LV?

– Romeo Ninov
9 mins ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f504208%2fhow-can-i-find-what-uses-the-space-in-a-lvlogical-volume%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f504208%2fhow-can-i-find-what-uses-the-space-in-a-lvlogical-volume%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Accessing regular linux commands in Huawei's Dopra Linux

Can't connect RFCOMM socket: Host is down

Kernel panic - not syncing: Fatal Exception in Interrupt