setting WCE on SCSI disks across reboots

Scott Long scottl at freebsd.org
Wed May 12 09:05:28 PDT 2004


Joan Picanyol i Puig wrote:
> Hi,
> 
> I'm trying to disable the write-cache on these two disks:
> 
> <SEAGATE ST318438LW 0003>          at scbus0 target 0 lun 0 (pass0,da0)
> <IBM DNES-309170W SA30>            at scbus0 target 6 lun 0 (pass2,da1)
> 
> both sitting on an Adaptec 2940 U2W controller
> 
> ahc0: <Adaptec 2940 Ultra2 SCSI adapter> port 0x1000-0x10ff mem 
> 0xd0020000-0xd0020fff irq 11 at device 14.0 on pci0
> 
> I can set WCE to 0 using camcontrol modepage -e -m 0x08, but upon reboot
> WCE is set to 1 again. AFAIK this can't be set interactively, so I am at a
> loss as to how to disable the wc forever.
> 
> Any ideas?
> 
> tks

Check the Adaptec BIOS.  You probably have WCE set in there.

Scott


More information about the freebsd-scsi mailing list