From owner-freebsd-questions@FreeBSD.ORG Wed May 6 09:02:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDDB6106566B for ; Wed, 6 May 2009 09:02:04 +0000 (UTC) (envelope-from mcoyles@horbury.wakefield.sch.uk) Received: from smtp2.yhgfl.net (smtp3.yhgfl.net [89.207.208.210]) by mx1.freebsd.org (Postfix) with ESMTP id 937668FC34 for ; Wed, 6 May 2009 09:02:04 +0000 (UTC) (envelope-from mcoyles@horbury.wakefield.sch.uk) Received: from smtp2.yhgfl.net (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 9B0151BC05C2_A015200B for ; Wed, 6 May 2009 09:01:52 +0000 (GMT) Received: from smtp3-wak.yhgfl.net (eca.yhgfl.net [89.207.208.91]) by smtp2.yhgfl.net (Sophos Email Appliance) with ESMTP id 47DEC1BC05F4_A0151FFF for ; Wed, 6 May 2009 09:01:51 +0000 (GMT) Received: from horbury.wakefield.sch.uk ([10.126.96.34]) by smtp3-wak.yhgfl.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4691oxu004756 for ; Wed, 6 May 2009 10:01:51 +0100 Received: from ITTEAM02 [10.126.96.253] by horbury.wakefield.sch.uk with ESMTP (SMTPD32-7.07) id A1F371F0084; Wed, 06 May 2009 10:01:39 +0100 From: "Marc Coyles" To: References: <00d301c9cd65$62298910$267c9b30$@wakefield.sch.uk> <44pren4cy5.fsf@be-well.ilk.org> In-Reply-To: <44pren4cy5.fsf@be-well.ilk.org> Date: Wed, 6 May 2009 10:01:36 +0100 Message-ID: <009401c9ce29$42b9bea0$c82d3be0$@wakefield.sch.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcnNsAUV6FfdhJrqQWqSV211mtF2fAAbNa2g Content-Language: en-gb X-YHGfL-MailScanner-Information: Please contact the YHGfL Foundation for more information X-YHGfL-MailScanner: Found to be clean X-YHGfL-MailScanner-MCPCheck: MCP-Clean, MCP-Checker (score=0, required 0.5) X-YHGfL-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 5, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-MailScanner-From: mcoyles@horbury.wakefield.sch.uk Subject: RE: Dump snapshot issue... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mcoyles@horbury.wakefield.sch.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2009 09:02:06 -0000 > One thing you should try is to remove the dump_snapshot files, > because > they are supposed to be unlinked when the dump starts anyway, so > they > shouldn't be sticking around. > > Also, look for file flags on the directories, or ACLs, etc. > > And consider the permissions you're running dump with. > Dump is running as root via cron / initiated by hand. ACLs not used. Have removed all existing dump_snapshot files, and have also removed and recreated all .snap directories. S'now working fine for all mountpoints, except /home... mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error dump: Cannot create /home/.snap/dump_snapshot: No such file or directory It doesn't appear to proceed "as normal" either... as you can see below, it ends the previous dump, starts the /home dump, gets an I/O error, then proceeds straight to the /usr dump. The /home dump never gets performed. If I remove the -L option, everything goes thru fine, but complains about lack of -L flag... DUMP: DUMP IS DONE mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error dump: Cannot create /home/.snap/dump_snapshot: No such file or directory DUMP: Date of this level 0 dump: Wed May 6 08:30:31 2009 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/da0s1e (/usr) to standard output Fsck finds no errors on /home... point to note... mksnap_ffs CAN create /home/.snap/dump_snapshot as I'm sat looking at the file, however, once it's created it it's as tho it can't access it. The file is there, it wasn't before I ran the script. It's created it as root:operator, perms 400. I can open it in pico, add content to it, and save it happily. So I'm baffled! M