From owner-freebsd-questions Wed Dec 25 17:20:21 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id RAA00119 for questions-outgoing; Wed, 25 Dec 1996 17:20:21 -0800 (PST) Received: from aimhi.com (aimhi.com [205.243.42.34]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id RAA29994; Wed, 25 Dec 1996 17:20:17 -0800 (PST) Received: (from rlchen@localhost) by aimhi.com (8.7.5/8.7.3) id TAA06289; Wed, 25 Dec 1996 19:39:12 GMT Date: Wed, 25 Dec 1996 19:39:11 +0000 () From: Richard Chen To: questions@freebsd.org cc: www@freebsd.org Subject: device not configured Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi Sir, I plan to add a new disk to the existing service. I put the disk in secondary master and copy the template of the wd0 using disklabel -r > file. I manually edited the file to wd2s1 and keep the remaining data the same. Then I MAKEDEV wd2s1a to create all the related dev files for wd2 slice entries. Then I disklabel -Rr wd2 file to put the new label into wd2. Now when I ran newfs /dev/rwd2s1e or g or f I got DEVICE NOT CONFIGURED. My server needs to run 24 hrs and I hesitate to take it off line. I have no problem to newfs /dev/rwd2e or f or g. I want to use the same slice as wd0 to have a mirror disk. Is there anyway I can do without shutdown the system? Below is my layout file: # /dev/rwd2c: type: ESDI disk: wd2s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 64 sectors/cylinder: 4032 cylinders: 620 sectors/unit: 2503809 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 143360 0 4.2BSD 0 0 0 # (Cyl. 0 - 35*) b: 133120 143360 swap # (Cyl. 35*- 68*) c: 2503809 0 unused 0 0 # (Cyl. 0 - 620*) e: 1024000 276480 4.2BSD 0 0 0 # (Cyl. 68*- 322*) f: 1024000 1300480 4.2BSD 0 0 0 # (Cyl. 322*- 576*) g: 179329 2324480 4.2BSD 0 0 0 # (Cyl. 576*- 620*) Thanks, Richard Chen ================================== End Part 2 ==================================