Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jul 2001 00:26:40 -0600
From:      Warner Losh <imp@harmony.village.org>
To:        Jeff Mohler <supra87t@yahoo.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: best way to migrate to a new disk 
Message-ID:  <200107080626.f686QeJ76449@harmony.village.org>
In-Reply-To: Your message of "Sat, 07 Jul 2001 18:39:59 PDT." <20010708013959.16876.qmail@web10301.mail.yahoo.com> 
References:  <20010708013959.16876.qmail@web10301.mail.yahoo.com>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010708013959.16876.qmail@web10301.mail.yahoo.com> Jeff Mohler writes:
: I need to upgrade to a new HD now that the current one
: has shows some reliability issues..and Im polling for
: what is the best method to do so.

buy new disk.
install disk
disklabel da1
newfs filesystems.
mount fs under /da1
for each partion fs on da0:
	cd /da1/$fs
	dump 0f - /$fs  | restore -rf -
tweak /da1/etc/fstab
disklabel -B da1
bring the system down
Rejumper the da1 to da0 and remove the old da0

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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