From owner-freebsd-questions@FreeBSD.ORG Mon Nov 12 10:14:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 57EB9F46 for ; Mon, 12 Nov 2012 10:14:26 +0000 (UTC) (envelope-from matrix@itlegion.ru) Received: from corpmail.itlegion.ru (corpmail.itlegion.ru [84.21.226.211]) by mx1.freebsd.org (Postfix) with SMTP id 91B1E8FC08 for ; Mon, 12 Nov 2012 10:14:23 +0000 (UTC) Received: (qmail 21647 invoked from network); 12 Nov 2012 14:07:40 +0400 Received: from localhost-artem.itlegion.ru (HELO ?192.168.0.12?) (192.168.0.12) by 84.21.226.211 with SMTP; 12 Nov 2012 14:07:40 +0400 Message-ID: <50A0CA53.8050802@itlegion.ru> Date: Mon, 12 Nov 2012 14:07:15 +0400 From: Artem Kuchin Organization: IT Legion User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: Old file reappeared by itself Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2012 10:14:26 -0000 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