From owner-freebsd-questions Sun Mar 2 07:36:47 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA17574 for questions-outgoing; Sun, 2 Mar 1997 07:36:47 -0800 (PST) Received: from hil-img-2.compuserve.com (hil-img-2.compuserve.com [149.174.177.132]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id HAA17549 for ; Sun, 2 Mar 1997 07:36:42 -0800 (PST) Received: by hil-img-2.compuserve.com (8.6.10/5.950515) id KAA28424; Sun, 2 Mar 1997 10:36:11 -0500 Date: Sun, 2 Mar 1997 10:35:57 -0500 From: Ken Woodhouse Subject: Adding a second disk To: FreeBSD Questions Message-ID: <199703021036_MC2-11E6-2BD@compuserve.com> Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Hi I have been running FreeBSD on a single (wd0) disk. wd0s1 contains MSDOS, and FreeBSD (version 2.0.5) lives in wd0s3[abe]. I now have a second identical disk (wd2), which I have partitioned in the same way as the first, and have Windows-95 in wd2s1. I wish to partition wd2s3 in the same way as wd0s3, so that I can mount it and use it as a full backup area. Neither of the ways given in the FAQ notes work, and if I try using disklabel -e -r wd2 I get an error. I've tried to trick "sysinstall" into thinking it is doing an installation, in the hope that it will update the disk labels and run 'bad block table' before realizing that it can't go any further, but it's too clever for that, and won't pass through the media check phase. In looking through the code, I think what I need to do is use sysinstall to: 1. select wd2, and create partition wd2s3 2. create wd2s3[abe] in label editor 3. Enter "wizard" mode !!?? 4. invoke "write" command 5. exit wizard mode, and exit sysinstall 6. run bad block mapper "by hand". However, since the new disk IS my backup media, I thought it would be wise to run this by you guys first. If there is another way to do this, I am of course eager to hear it. thanks Ken Woodhouse.