Howdy!

ritz wrote:
> 
> > From [EMAIL PROTECTED]  Thu Apr 26 12:22:57 2001
> >
> > "C. R. Oldham" wrote:
> > >
> > > > > Why not try software raid? Its faster and cheaper.
> > > >
> > > > I would rather spend the money than incur the CPU overhead
> > > > from software RAID.

Hmmm. The money you'll spend on that might buy you a faster processor,
if that's possible. You also may want to investigate multi-proc configs,
though that only became possible in kernel 2.4.2-ish if I remember
correctly.

> > > And though it was not a consideration in the beginning, SW Raid doesn't
> > > really support hot-plug, does it?
> >
> > Sure it does, if you buy a drive enclosure which handles it. We're very
> > happy with our Kingston enclosure; turn a key and down goes the power,
> > swap, and trun the key again. =]
> 
> And it doesn't hang the scsi bus?

Nope. You have to go about this in an organized fashion; here's our docs
on how to remove a failed drive -- we'll use /dev/sdd (SCSI ID 3) as an
example:

  raidhotremove /dev/md0 /dev/sdd1
  echo 'scsi remove-single-device 0 0 3 0' > /proc/scsi/scsi

...power off the drive, pull it, put in the new prepared (e.g. fdisk'd
and partitioned as one big partition of type "fd") drive, power on the
drive...

  echo 'scsi add-single-device 0 0 3 0' > /proc/scsi/scsi
  raidhotadd /dev/md0 /dev/sdd1

Incidentally, the four values in the echo are Host, Channel, SCSI ID,
and LUN.

> What controller are you using?

Here's /proc/scsi/aic7xxx/0:

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

Adapter Configuration:
           SCSI Adapter: Adaptec AIC-7892 Ultra 160/m SCSI host adapter
                           Ultra-160/m LVD/SE Wide Controller at PCI
0/16/0
    PCI MMAPed I/O Base: 0xffaff000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 11
                   SCBs: Active 0, Max Active 64,
                         Allocated 75, HW 32, Page 255
             Interrupts: 103457029
      BIOS Control Word: 0xb8f4
   Adapter Control Word: 0x7c5d
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x01ff
Ordered Queue Tag Flags: 0x01ff
Default Tag Queue Depth: 8
    Tagged Queue By Device array for aic7xxx host instance 0:
      {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
    Actual queue depth per device for aic7xxx host instance 0:
      {8,8,8,8,8,8,8,8,8,1,1,1,1,1,1,1}

> Which model enclosure are you using?

An excellent question, and one I think I'll need to ask someone here
before I can answer further than "Kingston and probably an InfoStation
or of that sort."

Cheers!

--j
-- 
Jim Meyer, Geek At Large                              [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]

Reply via email to