From owner-freebsd-questions Wed Dec 20 5:55: 9 2000 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 20 05:55:06 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from fw.vdot.state.va.us (vdot.state.va.us [198.176.41.2]) by hub.freebsd.org (Postfix) with SMTP id 4235337B400 for ; Wed, 20 Dec 2000 05:55:06 -0800 (PST) Received: from [172.30.191.225] by fw.vdot.state.va.us via smtpd (for hub.FreeBSD.org [216.136.204.18]) with SMTP; 20 Dec 2000 13:55:06 UT Received: by 501comailbh2.vdot.state.va.us with Internet Mail Service (5.5.2448.0) id ; Wed, 20 Dec 2000 08:51:52 -0500 Message-ID: From: "Pieckiel, Kevin A" To: 'Mike Meyer' , "Pieckiel, Kevin A" Cc: questions@freebsd.org Subject: RE: SCSI drive read-only? Date: Wed, 20 Dec 2000 08:57:09 -0500 Return-Receipt-To: "Pieckiel, Kevin A" MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thank you very much for the tip. That was the problem. Kevin -----Original Message----- From: Mike Meyer [mailto:mwm@mired.org] Sent: Tuesday, December 19, 2000 11:05 PM To: Pieckiel, Kevin A Cc: questions@freebsd.org Subject: Re: SCSI drive read-only? 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message