I am trying to find the mount point of a directory using df -k
. It shows the mount point is the same directory.
I know it is not as I see a bunch of directories having the same allocation and the same free space.
I also see umount
and mount
commands are not working. Neither is free
. Only du
command works.
The problem is I need to free up some space but I want to know where I need to free the space up to have affect on my directory.
df -k Output:
/home>df -k
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/homemast/home/sraja5 1692020552 19509380 99% 6852553 7% /home/sraja5
/homemast/home/mjain3 1692020552 19509380 99% 6852553 7% /home/mjain3
/homemast/home/spura1 1692020552 19509380 99% 6852553 7% /home/spura1
/homemast/home/rshah53 1692020552 19509380 99% 6852553 7% /home/rshah53
/homemast/home/dmurthi 1692020552 19509348 99% 6852553 7% /home/dmurthi
Mount Output:
mount /home/hhebburs
mount: /home/hhebburs is not a known file system
As you can see in my df
output, all home directories have their own mount point. But you see the total space and used space to be the same for all of them. So this means they are mounted in a common place. I was trying to find where they are mounted. Any directions?
df -k
andmount
? – Oct 12 '15 at 16:13df
andmount
– Chen A. Oct 12 '15 at 16:18df
andmount
commands? – Eric Renouf Oct 12 '15 at 17:01mount
with no arguments? – Eric Renouf Oct 12 '15 at 17:14/homemast/home
, but perhaps not all users do, like, say,hhebburs
does not so it's just a directory under/home
and not a specific mount point – Eric Renouf Oct 12 '15 at 17:15cat /etc/mnttab
. Note that depending on the OS, the file name may be different, so first runls -l /etc/m*
to ckeck for the right filename. – schily Oct 12 '15 at 17:16df -k
output, or did you edit some of them out? If you edited them out please provide the full results. Also, please provide the output ofcd ; pwd; echo "$HOME"
thank you. – Chris Davies Oct 12 '15 at 17:32/home/sraja5
, look at the mount point of/homemast/home/sraja5
. – Barmar Oct 13 '15 at 19:17mount
command. – Barmar Oct 13 '15 at 19:22df /homemast/home/sraja5
– Barmar Oct 13 '15 at 19:22