atacontrol
—
ATA
?ǥХ????ɥ饤?ФΥ????ȥ??????ץ???????
atacontrol
⟨command⟩
args
atacontrol
attach
channel atacontrol
detach
channel
atacontrol
reinit
channel atacontrol
create
type
[interleave] disk0 ... diskN
atacontrol
delete
raid atacontrol
addspare
raid disk
atacontrol
rebuild
raid atacontrol
status
raid
atacontrol
mode
channel [mastermode slavemode]
atacontrol
info
channel atacontrol
cap
channel device
atacontrol
enclosure
channel device atacontrol
list
atacontrol
?桼?ƥ????ƥ???
FreeBSD
ata(4)
???֥????ƥ??ؤΥ????????ȥ????ȥ????????桼????????
?????ȥ??????ץ????????Ǥ???
atacontrol
?桼?ƥ????ƥ??ϻȤ??????????ȡ?
?????ʥ????ƥ??㳲???ǡ?????»?????????????????Ȥ??????Τǡ?
???Υ??ޥ??ɤϽ?ʬ?????դξ??˻??Ѥ????褦?ˤ??Ʋ?????!
???? channel ?ϡ?????? ATA
?????ͥ????ֹ??Ǥ???
?ʲ??Υ??ޥ??ɤ????ݡ??Ȥ????Ƥ??ޤ?:
attach
- ATA channel
????³???ޤ????????ͥ????ΥǥХ????ϥ֡??Ȼ???Ʊ?ͤ˸??Ф??졢??³?????ޤ???
detach
- ATA channel ???ڤ?Υ???ޤ???
?????ͥ????ΥǥХ????ϥ????ͥ뤫???????????졢̤??????ž?????ϼ??ԤȤ???
?????ƥ????֤????ޤ???
reinit
- ATA channel ???ƽ????????ޤ???
?????ͥ????ΥǥХ????ϥꥻ?åȤ??졢
ATA
?Υɥ饤?Ф??????ǵ??????Ƥ????ѥ?????˽??????????ޤ???
?ξ??⤷???ϸ??Ф?ȿ?????ʤ??ʤä??ǥХ??????ޤ???ʪ??Ū?˼??곰???줿
?ǥХ????ϥ????ͥ뤫?????????????ޤ???
?????Ƥޤ????ꥻ?å????˥ǥХ????????С???³?????뤳?Ȥ⤢???ޤ???
create
- type ?? ATA RAID ?????????ޤ??? ?????פ?
RAID0
(???ȥ饤??),
RAID1
(?ߥ顼),
RAID0+1
, SPAN
(JBOD)
?Τ????줫?Ǥ??? RAID ?? RAID0
????ʬ?????????硢 interleave
????????ñ?̤ǻ??ꤹ?뤳?Ȥ?ɬ?פǤ???
RAID ?? disk0 ... diskN
?Ȥ???̾??????Ω?????ǥ????????鹽???????ޤ???
ATA
?ɥ饤?ФϤɤ??ʥ????ȥ??????Υǥ????????ˤǤ?
ATA RAID ????????ǽ?Ǥ????? ???¤??????ޤ???
???쥤?????֡??Ȳ?ǽ?ʤΤϡ?Promise
?? Highpoint ?Ȥ??ä? “??ʪ” ?? ATA RAID
?????ȥ??????ˤ??Υ??쥤????³?????Ƥ??????礫??
RAID ?? RAID1
?ޤ???
SPAN
???????????Ƥ????????Ǥ???
SPAN
?ξ????ˤϡ??֡??Ȥ????ѡ??ƥ?????????
SPAN ?κǽ???
?ǥ??????ˤ???ɬ?פ??????ޤ???
delete
- RAID ?б? ATA ?????ȥ??????? RAID
???쥤?????????ޤ???
addspare
- ??¸?? RAID
??ͽ???ǥ????????ɲä??ޤ???
rebuild
- RAID ?б? ATA ?????ȥ??????? RAID1
???쥤???ƹ??????ޤ???
status
- ATA RAID ?ξ??֤????????ޤ???
mode
- 2?ĤΥ⡼?ɰ??????ʤ????硢ξ???ΥǥХ????θ??ߤ?ž???⡼?ɤ?ɽ???????ޤ???
?⡼?ɰ?????Ϳ?????줿???硢ž???⡼?ɤΥ⡼?ɤ??ѹ??????褦?ˡ?
ATA?ɥ饤?Ф??ᤷ?ޤ????ϡ??ɥ??????????????Υ⡼?ɤݡ??Ȥ??Ƥ??ʤ??Ȥ???
ATA?ɥ饤?Ф????????ݤ??ޤ???
?⡼?ɤϡ? “
PIO3
”,
“udma2
”,
“udma100
”
?Τ褦?˻??ꤷ?ޤ???ʸ?????羮?ϴط??????ޤ?????
?⤷???ǥХ????⡼?ɤ? 1
?Ĥ??ѹ????ʤ??Ȥ??ϡ?
?????Ȥ???¸?ߤ??ʤ??⡼?? (???ʤ???
“XXX
”) ???Ȥ??ޤ???
?????????С??⡼?ɤ??ѹ??????ޤ?????
???ߥ??ݡ??Ȥ????Ƥ????⡼?ɤϡ?
BIOSDMA
, PIO0
(BIOSPIO
????̾) ,
PIO1
, PIO2
,
PIO3
, PIO4
,
WDMA2
, UDMA2
(UDMA33
????̾) ,
UDMA4
(UDMA66
????̾) , UDMA5
(UDMA100
????̾) ,
UDMA6
(UDMA133
????̾) ?Ǥ???
info
- channel
????³???줿?ǥХ????ξ?????ɽ?????ޤ???
?ǥХ???̾?ȥ??/?С?????????ɽ?????ޤ???
cap
- channel device
?ΥǥХ????ξܺ٤?ɽ?????ޤ???
?ǥХ??? 0 ?ϥޥ????ǥХ??? 1
?ϥ??졼?֤???̣???ޤ???
enclosure
- channel device
?Υ??????????ξܺ٤?ɽ?????ޤ???
?ǥХ??? 0 ?ϥޥ????ǥХ??? 1
?ϥ??졼?֤???̣???ޤ??? ?ե????? RPM
®?١??????????㲹?١?5V ?? 12V
?Υ??٥???ɽ?????ޤ???
list
- ???٤Ƥ?ͭ???ʥ????ȥ????????Ρ????٤Ƥ???³?????Ƥ????ǥХ????ˤĤ??ơ?
??????ɽ?????ޤ???
?ǥХ????θ??ߤΥ????????⡼?ɤ??ˤϡ????Υ??ޥ??ɥ饤???????Ѥ??ޤ?:
atacontrol mode 0
???η??̡??ǥХ????Υ⡼?ɤ????Τ褦??ʸ??????ɽ???????ޤ?:
Master = WDMA2
Slave = PIO4
?????ϡ?ata0-master ?? DMA ?⡼?ɡ? ata0-slave ??
PIO
?⡼?ɤǤ??뤳?Ȥʤɤ??ޤ???
?嵭?Τ褦??ʸ?????????Ѥ??뤳?Ȥǡ?
atacontrol
?ǥ⡼????????ǽ?Ǥ???
?㤨?м??Τ褦?ˤ??ޤ?:
atacontrol mode 0 PIO4
PIO4
atacontrol
???????Ȥ??ˤϡ??????⡼?ɤ????ꤵ???Ƥ??ޤ???
atacontrol
?桼?ƥ????ƥ??ϡ?
FreeBSD 4.6
?ǤϤ??????о줷?ޤ?????
atacontrol
?桼?ƥ????ƥ??ϡ?
Søren Schmidt ⟨sos@FreeBSD.org⟩
???ޤ?????
???Υޥ˥奢???ڡ????ϡ?
Søren Schmidt ⟨sos@FreeBSD.org⟩
???ޤ?????