Difference between df -Th and lsblk
I am wondering why the output of df -Th
and lsblk
commands showing different mount points for logical volume tmp
.
[root@mysystem ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VOLGROUP-root 23G 7.6G 14G 37% /
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 88K 16G 1% /dev/shm
tmpfs 16G 217M 16G 2% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/sda1 488M 103M 350M 23% /boot
/dev/mapper/VOLGROUP-tmp 9.8G 107M 9.1G 2% /tmp
/dev/mapper/VOLGROUP-var 20G 1000M 18G 6% /var
/dev/mapper/VOLGROUP-home 4.8G 27M 4.6G 1% /home
/dev/mapper/VOLGROUP-lv_var_log 7.8G 83M 7.3G 2% /var/log
And
[root@mysystem ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 62G 0 disk
├─sda1 8:1 0 512M 0 part /boot
├─sda2 8:2 0 4G 0 part [SWAP]
└─sda3 8:3 0 57.5G 0 part
├─VOLGROUP-root 253:0 0 22.5G 0 lvm /
├─VOLGROUP-tmp 253:1 0 10G 0 lvm /var/tmp
├─VOLGROUP-var 253:2 0 20G 0 lvm /var
└─VOLGROUP-home 253:3 0 5G 0 lvm /home
sdb 8:16 0 8G 0 disk
└─sdb1 8:17 0 8G 0 part
└─VOLGROUP-lv_var_log 253:4 0 8G 0 lvm /var/log
sdc 8:32 0 100G 0 disk
sr0 11:0 1 1024M 0 rom
However for all other lv, mount points are same for both the commands. Or is there any difference in Mounted on
and MOUNTPOINT
?
disk-usage lsblk
add a comment |
I am wondering why the output of df -Th
and lsblk
commands showing different mount points for logical volume tmp
.
[root@mysystem ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VOLGROUP-root 23G 7.6G 14G 37% /
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 88K 16G 1% /dev/shm
tmpfs 16G 217M 16G 2% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/sda1 488M 103M 350M 23% /boot
/dev/mapper/VOLGROUP-tmp 9.8G 107M 9.1G 2% /tmp
/dev/mapper/VOLGROUP-var 20G 1000M 18G 6% /var
/dev/mapper/VOLGROUP-home 4.8G 27M 4.6G 1% /home
/dev/mapper/VOLGROUP-lv_var_log 7.8G 83M 7.3G 2% /var/log
And
[root@mysystem ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 62G 0 disk
├─sda1 8:1 0 512M 0 part /boot
├─sda2 8:2 0 4G 0 part [SWAP]
└─sda3 8:3 0 57.5G 0 part
├─VOLGROUP-root 253:0 0 22.5G 0 lvm /
├─VOLGROUP-tmp 253:1 0 10G 0 lvm /var/tmp
├─VOLGROUP-var 253:2 0 20G 0 lvm /var
└─VOLGROUP-home 253:3 0 5G 0 lvm /home
sdb 8:16 0 8G 0 disk
└─sdb1 8:17 0 8G 0 part
└─VOLGROUP-lv_var_log 253:4 0 8G 0 lvm /var/log
sdc 8:32 0 100G 0 disk
sr0 11:0 1 1024M 0 rom
However for all other lv, mount points are same for both the commands. Or is there any difference in Mounted on
and MOUNTPOINT
?
disk-usage lsblk
add a comment |
I am wondering why the output of df -Th
and lsblk
commands showing different mount points for logical volume tmp
.
[root@mysystem ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VOLGROUP-root 23G 7.6G 14G 37% /
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 88K 16G 1% /dev/shm
tmpfs 16G 217M 16G 2% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/sda1 488M 103M 350M 23% /boot
/dev/mapper/VOLGROUP-tmp 9.8G 107M 9.1G 2% /tmp
/dev/mapper/VOLGROUP-var 20G 1000M 18G 6% /var
/dev/mapper/VOLGROUP-home 4.8G 27M 4.6G 1% /home
/dev/mapper/VOLGROUP-lv_var_log 7.8G 83M 7.3G 2% /var/log
And
[root@mysystem ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 62G 0 disk
├─sda1 8:1 0 512M 0 part /boot
├─sda2 8:2 0 4G 0 part [SWAP]
└─sda3 8:3 0 57.5G 0 part
├─VOLGROUP-root 253:0 0 22.5G 0 lvm /
├─VOLGROUP-tmp 253:1 0 10G 0 lvm /var/tmp
├─VOLGROUP-var 253:2 0 20G 0 lvm /var
└─VOLGROUP-home 253:3 0 5G 0 lvm /home
sdb 8:16 0 8G 0 disk
└─sdb1 8:17 0 8G 0 part
└─VOLGROUP-lv_var_log 253:4 0 8G 0 lvm /var/log
sdc 8:32 0 100G 0 disk
sr0 11:0 1 1024M 0 rom
However for all other lv, mount points are same for both the commands. Or is there any difference in Mounted on
and MOUNTPOINT
?
disk-usage lsblk
I am wondering why the output of df -Th
and lsblk
commands showing different mount points for logical volume tmp
.
[root@mysystem ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VOLGROUP-root 23G 7.6G 14G 37% /
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 88K 16G 1% /dev/shm
tmpfs 16G 217M 16G 2% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/sda1 488M 103M 350M 23% /boot
/dev/mapper/VOLGROUP-tmp 9.8G 107M 9.1G 2% /tmp
/dev/mapper/VOLGROUP-var 20G 1000M 18G 6% /var
/dev/mapper/VOLGROUP-home 4.8G 27M 4.6G 1% /home
/dev/mapper/VOLGROUP-lv_var_log 7.8G 83M 7.3G 2% /var/log
And
[root@mysystem ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 62G 0 disk
├─sda1 8:1 0 512M 0 part /boot
├─sda2 8:2 0 4G 0 part [SWAP]
└─sda3 8:3 0 57.5G 0 part
├─VOLGROUP-root 253:0 0 22.5G 0 lvm /
├─VOLGROUP-tmp 253:1 0 10G 0 lvm /var/tmp
├─VOLGROUP-var 253:2 0 20G 0 lvm /var
└─VOLGROUP-home 253:3 0 5G 0 lvm /home
sdb 8:16 0 8G 0 disk
└─sdb1 8:17 0 8G 0 part
└─VOLGROUP-lv_var_log 253:4 0 8G 0 lvm /var/log
sdc 8:32 0 100G 0 disk
sr0 11:0 1 1024M 0 rom
However for all other lv, mount points are same for both the commands. Or is there any difference in Mounted on
and MOUNTPOINT
?
disk-usage lsblk
disk-usage lsblk
asked 53 secs ago
erTugRulerTugRul
23811
23811
add a comment |
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f493617%2fdifference-between-df-th-and-lsblk%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
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f493617%2fdifference-between-df-th-and-lsblk%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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