From owner-freebsd-questions@freebsd.org Tue Jan 5 13:22:22 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 6C4CCA628A4 for ; Tue, 5 Jan 2016 13:22:22 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F01641D9C for ; Tue, 5 Jan 2016 13:22:21 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local ([IPv6:2001:8b0:151:1:2ef0:eeff:fe24:fa38]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id u05DMBgP003362 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 5 Jan 2016 13:22:11 GMT (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk u05DMBgP003362 Authentication-Results: smtp.infracaninophile.co.uk/u05DMBgP003362; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host [IPv6:2001:8b0:151:1:2ef0:eeff:fe24:fa38] claimed to be zero-gravitas.local Subject: Re: There is problem during dump/restore. To: freebsd-questions@freebsd.org References: From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <568BC37C.2010903@FreeBSD.org> Date: Tue, 5 Jan 2016 13:22:04 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fulRBxi0rNkRL7oT6u7S7JNRv5aJpOAf2" X-Virus-Scanned: clamav-milter 0.99 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk 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 13:22:22 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --fulRBxi0rNkRL7oT6u7S7JNRv5aJpOAf2 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2016/01/05 12:32, Shahin Hasanov wrote: > =20 > I had server FreeBSD 10.1 > I make dump: >=20 > dump -0 -a -f /home/USER/node2.dump /dev/da0p2 >=20 > When I trying > # restore -r -f /mnt/node2.dump >=20 > I was gave error message=20 >=20 > cannot find directory inode 10032011 > abort? [yn] n > cannot find directory inode 10032013 > abort? [yn] n How big is the filesystem you're restoring to compared to the one you dumped? You did create a new, empty filesystem to restore into, mount that and change directory to the mount point before attempting the restore? And you didn't copy the dumpfile 'node2.dump' into the filesystem you're attempting to restore to -- 'restore -r' wants a brand new, empty filesystem initially? Are you using SU+J (Soft Updates + Journalling) on the newly created filesystem? While that's the default for the system installer nowadays, it doesn't actually play well with dump/restore. Cheers, Matthew --fulRBxi0rNkRL7oT6u7S7JNRv5aJpOAf2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJWi8ODXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnfmEP/jGYQkKHw19GbHswF0HTeEvL w4TnAhjKUtaDuoJ5d1QQazIfJPADdgB7o91Zegxq5tfemGBTfui+z32LOHPX0fvQ UfQ1NFvx0FXJ4awkxbD0oLkly3PnzQLa3ANFMo7WkvlYyE6xGG/Uli5pGRAanYHG GQBxitP/OkN9DC2cBQaqQGtzyYPt/Ek32dZ9lBcr8oHynnWe6U+qsjtYFgMJhZ0q Ap5vjLyCdyAGgUHSmXkG6srgKj0tkx4P2pC+1pxPTu8PbPL0mUswEmzxhj2gE/VU Ba+VDHJDfrHTFpVDjeeFZRUyd98sAqgWlp2ghXPC0xrjwZo+r5cWvNxpoLuu2i8y mIy4YYVyT0mQC1aVav/aoeMtJWkDRMD3p8AJi3gB0ALoeGPBkYaPeTckVkHRHq4u 8mXnfT2gO4a57MdnXNrMoQvT8GoRqOqc6y0TBzRoszMqwLkX3Z6MyQdrKhr9Zg+B dvurCH6GKjDxQBoQDSmkVyUyzZhz7+BjcRdXi25ezhNVWH+xrSzNKgsyV2boGRD9 TBtuMfNgaND84tgx+M8h685kmKmmo0vnkZP8oQid6BmQXJsPPSqx8YajL9L88A+6 C2moVmKrHvNyRg+Gc8H6smYi4x8/Aa+qsveXuLihfDKjif4TkJGxv1WbfvZMe5Lt u/1oGmK7ZngPTOhcYrLq =1bil -----END PGP SIGNATURE----- --fulRBxi0rNkRL7oT6u7S7JNRv5aJpOAf2--