Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jun 2010 16:13:04 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Giorgos Tsiapaliokas <terietor@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: resize freebsd slice
Message-ID:  <20100612161304.61df18f3.freebsd@edvax.de>
In-Reply-To: <AANLkTikmOG5cNKRqPQNflJ10HgPKxKiCbgn7ldHT3ure@mail.gmail.com>
References:  <AANLkTikmOG5cNKRqPQNflJ10HgPKxKiCbgn7ldHT3ure@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 12 Jun 2010 04:32:17 +0300, Giorgos Tsiapaliokas <terietor@gmail.com> wrote:
> i have a problem while i am trying to restore the dump files..
> 
> i followed your instructions but when i give
> 
> "restore -rf /backup/root.dump" i receive the following error:
> 
> expected next file 188417,got 4

This *may* be okay, but it would be good if you would check the
recent mailing list archives; as far as I remember, it has been
discussed in detail (and with examples) about how to clone a
system from one disk to another, also using dump + restore.



> and the output of ls in the /mnt directory is:
> .snap
> restoresymtable
> terietor

I'm not sure what the third entry should be; can you provide
"ls -laF /mnt/" and additionally check that your root.dump has
a size corresponding to the occupation of the / partition the
dump was taken from?

Remeber: Only a working backup is a (good) backup.

According to "man restore":

	Note that restore leaves a file restoresymtable in the root
	directory to pass information between incremental restore passes.
	This file should be removed when the last incremental has been
	restored.

Did you make a full or incremental dump?



> what is going on?




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100612161304.61df18f3.freebsd>