1 |
Hi Jarry, |
2 |
|
3 |
Jarry wrote: |
4 |
|
5 |
> On 08-Nov-15 17:58, Mike Gilbert wrote: |
6 |
>> On Fri, Nov 6, 2015 at 12:19 PM, Jarry <mr.jarry@×××××.com> wrote: |
7 |
>>> Hi Gentoo-users, |
8 |
>>> |
9 |
>>> I noted one strange thing today: It seems one of my servers lost "/"! |
10 |
>>> |
11 |
>>> vs5-dns ~ # df |
12 |
>>> Filesystem 1K-blocks Used Available Use% Mounted on |
13 |
>>> /var/log/named 10138552 2223148 7377344 24% /chroot/dns/var/log/named |
14 |
>>> tmpfs 308196 420 307776 1% /run |
15 |
>>> dev 10240 0 10240 0% /dev |
16 |
>>> shm 1540968 0 1540968 0% /dev/shm |
17 |
>>> cgroup_root 10240 0 10240 0% /sys/fs/cgroup |
18 |
>>> none 1048576 0 1048576 0% /var/tmp/portage |
19 |
>> |
20 |
>> Is your /etc/mtab a regular file, or is it a symlink to |
21 |
>> /proc/self/mounts? The latter is recommended. |
22 |
> |
23 |
> It is regular file. I never changed it... |
24 |
> |
25 |
> vs5-dns ~ # ls -l /etc/mtab |
26 |
> -rw-r--r-- 1 root root 908 Nov 9 19:14 /etc/mtab |
27 |
> |
28 |
>> Anyway, please have a look at the contents of /etc/mtab, |
29 |
>> /proc/self/mounts, and proc/self/mountinfo while named is running and |
30 |
>> when it is stopped. If you pastebin them we can take a look for key |
31 |
>> differences. |
32 |
> |
33 |
> With bind running: |
34 |
> http://pastebin.com/wkTW6xAY |
35 |
> |
36 |
> without bind: |
37 |
> http://pastebin.com/JG5FPNDW |
38 |
> |
39 |
> While I can see some differences there, I still do not understand |
40 |
> why is "/" missing in "df" output. BTW I can not proove it, but this |
41 |
> was not the case all the time. At least when I was tuning monitoring |
42 |
> software, I'm pretty sure "/" was there... |
43 |
|
44 |
Actually I have the same problem, but I do not run named. /etc/mtab is a |
45 |
regular file on my system, too (since years). I am actually missing two |
46 |
entries: |
47 |
|
48 |
/ |
49 |
/var/share/storage |
50 |
|
51 |
Compare with contents of mtab. Both entries were originally there. |
52 |
|
53 |
Do you have also nfs exports? |
54 |
|
55 |
=========================== %< ============================= |
56 |
joehni@bobbel ~ $ df -hl |
57 |
Filesystem Size Used Avail Use% Mounted on |
58 |
udev 10M 0 10M 0% /dev |
59 |
/var/spool/cups-pdf 892G 261G 586G 31% /export/cups-pdf |
60 |
tmpfs 396M 572K 395M 1% /run |
61 |
none 2.0G 0 2.0G 0% /dev/shm |
62 |
cgroup_root 10M 0 10M 0% /sys/fs/cgroup |
63 |
/dev/sda6 926M 269M 594M 32% /var/log |
64 |
/var/share/storage/Video/Film 3.6T 2.3T 1.2T 65% |
65 |
/export/storage/Video/Film |
66 |
joehni@bobbel ~ $ cat /etc/mtab |
67 |
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 |
68 |
udev /dev devtmpfs rw,nosuid,relatime,size=10240k,nr_inodes=505255,mode=755 |
69 |
0 0 |
70 |
devpts /dev/pts devpts rw,relatime,gid=5,mode=620 0 0 |
71 |
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 |
72 |
/dev/sda5 / ext4 rw,relatime,data=ordered 0 0 |
73 |
tmpfs /run tmpfs rw,nodev,relatime,size=404508k,mode=755 0 0 |
74 |
mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0 |
75 |
none /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=2097152k 0 0 |
76 |
cgroup_root /sys/fs/cgroup tmpfs |
77 |
rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755 0 0 |
78 |
fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0 |
79 |
openrc /sys/fs/cgroup/openrc cgroup |
80 |
rw,nosuid,nodev,noexec,relatime,release_agent=/lib64/rc/sh/cgroup-release- |
81 |
agent.sh,name=openrc 0 0 |
82 |
cpuset /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 |
83 |
0 |
84 |
cpu /sys/fs/cgroup/cpu cgroup rw,nosuid,nodev,noexec,relatime,cpu 0 0 |
85 |
cpuacct /sys/fs/cgroup/cpuacct cgroup |
86 |
rw,nosuid,nodev,noexec,relatime,cpuacct 0 0 |
87 |
blkio /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0 |
88 |
memory /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 |
89 |
0 |
90 |
devices /sys/fs/cgroup/devices cgroup |
91 |
rw,nosuid,nodev,noexec,relatime,devices 0 0 |
92 |
freezer /sys/fs/cgroup/freezer cgroup |
93 |
rw,nosuid,nodev,noexec,relatime,freezer 0 0 |
94 |
net_cls /sys/fs/cgroup/net_cls cgroup |
95 |
rw,nosuid,nodev,noexec,relatime,net_cls 0 0 |
96 |
perf_event /sys/fs/cgroup/perf_event cgroup |
97 |
rw,nosuid,nodev,noexec,relatime,perf_event 0 0 |
98 |
net_prio /sys/fs/cgroup/net_prio cgroup |
99 |
rw,nosuid,nodev,noexec,relatime,net_prio 0 0 |
100 |
debug /sys/fs/cgroup/debug cgroup rw,nosuid,nodev,noexec,relatime,debug 0 0 |
101 |
/dev/sda6 /var/log ext4 rw 0 2 |
102 |
/dev/sdb1 /var/share/storage/Video/Film ext4 rw 0 2 |
103 |
/var/db/portage /export/portage none rw,bind 0 0 |
104 |
/var/share/storage /export/storage none rw,bind 0 0 |
105 |
/var/spool/cups-pdf /export/cups-pdf none rw,bind 0 0 |
106 |
/var/share/storage/Video/Film /export/storage/Video/Film none rw,bind 0 0 |
107 |
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nodev,noexec,nosuid 0 0 |
108 |
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0 |
109 |
nfsd /proc/fs/nfsd nfsd rw,nodev,noexec,nosuid 0 0 |
110 |
=========================== %< ============================= |