Here is a situation that has caught my eye...

I have a 2.2.5-22 Kernel with RAID1 compiled in, I am not attempting to have
a RAID1 root file system and
cat /proc/mdstat is:
Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 sdb5[1] sda5[0] 6144704 blocks [2/2] [UU]
md1 : active raid1 sdb6[1] sda6[0] 1333248 blocks [2/2] [UU]
md2 : active raid1 sdb7[1] sda7[0] 513984 blocks [2/2] [UU]
md3 : active raid1 sdb8[1] sda8[0] 513984 blocks [2/2] [UU]
md4 : active raid1 sdb10[1] sda10[0] 104320 blocks [2/2] [UU]
unused devices: <none>
========================
This is what I expected.
Now when I look at
cat /proc/scsi/aic7xxx/0:

Adaptec AIC7xxx driver version: 5.1.16/3.2.4
Compile Options:
  TCQ Enabled By Default : Disabled
  AIC7XXX_PROC_STATS     : Enabled
  AIC7XXX_RESET_DELAY    : 5

Adapter Configuration:
           SCSI Adapter: Adaptec AHA-294X Ultra2 SCSI host adapter
                           Ultra-2 LVD/SE Wide Controller
    PCI MMAPed I/O Base: 0xe8000000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 11
                   SCBs: Active 0, Max Active 2,
                         Allocated 15, HW 32, Page 255
             Interrupts: 183757
      BIOS Control Word: 0x18a6
   Adapter Control Word: 0x1c5d
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 8
    Tagged Queue By Device array for aic7xxx host instance 0:
      {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
    Actual queue depth per device for aic7xxx host instance 0:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:

(scsi0:0:1:0)
  Device using Wide/Sync transfers at 80.0 MByte/sec, offset 15
  Transinfo settings: current(10/15/1/0), goal(10/15/1/0), user(10/127/1/0)
  Total transfers 175061 (87910 reads and 87151 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       1   67724    4327    6698    5453     961    1442    1304
  Writes:       0   66694   14041    2113     740     389     396    2778


(scsi0:0:2:0)
  Device using Wide/Sync transfers at 80.0 MByte/sec, offset 15
  Transinfo settings: current(10/15/1/0), goal(10/15/1/0), user(10/127/1/0)
  Total transfers 2163 (2157 reads and 6 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       1       7       0      16       0       0       0    2133
  Writes:       0       0       0       6       0       0       0       0


(scsi0:0:3:0)
  Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 32
  Transinfo settings: current(25/32/0/0), goal(10/127/1/0), user(10/127/1/0)
  Total transfers 6146 (0 reads and 6146 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       0       0       0       0       0       0       0       0
  Writes:       0       0       0       0    6146       0       0       0
====================

I am concerned with the Statistics section from above.  The last device
scsi0:3:0 is a tape drive so no problem there.  However, if I am reading
this correctly, the scsi0:1:0 is my sda device and scsi0:2:0 is my sdb
device.  If RAID1 is working correctly wouldn't the Total transfers count be
going up for both scsi0:1:0 and scsi0:2:0 at the same time?  When I write to
the file-systems I can see the counters increase for scsi0:1:0 but not for
scsi0:2:0.

Am I supposed to change my /etc/fstab to reflect the new /dev/md devices
instead of the /dev/sda devices?  When I boot the RAID1 is auto-detected
just fine, so I have made the assumption that RAID1 was working.
Any ideas?

Aaron Bush
[EMAIL PROTECTED]

Reply via email to