1 |
Hi Gentoo-users, |
2 |
|
3 |
I noted one strange thing today: It seems one of my servers lost "/"! |
4 |
|
5 |
vs5-dns ~ # df |
6 |
Filesystem 1K-blocks Used Available Use% Mounted on |
7 |
/var/log/named 10138552 2223148 7377344 24% /chroot/dns/var/log/named |
8 |
tmpfs 308196 420 307776 1% /run |
9 |
dev 10240 0 10240 0% /dev |
10 |
shm 1540968 0 1540968 0% /dev/shm |
11 |
cgroup_root 10240 0 10240 0% /sys/fs/cgroup |
12 |
none 1048576 0 1048576 0% /var/tmp/portage |
13 |
|
14 |
And it seems I found the thief who stole it: |
15 |
|
16 |
vs5-dns ~ # /etc/init.d/named stop |
17 |
* Caching service dependencies ... [ ok ] |
18 |
* Stopping chrooted named ... |
19 |
* Umounting chroot dirs ... |
20 |
* umounting /chroot/dns/etc/bind ... [ ok ] |
21 |
* umounting /chroot/dns/var/log/named ... [ ok ] |
22 |
* umounting /chroot/dns/var/bind ... [ ok ] |
23 |
vs5-dns ~ # df |
24 |
Filesystem 1K-blocks Used Available Use% Mounted on |
25 |
/dev/sda2 10138552 2223140 7377352 24% / |
26 |
tmpfs 308196 416 307780 1% /run |
27 |
dev 10240 0 10240 0% /dev |
28 |
shm 1540968 0 1540968 0% /dev/shm |
29 |
cgroup_root 10240 0 10240 0% /sys/fs/cgroup |
30 |
none 1048576 0 1048576 0% /var/tmp/portage |
31 |
vs5-dns ~ # /etc/init.d/named start |
32 |
* Starting chrooted named ... |
33 |
* Mounting chroot dirs |
34 |
* mounting /etc/bind to /chroot/dns/etc/bind [ ok ] |
35 |
* mounting /var/bind to /chroot/dns/var/bind [ ok ] |
36 |
* mounting /var/log/named to /chroot/dns/var/log/named [ ok ] |
37 |
* Checking named configuration ... [ ok ] |
38 |
vs5-dns ~ # df |
39 |
Filesystem 1K-blocks Used Available Use% Mounted on |
40 |
/var/log/named 10138552 2223160 7377332 24% /chroot/dns/var/log/named |
41 |
tmpfs 308196 420 307776 1% /run |
42 |
dev 10240 0 10240 0% /dev |
43 |
shm 1540968 0 1540968 0% /dev/shm |
44 |
cgroup_root 10240 0 10240 0% /sys/fs/cgroup |
45 |
none 1048576 0 1048576 0% /var/tmp/portage |
46 |
vs5-dns ~ # |
47 |
|
48 |
So it seems whenever chrooted bind/named is running, "/" simply |
49 |
dissapeares from the list of mounted filesystem. Instead of it, |
50 |
chrooted /var/log/named is listed. Is this correct behaviour??? |
51 |
|
52 |
This is a little problem for me, as I run monitoring software |
53 |
which (appart from other things) check filesystems if they are |
54 |
not close to being full. With bind/named running it complains |
55 |
it can not find "/" in df output. I'd like to get my "/" back, |
56 |
but I do not know how to do it... |
57 |
|
58 |
Jarry |
59 |
-- |
60 |
_______________________________________________________________ |
61 |
This mailbox accepts e-mails only from selected mailing-lists! |
62 |
Everything else is considered to be spam and therefore deleted. |