Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 2016 15:24:46 +0100 (CET)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        Matthew Seaman <matthew@FreeBSD.org>
Cc:        Shahin Hasanov <shahinhasanov@hotmail.com>, FREEBSD_QUESTION <freebsd-questions@freebsd.org>
Subject:   Re: There is problem during dump/restore.
Message-ID:  <alpine.BSF.2.20.1601051523440.65744@mail.fig.ol.no>
In-Reply-To: <568BD0FB.5020303@FreeBSD.org>
References:  <DUB127-W87D679C1AAA8A0C5276BD8B6F30@phx.gbl> <568BC37C.2010903@FreeBSD.org> <DUB127-W4413B16E22DB29A4F637D9B6F30@phx.gbl> <568BD0FB.5020303@FreeBSD.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, 5 Jan 2016 14:19-0000, 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.

It's UFS. Read the post again.

/dev/da0p2 aka /mnt/test, is a brand new UFS.

> However, if what you want to do is copy a directory heirarchy from one
> place to another preserving ownership and permissions and so forth, then
> there are very many ways to do that.
> 
> Two suggestions:
> 
>   1) Using stuff from the base system only:
> 
>   # cd /src/dir
>   # tar -cf - . | ( cd /dest/dir ; tar -xvf - )
> 
>   2) Using rsync(1) from ports:
> 
>   # rsync -avx /src/dir/ /dest/dir/
> 
>   (Note the trailing slashes on the directory paths -- they're
>    important with rsync.)
> 
> 	Cheers,
> 
> 	Matthew

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
From owner-freebsd-questions@freebsd.org  Tue Jan  5 14:29:49 2016
Return-Path: <owner-freebsd-questions@freebsd.org>
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 DE6BAA626A3
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Tue,  5 Jan 2016 14:29:49 +0000 (UTC)
 (envelope-from michaelsprivate@gmail.com)
Received: from mail-yk0-x22d.google.com (mail-yk0-x22d.google.com
 [IPv6:2607:f8b0:4002:c07::22d])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id A4F961629
 for <freebsd-questions@freebsd.org>; Tue,  5 Jan 2016 14:29:49 +0000 (UTC)
 (envelope-from michaelsprivate@gmail.com)
Received: by mail-yk0-x22d.google.com with SMTP id x67so282490760ykd.2
 for <freebsd-questions@freebsd.org>; Tue, 05 Jan 2016 06:29:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc:content-type;
 bh=9PLQtJ0/c2Wag+fE50vNOxHXgC/wavsKULmgabRQpRE=;
 b=rDHC8gCI0wKAECe4pp6oEL8BL2bXJNNPM8kSgwuwL+/6FpUEIa1it+jSz7gA/D/h0Z
 kAz/YrgNDVOG/AEBANcEVpy+siErfEZybW/xy6xOdnszkjikHNXVou5wEen1TOwop3w/
 EYgKZK2lWLLD23RnRLqkt1wZVoECzD56vPzP0c409ptdusyWQhfmgjpf2XSXRuNEnBLC
 QPhMRU38us7PCn5HFl68DUFERAnu8GXhFMDGbfIblapqF7BlXrAjOba2Cno2hg5CKQ8N
 QRGMDyJqEUAaFFg0HTlJ1pW7b663W7smRY8oA1L23Ck9pGfdEhqrDaZSiHYaMF1Xtc2u
 uvag==
X-Received: by 10.129.27.13 with SMTP id b13mr64895773ywb.133.1452004188867;
 Tue, 05 Jan 2016 06:29:48 -0800 (PST)
MIME-Version: 1.0
Received: by 10.37.210.145 with HTTP; Tue, 5 Jan 2016 06:29:29 -0800 (PST)
In-Reply-To: <DUB127-W87D679C1AAA8A0C5276BD8B6F30@phx.gbl>
References: <DUB127-W87D679C1AAA8A0C5276BD8B6F30@phx.gbl>
From: Michael Schuster <michaelsprivate@gmail.com>
Date: Tue, 5 Jan 2016 15:29:29 +0100
Message-ID: <CADqw_gJ8RNcXp8-6VEgH-mrdhuJtFtqmVYdM-ZRvX6f_4JAWdg@mail.gmail.com>
Subject: Re: There is problem during dump/restore.
To: Shahin Hasanov <shahinhasanov@hotmail.com>
Cc: FREEBSD_QUESTION <freebsd-questions@freebsd.org>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.20
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Jan 2016 14:29:50 -0000

Hi,

On Tue, Jan 5, 2016 at 1:32 PM, Shahin Hasanov <shahinhasanov@hotmail.com>
wrote:

> dump -0 -a -f /home/USER/node2.dump /dev/da0p2
>
> When I trying
> # restore -r -f /mnt/node2.dump
>
> I was gave error message
>
> cannot find directory inode 10032011
> abort? [yn] n
> cannot find directory inode 10032013
> abort? [yn] n
>


Was there activity on this file system during the dump phase?

Michael
-- 
Michael Schuster
http://recursiveramblings.wordpress.com/



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1601051523440.65744>