Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2000 22:04:57 -0600 (CST)
From:      Mike Meyer <mwm@mired.org>
To:        "Pieckiel, Kevin A" <pieckiel_ka@vdot.state.va.us>
Cc:        questions@freebsd.org
Subject:   Re: SCSI drive read-only?
Message-ID:  <14912.12265.525595.212575@guru.mired.org>
In-Reply-To: <55213432@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Pieckiel, Kevin A <pieckiel_ka@vdot.state.va.us> types:
> I installed FreeBSD 4.2 via FTP and used CVS to update, build, and install
> new binaries and a new (custom) kernel.  The machine has an Adaptec 3950B
> SCSI card, one 4 GB IDE hard drive (boot and system drive), and five 18.3 GB
> IBM SCSI drives (for data, hot-swappable).  This computer is to be our
> fileserver.  Whenever I try to do anything that writes to the SCSI drives
> (/dev/da{0-4}) I get "OPERATION NOT PERMITTED" as an error message.  I can
> read from the drive just fine using dd:
> 
> dd if=/dev/da0 of=junkfile bs=1024 count=1024
> 
> But if I try anything to write to the drive, it fails.  Any clue why?  I'd
> appreciate your help.

What does "sysctl kern.securelevel" say? If it's 2 or more, that's the
problem. See init(8) for details.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Unix/FreeBSD consultant,	email for more information.


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?14912.12265.525595.212575>