From owner-freebsd-questions Tue Dec 14 7:17:46 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns2.interlinks.net (ns2.interlinks.net [207.107.160.2]) by hub.freebsd.org (Postfix) with ESMTP id E459815126 for ; Tue, 14 Dec 1999 07:17:36 -0800 (PST) (envelope-from sysop@interlinks.net) Received: from server (ns3.interlinks.net [207.107.160.3]) by ns2.interlinks.net (8.10.0.Beta6/8.10.0.Beta6) with SMTP id dBEFHXV05840; Tue, 14 Dec 1999 10:17:33 -0500 (EST) Message-ID: <006c01bf4645$fb24bd80$03a06bcf@interlinks.net> From: "Bill Sandiford" To: "Peter A. Schwenk" Cc: References: <001301bf45bd$2a2d98b0$03a06bcf@interlinks.net> <38559F55.B4E071F6@voicenet.com> Subject: Re: help adding new drive - getting newfs error Date: Tue, 14 Dec 1999 10:14:56 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have tried using the /stand/sysinstall method...partition gets created fine but when I choose W to write changes in the Label editors it asks me to confirm...i say yes and it comes back saying... Error mounting /dev/wd2s1e on /newdisk : Invalid Argument I am really stuck here... Help ----- Original Message ----- From: Peter A. Schwenk To: Bill Sandiford Sent: Monday, December 13, 1999 8:37 PM Subject: Re: help adding new drive - getting newfs error > It's usually easier to use the installation program /stand/sysinstall to > setup disks. If you choose 'Configure' from the front menu, you will > then find the disklabel editor and the partition options. > > Bill Sandiford wrote: > > > I am trying to install a new 17.3 ide drive in my machine using one of > > either of the following 2 methods from the handbook > > > > # dd if=/dev/zero of=/dev/rda1 bs=1k count=1 > > # disklabel -Brw da1 auto > > # disklabel -e da1 # create the `e' partition > > # newfs -d0 /dev/rda1e > > # mkdir -p /1 > > # vi /etc/fstab # add an entry for /dev/da1e > > # mount /1 > > > > An alternate method is: > > > > # dd if=/dev/zero of=/dev/rda1 count=2 > > # disklabel /dev/rda1 | disklabel -BrR da1 /dev/stdin > > # newfs /dev/rda1e > > # mkdir -p /1 > > # vi /etc/fstab # add an entry for /dev/da1e > > # mount /1 > > > > As soon as I run the newfs command as listed above I get the following > > error. > > > > Dec 13 17:53:48 ns2 /kernel: wd2c: hard error reading fsbn 33793228 of > > 33793228-33793231 (wd2 bn 33793228; cn 33525 tn 0 sn 28)wd2: status > > 59 error 10 > > > > Any help would be appreciated > > > > Bill > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message