From owner-freebsd-questions Tue Dec 19 20: 5: 0 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 19 20:04:58 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 2DF0B37B400 for ; Tue, 19 Dec 2000 20:04:58 -0800 (PST) Received: (qmail 2145 invoked by uid 100); 20 Dec 2000 04:04:57 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14912.12265.525595.212575@guru.mired.org> Date: Tue, 19 Dec 2000 22:04:57 -0600 (CST) To: "Pieckiel, Kevin A" Cc: questions@freebsd.org Subject: Re: SCSI drive read-only? In-Reply-To: <55213432@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Pieckiel, Kevin A 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. 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