resize freebsd slice

Polytropon freebsd at edvax.de
Sat Jun 12 14:13:21 UTC 2010


On Sat, 12 Jun 2010 04:32:17 +0300, Giorgos Tsiapaliokas <terietor at 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, ...


More information about the freebsd-questions mailing list