Date: Wed, 25 Dec 1996 19:39:11 +0000 () From: Richard Chen <rlchen@aimhi.com> To: questions@freebsd.org Cc: www@freebsd.org Subject: device not configured Message-ID: <Pine.BSF.3.91.961225193355.6218A-100000@aimhi.com>
next in thread | raw e-mail | index | archive | help
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 ==================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961225193355.6218A-100000>