Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 2002 07:36:22 -0800 (PST)
From:      Søren Schmidt <sos@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/ata ata-all.c ata-disk.c ata-disk.h ata-dma.c ata-pci.c ata-raid.c ata-raid.h
Message-ID:  <200203031536.g23FaMM95530@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
sos         2002/03/03 07:36:21 PST

  Modified files:
    sys/dev/ata          ata-all.c ata-disk.c ata-disk.h ata-dma.c 
                         ata-pci.c ata-raid.c ata-raid.h 
  Log:
  Major update of the ATA RAID code, part 3:
  
  Add code to properly detach/attach disks that are part of a RAID.
  
  Mark a disk that is attached on an ATA channel belonging to a
  RAID as a spare disk that can be used for rebuilding failed RAID1's.
  
  Add support for rebuilding failed RAID1's.
  
  Several fixes to the detach/attach code.
  
  For replacing a disk in a failed RAID1 do the following:
  
  Find the controller channel# of the failed disk.
  
  Exec 'atacontrol detach <channel#>' to free the disk from the system.
  
  Replace the failed disk with a new one of at least the same size.
  If your have your disks in drawers/enclosures this can be done with
  the system still running.
  
  Exec 'atacontrol attach <channel#>' to add the disk to the system and
  mark it as a valid spare for rebuild.
  
  Exec 'atacontrol rebuild <array#>'
  
  The system will rebuild the array on the fly, the array can still
  be used during this, although with slower performance.
  
  Please let me know of any problems with this!
  
  Sponsored by: Advanis Inc.
  
  MFC after: 2 weeks
  
  Revision  Changes    Path
  1.131     +29 -43    src/sys/dev/ata/ata-all.c
  1.124     +6 -8      src/sys/dev/ata/ata-disk.c
  1.40      +1 -1      src/sys/dev/ata/ata-disk.h
  1.86      +5 -5      src/sys/dev/ata/ata-dma.c
  1.31      +2 -2      src/sys/dev/ata/ata-pci.c
  1.28      +359 -224  src/sys/dev/ata/ata-raid.c
  1.10      +5 -1      src/sys/dev/ata/ata-raid.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203031536.g23FaMM95530>