View Single Post
  #4   (View Single Post)  
Old 9th August 2013
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by Sabbel View Post
The OS is installed on the Verbatim STORE N GO USB stick, data resists on the Samsung HD.

Code:
...
sd0 at scsibus0 targ 5 lun 0: <ATA, SAMSUNG HD204UI, 1AQ1> SCSI3 0/direct fixed naa.50024e90043ffac3
sd0: 1907729MB, 512 bytes/sector, 3907029168 sectors
...
sd1 at scsibus1 targ 1 lun 0: <Verbatim, STORE N GO, 1100> SCSI2 0/direct removable serial.18a50302012080138739
sd1: 7651MB, 512 bytes/sector, 15669248 sectors
...
root on sd1a (f5c7e15bbcd00efe.a) swap on sd1b dump on sd1b
If I submit the command "atactl sd0 setstandby 120", the disk spins down after a few seconds. But after I access the disk, they spin up, and never spins down.
OpenBSD deals with both SATA & USB devices as SCSI devices. This is why you see the attached storage as sd0 & sd1 (See the sd(4) manpage for more information.) in the dmesg(8) output. The atactl(8) manpage states that it manipulates IDE devices (See wd(4)). This would account why you are not getting the desired behavior with sd(4) devices.
Reply With Quote