Ask Your Question
0

df reports a lot of none existing mount point

asked 2013-03-14 15:21:57 -0500

ihorn gravatar image

updated 2013-03-14 15:56:58 -0500

skytux gravatar image

My file /etc/fstab looks like this:

/dev/mapper/VgData-lv_data /storage                 ext4    defaults        1 2
/dev/mapper/VgData-lv_backup /backup                 ext4    defaults        1 2
/dev/mapper/VolGroup-lv_root /                       ext4    defaults        1 1
UUID=ab20316d-29ec-4f65-8984-a0392fed2386 /boot                   ext4    defaults        1 2
/dev/mapper/VolGroup-lv_swap swap                    swap    defaults        0 0

But when I run "df" I get in addition a lot of line with error "No such file or directory" (see below). How do I clean up this mess? It has no consequences but it should not be like that. I have been googled a lot but with no luck. Thanks.

/bin/df: `/tmp/systemd-namespace-JYZMQL/root': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/dev': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/dev/pts': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/dev/shm': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/dev/mqueue': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/dev/hugepages': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/proc/fs/nfsd': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/sys': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/sys/fs/cgroup': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/sys/fs/cgroup/systemd': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/sys/fs/cgroup/cpuset': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/sys/fs/cgroup/cpu,cpuacct': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/sys/fs/cgroup/memory': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/sys/fs/cgroup/devices': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/sys/fs/cgroup/freezer': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/sys/fs/cgroup/net_cls': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/sys/fs/cgroup/blkio': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/sys/fs/cgroup/perf_event': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/sys/kernel/security': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/sys/kernel/debug': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/sys/kernel/config': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/run': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/media': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/var/lib/nfs/rpc_pipefs': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/boot': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/backup': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/storage': No such file or directory
/bin/df: `/tmp/systemd-namespace-JYZMQL/root/tmp': No such file or directory
edit retag flag offensive close merge delete

Comments

Did you ran df as user root?

lnxslck gravatar imagelnxslck ( 2013-03-14 18:07:14 -0500 )edit

I can't replicate here - you might want to file a bug on this one.

randomuser gravatar imagerandomuser ( 2013-03-14 19:44:48 -0500 )edit

2 Answers

Sort by » oldest newest most voted
2

answered 2014-07-26 01:30:26 -0500

abadrinath gravatar image

Eek, you don't have a /tmp. That's the problem, I think.

Change your /etc/fstab to:

/dev/mapper/VgData-lv_data /storage                 ext4    defaults        1 2
/dev/mapper/VgData-lv_backup /backup                 ext4    defaults        1 2
/dev/mapper/VolGroup-lv_root /                       ext4    defaults        1 1
UUID=ab20316d-29ec-4f65-8984-a0392fed2386 /boot                   ext4    defaults        1 2
/dev/mapper/VolGroup-lv_swap swap                    swap    defaults        0 0
tmpfs /tmp tmpfs defaults,mode=1777 0 1 #HERE

HTH.

edit flag offensive delete link more
1

answered 2014-07-17 16:09:51 -0500

zbyszek gravatar image

df doesn't know about namespaces. You can instead use findmnt:

findmnt -vD
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-03-14 15:21:57 -0500

Seen: 3,120 times

Last updated: Jul 26 '14