Re: RAID suggestions?



On Fri, 28 Mar 2008, Stephan Seitz wrote:
On Thu, Mar 20, 2008 at 10:41:27PM -0300, Henrique de Moraes Holschuh wrote:
Then DROP the idea of hw-raid. Get a damn good SATA/SCSI/SAS HBA, and
use software raid. BTW, damn good means no VIA, SiS, nVidia, or other
el-cheap-o half-broken SATA

Can you give some examples for a good SATA HBA?

No, sorry. Usually the ones with the latest SIL devices, or those with
hybrid SAS/SATA bridges are good.

While I???m quite convinced that software raid is more flexible than
hardware raid (at least for RAID 1), I know that I can do hotplug stuff
with my 3ware (or the PERC 5/i in our Dell servers). And the last time I

A 3ware board is probably a damn good SATA HBA when in JBOD mode...

checked with the kernel SATA support, hotplugging disks was not very
well supported.

Hmm? It works perfectly, it just complains a damn big lot if you hot-remove
a disk *without* issuing a command to detach it from the logical SCSI bus
first.

What is damn bad is that any late interrupts from the SATA HBA, regardless
of the reason, may cause the kernel to kill an IRQ line, and send the entire
system into a spiral of ugly death. This is a general Linux issue re.
interrupts, though. Maybe MSI-capable HBAs avoid this Linux shortcoming...

Note that *any* PCI board using normal PCI IRQs are affected, this includes
any HW RAID card. Only, HW RAID cards have something else between the SATA
bridges and the host, which will usually eat up stray interrupts :-)

With my 3ware controller I can use tw_cli or the GUI to rescan for a new
disk or to remove it and I use this feature for backup. How would I do
this with a ???normal??? SATA controller?

Using the Linux SCSI layer, and mdadm. Look for the "scsiadd" and "mdadm"
manpages, and also read the documentation on SCSI sysfs (which can do what
scsiadd does using IOCTLs). Udev can be used for hotplug notification
(insertion). The hot-UN-plug is the problem, the system doesn't
differentiate it from a disk gone bad yet, IME, so you have to scsiadd -r
the disk before you pull it out.

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Using RAID chipsets in the motherboard.
    ... > 1) All most all of the newer motherboards come with SATA RAID. ... > many knowledge base resources that a HW controller looks just like an IDE ... It is usable as a SATA host. ... "One disk to rule them all, ...
    (Debian-User)
  • RE: RAID5 degraded - system hangs
    ... So at least after rebooting and replacing the disk I had to had a chance to rebuild the array. ... One last thing, SATA RAID drives, while they are often said to be hot-swapable, most manufacturer's recommend power-off then swap drives. ... ar0 raid 5 degarded after a fw minutes no input is possibble. ...
    (freebsd-questions)
  • SATA software RAID recovery problem
    ... SATA adapter is Promise SATAII-150 TX4. ... RAID is created by ... The disk is properly marked as faulty, then removed, array continues to ... at 2.8% of array reconstruction. ...
    (Debian-User)
  • Re: sata installation of windowsxp pro?
    ... Is the SATA on a RAID controller? ... you need to build a RAID arary. ... Well, neither did I, but depending on the motherboard, you may ... a RAID array containing only one disk. ...
    (microsoft.public.windowsxp.help_and_support)
  • slackware 9.1 software raid problem
    ... Setting up a RAID system with Slackware 8 is not extremely difficult once ... mirroring the root partition and booting from that mirror was not possible. ... Each disk is attached to a different IDE chain on the motherboard. ... The ability to boot from the Slackware 8 install CD. ...
    (alt.os.linux)