Subject: Re: Problems mounting drive
To: J. Benedict <raoul@olympus.net>
From: Colin Wood <cwood@ichips.intel.com>
List: port-mac68k
Date: 01/31/1998 16:27:00
J. Benedict wrote:

> I've run out of disk space on my main drive and decided to add another one
> I had to give a little more space.
> 
> First, my setup:  IIcx, 8megs, NetBSD 1.3, GENERIC kernel, 160 meg drive as
> scsi ID 5, formatted as root and usr.
> 
> I attached another drive (80 meg at scsi ID 0) and formatted it as an A/UX
> data drive with Alliance Tools.  I ran mkfs on the partition, started up
> the Installer and used the mini-shell to delete the previous /etc/fstab and
> then re-made the devices, creating a new fstab file.  All of the
> indications so far seem fine.
> 
> I then make a mount point for the drive: /archive

Sounds good so far....did you successfully mount the drive in the
mini-shell?
 
> When I attempt to mount the drive, logged in a root, this is what I get:
> 
> # mount -t ffs /dev/sd0b /archive
> sd0:(ncrscsi0:0:0): error code 0
> sd0:(ncrscsi0:0:0): error code 0
> mount_ffs: /dev/sd0b on /archive: Input/output error
> Feb 1 15:40:37  /netbsd: sd0(ncrscsi0:0:0): error code 0
> # Feb 1 15:40:37  /netbsd: sd0(ncrscsi0:0:0): error code 0
> 
> I've tried it multiple times and get the same result. This would indicate
> some sort of kernel problem but what do I know?  I'm still a wannabe geek,
> not a real geek like some of you guys! ;)

Hmmm....are you sure that the partition is really on sd0b?  I believe that
it should be sd0a if it's a "root&usr" type partition or sd0g if it's a
"usr" type partition, but I could be misremembering...

Do a:

disklabel sd0

as root and see where the NetBSD partition is.

I hope this helps.

Later.

-- 
Colin Wood                                 cwood@ichips.intel.com
Component Design Engineer - MD6                 Intel Corporation
-----------------------------------------------------------------
I speak only on my own behalf, not for my employer.