Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2013 21:22:23 +0200
From:      Joerg Wunsch <j@uriah.heep.sax.de>
To:        freebsd-sparc64@freebsd.org
Subject:   Re: disk block failing on root disk on sun blade 1000
Message-ID:  <20130524192223.GJ25595@uriah.heep.sax.de>
In-Reply-To: <519F2090.9070000@gmx.it>
References:  <519F2090.9070000@gmx.it>

next in thread | previous in thread | raw e-mail | index | archive | help
As fddi wrote:

> so my question is how can I backup the rootfs and restore it with its 
> boot block when I replace the root disk partition with a brand new disk ?

sunlabel da0 > /tmp/label
sunlabel -Bw da1 /tmp/label

should work, IMHO.

Afterwards, create and mount the filesystem, and dump | restore.
-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



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