atacontrol create/status give confusing feedback 6.0 Beta 1 ISO
Mark Kirkwood
markir at paradise.net.nz
Thu Jul 21 03:20:17 GMT 2005
I just noticed this:
# dmesg
...
ar0: 38166MB <Promise Fasttrak SPAN> status: READY
ar0: disk0 READY using ad4 at ata2-master
ar1: 78411MB <Promise Fasttrak RAID0 (stripe 256 KB)> status: READY
ar1: disk0 READY using ad6 at ata3-master
ar1: disk1 READY using ad7 at ata3-slave
# atacontrol status ar0
ar0: ATA SPAN subdisks: ad4 status: READY
# atacontrol status ar1
ar0: ATA SPAN subdisks: ad4 status: READY
[what is going on here, I asked for ar1? It gets worse]:
# atacontrol delete ar1
# atacontrol create RAID0 512 ad6 ad7
ar0 created
[disconcerting - has it destroyed my ar0?]:
# atacontrol status ar0
ar0: ATA SPAN subdisks: ad4 status: READY
# atacontrol status ar1
ar0: ATA SPAN subdisks: ad4 status: READY
[guess not]
It seems that the commands are working ok, but the feedback messages are
wrong as the console output lists ar1 are being created :
ar1: 78411MB <Promise Fasttrak RAID0 (stripe 256 KB)> status: READY
ar1: disk0 READY using ad6 at ata3-master
ar1: disk1 READY using ad7 at ata3-slave
regards
Mark
More information about the freebsd-current
mailing list