You are not logged in.
Never seen this before... When I run df, I get the following for my NFS shares..:
Filesystem Size Used Avail Use% Mounted on
10.x.x.x:/btj 2.7T 1.5T 1.3T 56% /mnt/nas
10.x.x.x:/mnt/data/mp3 818G 560G 217G 73% /mnt/mp3
But the mount command shows the following..:
10.x.x.x:/btj on /mnt/nas type nfs (rw,relatime,vers=3,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=14,retrans=2,sec=sys,mountaddr=10.x.x.x,mountvers=3,mountport=48100,mountproto=tcp,local_lock=none,addr=10.x.x.x,_netdev)
10.x.x.x:/mnt/data/mp3 on /mnt/mp3 type nfs4 (rw,relatime,vers=4.0,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,port=0,timeo=14,retrans=2,sec=sys,clientaddr=10.x.x.x,local_lock=none,addr=10.x.x.x,_netdev)
10.x.x.x:/mnt/data/Files/btj on /mnt/btj type nfs4 (rw,relatime,vers=4.0,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,port=0,timeo=14,retrans=2,sec=sys,clientaddr=10.x.x.x,local_lock=none,addr=10.x.x.x,_netdev)
I.e. the df command is not seeing the /mnt/data/Files/btj share that is mounted... Any reasons for this?
Regards,
BTJ
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
Offline
This is a bit interesting.
df appears to look at /etc/mtab for mountpoints, whereas mount looks at /proc/self/mountinfo.
$ strace -e trace=open mount
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libmount.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libblkid.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libuuid.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
open("/run/mount/utab", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 3
open("/proc/self/mountinfo", O_RDONLY|O_CLOEXEC) = 3
$ strace -e trace=open df
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/mtab", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gconv/gconv-modules", O_RDONLY|O_CLOEXEC) = 3
Offline
Hmmm... Well, if I look at /etc/mtab the last lines shows the correct mounted shares...:
10.x.x.x:/btj /mnt/nas nfs rw,relatime,vers=3,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=14,retrans=2,sec=sys,mountaddr=10.x.x.x,mountvers=3,mountport=48100,mountproto=tcp,local_lock=none,addr=10.x.x.x 0 0
10.x.x.x.:/mnt/data/mp3 /mnt/mp3 nfs4 rw,relatime,vers=4.0,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,port=0,timeo=14,retrans=2,sec=sys,clientaddr=10.x.x.x,local_lock=none,addr=10.x.x.x 0 0
10.x.x.x:/mnt/data/Files/btj /mnt/btj nfs4 rw,relatime,vers=4.0,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,port=0,timeo=14,retrans=2,sec=sys,clientaddr=10.x.x.x,local_lock=none,addr=10.x.x.x 0 0
BTJ
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
Offline