Date: Sat, 11 Mar 2006 09:39:04 -0500 From: Chuck Swiger <cswiger@mac.com> To: Grant Peel <gpeel@thenetnow.com>, freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: Fw: dd - cloning a disk. Second Part! Message-ID: <4412E108.9020902@mac.com> In-Reply-To: <001e01c64518$3df70b90$6701a8c0@GRANT> References: <001e01c64518$3df70b90$6701a8c0@GRANT>
next in thread | previous in thread | raw e-mail | index | archive | help
Grant Peel wrote: > I the answer is yes to the first question (original question), then, > what happens if one 'dd's a small, say 36 GM disk to a larger one, say > 73 GB. Can the newly made disk be resized so as not to loose 1/2 of it? If you partition the bigger disk into two fdisk partitions, one of which is exactly the size of your original disk, you could use dd to copy the contents of the BSD slice from one disk to the other, and then use newfs to create a separate filesystem on the second fdisk partition. However, if you want to use the entire 73GB space at once, use dump and restore to copy the data instead. There's detailed documentation on this on the FreeBSD website... -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4412E108.9020902>