atacontrol create/status give confusing feedback 6.0 Beta 1 ISO

From: Mark Kirkwood <markir_at_paradise.net.nz>
Date: Thu, 21 Jul 2005 15:20:07 +1200
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
Received on Thu Jul 21 2005 - 01:20:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:39 UTC