Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 2004 12:17:31 +0200
From:      "Robert Eckardt" <Robert.Eckardt@Robert-Eckardt.de>
To:        Alberto De Boni <warfox@neobe.it>, freebsd-questions@freebsd.org
Cc:        owner-freebsd-questions@freebsd.org
Subject:   Re: SmartCtl and Array Disks, BSD 4.10
Message-ID:  <20040626095042.M37423@Robert-Eckardt.de>
In-Reply-To: <40DD349E.5000908@neobe.it>
References:  <40DD349E.5000908@neobe.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 26 Jun 2004 10:32:30 +0200, Alberto De Boni wrote
> Hi,
>     just a little question. I've installed BSD 4.10 on a motherboard 
> with Highpoint array Raid 0-1controller. I've used two 80Gb Maxtor 
> HDD configured as mirror. All works very fine, atacontrol let me to 
> add a spare disk as i need, the O.s. works without any problem and 
> performaneces are very good. Now, i would like to add S.M.A.R.T 
> control on my disks and here we are with the problems:
> 
> BSD let me se only a combined device called ar0 (and of course this 
> is right). The problem is that  smartcontrol cannot check smart data 
> on ar0 device. Is there a way to see the two real device ad4/ad6 and 
> check for smart datas?


Hi,

Can't speak for 4.10, but 5.2.1 sees the devices.

Robert


11:48 quasar:/root 0#% cat /var/run/dmesg.boot | egrep 'a[dr][0-9 ]|atap'
FreeBSD 5.2.1-RELEASE #3: Sun Mar 14 14:32:01 CET 2004
Preloaded elf module "/boot/kernel/snd_ad1816.ko" at 0xc0b321ac.
atapci0: <HighPoint HPT372 UDMA133 controller> port
0xb000-0xb0ff,0xac00-0xac03,0xa800-0xa807,0xa400-0xa403,0xa000-0xa007 irq 10
at device 0.0 on pci1
atapci0: [MPSAFE]
ata2: at 0xa000 on atapci0
ata3: at 0xa800 on atapci0
atapci1: <Intel ICH4 UDMA100 controller> port
0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
GEOM: create disk ad4 dp=0xc47f2660
ad4: 78533MB <HDS722580VLAT20> [159560/16/63] at ata2-master UDMA100
GEOM: create disk ad5 dp=0xc47f2460
ad5: 117246MB <Maxtor 6Y120P0> [238216/16/63] at ata2-slave UDMA133
GEOM: create disk ad6 dp=0xc47f2560
ad6: 78533MB <HDS722580VLAT20> [159560/16/63] at ata3-master UDMA100
GEOM: create disk ad7 dp=0xc48e9460
ad7: 117246MB <Maxtor 6Y120P0> [238216/16/63] at ata3-slave UDMA133
GEOM: create disk ar0 dp=0xc48e35e0
ar0: 78533MB <ATA RAID1 array> [10011/255/63] status: READY subdisks:
 disk0 READY on ad4 at ata2-master
 disk1 READY on ad6 at ata3-master
GEOM: create disk ar1 dp=0xc48e31e0
ar1: 117246MB <ATA RAID1 array> [14946/255/63] status: READY subdisks:
 disk0 READY on ad5 at ata2-slave
 disk1 READY on ad7 at ata3-slave
Mounting root from ufs:/dev/ar1s1a
11:49 quasar:/root 0#% atacontrol status ar1
ar1: ATA RAID1 subdisks: ad5 ad7 status: READY
11:49 quasar:/root 0#% atacontrol status ar0
ar0: ATA RAID1 subdisks: ad4 ad6 status: READY
11:49 quasar:/root 0#% atacontrol list
ATA channel 0:
    Master: acd0 <CD-RW CDR-6S52/6SG1> ATA/ATAPI rev 0
    Slave:       no device present
ATA channel 1:
    Master:      no device present
    Slave:       no device present
ATA channel 2:
    Master:  ad4 <HDS722580VLAT20/V32OA60A> ATA/ATAPI rev 6
    Slave:   ad5 <Maxtor 6Y120P0/YAR41BW0> ATA/ATAPI rev 7
ATA channel 3:
    Master:  ad6 <HDS722580VLAT20/V32OA60A> ATA/ATAPI rev 6
    Slave:   ad7 <Maxtor 6Y120P0/YAR41BW0> ATA/ATAPI rev 7
11:49 quasar:/root 0#% atacontrol cap 2 1
ATA channel 2, Slave, device ad5:

ATA/ATAPI revision    7
device model          Maxtor 6Y120P0
serial number         Y333551E
firmware revision     YAR41BW0
cylinders             16383
heads                 16
sectors/track         63
lba supported         240121728 sectors
lba48 not supported         
dma supported
overlap not supported

Feature                      Support  Enable    Value   Vendor
write cache                    yes      yes
read ahead                     yes      yes
dma queued                     no       no      0/0x00
SMART                          yes      yes
microcode download             yes      yes
security                       yes      no
power management               yes      yes
advanced power management      yes      no      0/0x00
automatic acoustic management  yes      yes     254/0xFE        192/0xC0




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040626095042.M37423>