From owner-freebsd-questions@freebsd.org Tue Jan 5 17:12:40 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 846E3A62136 for ; Tue, 5 Jan 2016 17:12:40 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 56A61127F; Tue, 5 Jan 2016 17:12:40 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id u05HCcfi021619 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 5 Jan 2016 10:12:38 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id u05HCcj7021616; Tue, 5 Jan 2016 10:12:38 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 5 Jan 2016 10:12:38 -0700 (MST) From: Warren Block To: Matthew Seaman cc: Shahin Hasanov , FREEBSD_QUESTION Subject: Re: There is problem during dump/restore. In-Reply-To: <568BD0FB.5020303@FreeBSD.org> Message-ID: References: <568BC37C.2010903@FreeBSD.org> <568BD0FB.5020303@FreeBSD.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 05 Jan 2016 10:12:38 -0700 (MST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2016 17:12:40 -0000 On Tue, 5 Jan 2016, Matthew Seaman wrote: > On 05/01/2016 13:39, Shahin Hasanov wrote: >> Thank you Matthew, >> I have two HDD da0,da1 >> da0 is 147GB - ufs >> da1 is 1.1TB - zfs > > Ah -- there is your problem. dump/restore only works with UFS. The description was confusing, but appeared to be restoring to a UFS filesystem from a dumpfile saved on a ZFS filesystem. I think (but have not tested) that restore should work on ZFS or other filesystems if they support the same attributes, because restore writes at the file level. The target filesystem does not have to be empty, but if there are files in it with the same names as those being restored, the -u option will stop restore from complaining about them. It does make the restore take longer.