From owner-freebsd-fs@FreeBSD.ORG Tue May 8 11:11:55 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 771AC16A401 for ; Tue, 8 May 2007 11:11:55 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [82.208.36.70]) by mx1.freebsd.org (Postfix) with ESMTP id 38F5B13C43E for ; Tue, 8 May 2007 11:11:55 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id AD91E19E02A for ; Tue, 8 May 2007 12:54:10 +0200 (CEST) Received: from [192.168.1.2] (grimm.quip.cz [213.220.192.218]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTP id C692F19E027 for ; Tue, 8 May 2007 12:54:05 +0200 (CEST) Message-ID: <464056D0.2090003@quip.cz> Date: Tue, 08 May 2007 12:54:08 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: dump doesn't work on mdconfig mounts X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2007 11:11:55 -0000 Hi, when dump is used on an mdconfig mount it doesn't work: # dump -0aLf - /vol0/jail/alpha | ( cd /vol0/jail/beta ; restore -ruf - ) DUMP: WARNING: Cannot use -L on an unmounted filesystem. dump: /vol0/jail/alpha: unknown file system Tape is not a dump tape # mount | grep alpha /dev/md0c on /vol0/jail/alpha (ufs, local, soft-updates) devfs on /vol0/jail/alpha/dev (devfs, local) # df -h | grep alpha /dev/md0c 9.7G 381M 8.5G 4% /vol0/jail/alpha devfs 1.0K 1.0K 0B 100% /vol0/jail/alpha/dev If I test it with /dev/md0c instead of /vol0/jail/alpha, it works fine. # dump -0aLf - /dev/md0c | ( cd /vol0/jail/beta; restore -ruf - ) DUMP: Date of this level 0 dump: Tue May 8 11:13:13 2007 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/md0c to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 445288 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] expected next file 47281, got 7 DUMP: 34.19% done, finished in 0:09 at Tue May 8 11:27:54 2007 DUMP: DUMP: 468312 tape blocks DUMP: finished in 410 seconds, throughput 1142 KBytes/sec DUMP: DUMP IS DONE (very slow but it works) Is it expected, that dump says "unknown file system" or is it a bug? Is there any PR for it? FreeBSD 6.2-RELEASE-p4 Miroslav Lachman