Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2012 14:07:15 +0400
From:      Artem Kuchin <matrix@itlegion.ru>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Old file reappeared by itself
Message-ID:  <50A0CA53.8050802@itlegion.ru>

next in thread | raw e-mail | index | archive | help
Hello!

I think i saw things like this on this box in the past and i always=20
thought that i screwed up myself.
Buy today i am sure it happened by itself and i have proof.

First, config:

# uname -a
FreeBSD XXX 8.2-STABLE FreeBSD 8.2-STABLE #7: Tue Dec 27 20:43:27 GMT-4=20
2011     X@X:/usr/obj/usr/src/sys/OMNI4  amd64

# df
Filesystem    1K-blocks      Used     Avail Capacity  Mounted on
/dev/da0s1a     2026030    552382   1311566    30%    /
devfs                 1         1         0   100%    /dev
/dev/da0s1g   699765734 511489090 132295386    79%    /hosts
/dev/da0s1d    16244334      5562  14939226     0%    /tmp
/dev/da0s1f    20308398   8684136   9999592    46%    /usr
/dev/da0s1e    10154158     27062   9314764     0%    /var
devfs                 1         1         0   100%    /var/named/dev
/hosts/hoster 699765734 511489090 132295386    79% /hosts/X1/hoster
/hosts/hoster 699765734 511489090 132295386    79% /hosts/X2/hoster
/hosts/hoster 699765734 511489090 132295386    79% /hosts/X3/hoster
/hosts/hoster 699765734 511489090 132295386    79% /hosts/X4/hoster
/usr/ports     20308398   8684136   9999592    46% /hosts/X1/usr/ports
/usr/ports     20308398   8684136   9999592    46% /hosts/X2/usr/ports
/usr/ports     20308398   8684136   9999592    46% /hosts/X3/usr/ports
/usr/ports     20308398   8684136   9999592    46% /hosts/X4/usr/ports

# tunefs -p /dev/da0s1a
tunefs: POSIX.1e ACLs: (-a)                                disabled
tunefs: NFSv4 ACLs: (-N)                                   disabled
tunefs: MAC multilabel: (-l)                               disabled
tunefs: soft updates: (-n)                                 disabled
tunefs: gjournal: (-J)                                     disabled
tunefs: trim: (-t)                                         disabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)                            16384
tunefs: average number of files in a directory: (-s)       64
tunefs: minimum percentage of free space: (-m)             8%
tunefs: optimization preference: (-o)                      time
tunefs: volume label: (-L)

# tunefs -p /dev/da0s1e
tunefs: POSIX.1e ACLs: (-a)                                disabled
tunefs: NFSv4 ACLs: (-N)                                   disabled
tunefs: MAC multilabel: (-l)                               disabled
tunefs: soft updates: (-n)                                 enabled
tunefs: gjournal: (-J)                                     disabled
tunefs: trim: (-t)                                         disabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)                            16384
tunefs: average number of files in a directory: (-s)       64
tunefs: minimum percentage of free space: (-m)             8%
tunefs: optimization preference: (-o)                      time
tunefs: volume label: (-L)

Memory:16GB,
CPU: 8cores XEON
DISKS: RAID10 (4 disks)

The machines runs 4 jails. Everything is in the jails except NAMED.
Named is run on the root host (if i may say so) itself.
There is a zone file there which i changed last week.
Today in the morning i try to open a site and host name is not found. It =

worked on friday.
I went to see the the zone file. IT WAS DATED 2010 !!!! I open it and=20
the serial number is
something like 201103021. I do all my serials using dates, so, while the =

file date is 2010
the content is from 2011 and it sure does looks so.
Then i go to secondary zone (slave) on another server and there i find=20
the zone from last week.
I checked all logs  and did not find anything special. The zone file=20
from 2010 just reappeared
from nowhere kill all the new changes.
As i said, i saw things like this in the past. It happened insides jails =

and was related to files
for web sites and i thought that i and someone else messed up. No i=20
think i saw the same thing.

How, how the hell it is possible?

Artem






--=20
=F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD,
=E1=D2=D4=C5=CD =EB=D5=DE=C9=CE
=EB=CF=CD=D0=C1=CE=C9=D1 "=E1=CA =F4=C9 =EC=C5=C7=C9=CF=CE"
www.itlegion.ru
www.hostilla.ru
+7 (495) 232-0338






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50A0CA53.8050802>