From owner-freebsd-questions@FreeBSD.ORG Wed Apr 11 07:01:03 2007 Return-Path: X-Original-To: questions@freebsd.org 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 6432516A400 for ; Wed, 11 Apr 2007 07:01:03 +0000 (UTC) (envelope-from toomas.aas@raad.tartu.ee) Received: from kuller.raad.tartu.ee (kuller.raad.tartu.ee [194.126.106.100]) by mx1.freebsd.org (Postfix) with ESMTP id 1CE6A13C4BA for ; Wed, 11 Apr 2007 07:01:03 +0000 (UTC) (envelope-from toomas.aas@raad.tartu.ee) Received: from localhost (localhost [127.0.0.1]) by kuller.raad.tartu.ee (Postfix) with ESMTP id 4A4FBB81B for ; Wed, 11 Apr 2007 09:36:57 +0300 (EEST) X-Virus-Scanned: amavisd-new at post.raad.tartu.ee Received: from kuller.raad.tartu.ee ([127.0.0.1]) by localhost (kuller.raad.tartu.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Brxtoht9eg7u for ; Wed, 11 Apr 2007 09:36:55 +0300 (EEST) Received: from raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110]) by kuller.raad.tartu.ee (Postfix) with ESMTP id 5CDA7B813 for ; Wed, 11 Apr 2007 09:36:55 +0300 (EEST) Received: from INFO/SpoolDir by raad.tartu.ee (Mercury 1.48); 11 Apr 07 09:36:55 +0300 Received: from SpoolDir by INFO (Mercury 1.48); 11 Apr 07 09:36:36 +0300 Received: from [172.26.1.3] (172.26.1.3) by raad.tartu.ee (Mercury 1.48) with ESMTP; 11 Apr 07 09:36:33 +0300 Message-ID: <461C81F1.4030208@raad.tartu.ee> Date: Wed, 11 Apr 2007 09:36:33 +0300 From: Toomas Aas User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: gmirror device numbers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2007 07:01:03 -0000 Hello! I have a server with gmirror volumes. Backup of this server is being done with Amanda, which uses GNU tar and its --listed-incremental option (snapshot files) in order to do incremental backups. It seems that gmirror devices get a different 'device number' on each boot (each time the gmirror is created). Since the device number is stored in GNU tar's snapshot file, it effectively means that after rebooting GNU tar sees all files as having been changed since previous backup. This causes huge incremental backups. Is there a way to force a gmirror device to have a 'fixed' device number? -- Toomas Aas