From owner-freebsd-current@FreeBSD.ORG Tue Jul 20 00:37:42 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 6B0AA106567A; Tue, 20 Jul 2010 00:37:42 +0000 (UTC) Date: Tue, 20 Jul 2010 00:37:42 +0000 From: Alexander Best To: Xin Li Message-ID: <20100720003742.GA95384@freebsd.org> References: <242312022.4636340.1279374040721.JavaMail.fmail@mwmweb017> <4C44C19C.4080302@delphij.net> <4C44D0BA.5080705@delphij.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C44D0BA.5080705@delphij.net> User-Agent: Mutt/1.4.2.1i Cc: "Sam Fourman Jr." , freebsd-current@freebsd.org, Michael Gusek Subject: Re: Problem with ZFS version 15 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2010 00:37:42 -0000 how about adding a periodic script to /etc/periodic/daily to backup the information? the idea was raised a long time ago already, but was abandoned [1]. cheers. alex [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/86388 On Mon, Jul 19, 2010 at 03:24:58PM -0700, Xin LI wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 2010/07/19 14:37, Sam Fourman Jr. wrote: > >> If you have previous saved gpart information (e.g. start/end) then you > >> can safely destroy and re-create the GPT partitions without destroying > >> the data. > >> > >> Note that you may need to backup and dd the first and last sector of > >> your hard drive before proceeding. > >> > > > > Could someone post a example of how to correctly backup a gpart > > partition information > > For now it would be to backup the first 34 and last 33 sectors of a > given disk. Another way would be to copy what gpart show says and > restore it manually. > > Cheers, > - -- > Xin LI http://www.delphij.net/ > FreeBSD - The Power to Serve! Live free or die > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.15 (FreeBSD) > > iQEcBAEBCAAGBQJMRNC6AAoJEATO+BI/yjfBEjcIAIj3e/n7DUBfXhaUKEOSrP2q > fvJlAKiQoDyRpzuovT/9/c9jCUxOOgpW43S7EVQ244uzgVEGB2Su5jXOjX6dU+rZ > ba0JwH60ANMB6RAsJFSk1cT6xMmQ4TMfSYCwwlx9p6Fbv2ejdd5gKE+zvbc20fwN > HIojqdF9xIW2XT3gjvAngn69c/0EtHoJVG1gydlO3H3te6iDVM6CY5yHV71WJrEk > cFDD6x65VYmC2GWYYbeokf2ud8nry1QjzxzBJRd9T0eHXPWweJBC7lOsIOSW5QYa > 1VsyhFE8s1xPwtYTAYFUw3IhBzJdLt36n+YAEQEbrX20/G5+Qn2oo/bw0kIYrFg= > =SsvG > -----END PGP SIGNATURE-----