Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 1998 08:44:14 -0400 (EDT)
From:      Patrick Gardella <patrick@cre8tivegroup.com>
To:        Bryce Newall <data@dreamhaven.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Add New Disk
Message-ID:  <XFMail.980623084414.patrick@cre8tivegroup.com>
In-Reply-To: <Pine.NEB.3.96.980622145724.9597Z-100000@voyager.dreamhaven.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 22-Jun-98 Bryce Newall wrote:
> I ran into the same trouble trying to add a new SCSI drive to my
> system.
> I found that I had to go to the partition editor first, and define
> the partition there.  Then, DON'T write the changes to disk yet; just
> hit Q to finish.  Then go to the label editor and define where you
> want your partition mounted, etc.  While you're in the label editor,
> *then* use W to write out the changes, and when you exit the label
> editor, it should mount and, if necessary, format, your partition.

That's the path I took when I got the errors:
Unable to add /dev/wd2s1b as a swap device:  Invalid Argument
Error mounting /dev/wd2s1e on /u2: Invalid Argument

I also tried the diskformat method from the tutorial section of the web
page.  Here are the results:

gateway# dd if=/dev/zero of=/dev/rwd2 count=2
wd2s1: type 0xb, start 63, end = 6314111, size 6314049 : OK
2+0 records in
2+0 records out
1024 bytes transferred in 0.000845 secs (1211898 bytes/sec)
gateway# disklabel /dev/rwd2 | disklabel -B -R -r wd2 /dev/stdin
wd2s1: type 0xb, start 63, end = 6314111, size 6314049 : OK
disklabel: ioctl DIOCSDINFO: No space left on device

Patrick

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980623084414.patrick>