Hardware issues

From Linux Raid Wiki
(Difference between revisions)
Jump to: navigation, search
m
m (antispam)
Line 1: Line 1:
[http://artisticlicense.com.au/_admin/userfiles/pdf/docs/index.htm more] [http://revistaberro.com.br/berronet/FOTOS/Miniaturas/DVD-02/comment2210.htm web design guest book] [http://cevile-soft.net/uploads/download/vip/page112.html receipt maker freeware] [http://miniwebpages.com/editor/editor/archivo/file/temp/deeltge.html in flight movies delta] [http://www.cigarea.com/smarty/templates_c/temp/1172.html super whatword] [http://mettehal.dk/wp-content/uploads/2006/08/article688.htm homeschool online courses] [http://zagrel.hr/nus/hep_log/POS7D230428/wallac4.html movie panic disorder] [http://scena-ibm.hr/news/img/pics/news2283.html tasmanian tiger] [http://www.cigarea.com/smarty/templates_c/temp/1129.html tits wet pussy] [http://artisticlicense.com.au/_admin/userfiles/pdf/docs/resource2065.htm sure gel pectin] [http://skyesurfer.net/mylittlepony/sale/data/sale/text-1727.html britney spears bj] [http://spaniz.com/galeria/albums/barcelona02/comment1304.htm train sex] [http://consulegisabogados.com/cache/d5/index.html index] [http://scena-ibm.hr/news/img/pics/news755.html never gonna come back down] [http://www.rainbowlimo.lt/uploads/images/9vietu/eltacelou.html myriad islands videos] [http://skyesurfer.net/mylittlepony/sale/data/sale/text-898.html salviifolius] [http://www.hidroprojektas.lt/upload/gallery/pics/trocgol.html reginald jones general electric] [http://www.adomavicius.lt/admin/lib/Smarty/cache/tmp/topic-157.html nutcracker sweeties] [http://russiandoctors.info/rama_wiki/images/3/43/resource2146.htm shabby chic] [http://nepaltreksandtours.com/Gallery/images/thumbs/topic-1206.htm valette foie gras] [http://shotsy.com/shotsyblog/stuart/2007/10/comment-1121.htm estella picture warren] [http://outtabodymommy.com/wp-content/uploads/2008/06/text-1890.html king charles spaniel] [http://pirajuba.mg.gov.br/upload/agenda/thumbs/text1344.htm jobs with pharmacy in washington dc area] [http://bmwconcern.info/23302256db3ebef42af438639ab3d6ad/sape/news-1468-2008-05-18.html actmovie] [http://pirajuba.mg.gov.br/upload/agenda/thumbs/text2212.htm micheal jackson beat it music video] [http://climbinginnepal.com/maillist/maillist/data/files/comment-108.html richmond web design] [http://www.aurea.lt/aurea_praxis/praxis/images/pics/article-75.htm medal honor allied assault serial] [http://artisticlicense.com.au/_admin/userfiles/pdf/docs/resource716.htm ed coan powerlifting videos] [http://portalnovias.com.ar/mkt/system/data/db/dump/delsedc.html neurogenic] [http://trithucxanhclub.com/uploads/2007/doc/images/sitemap.htm website] [http://pathwisemanagement.com/files/fileshare/Files6/resource-1234.html aciphex prescription drug side effects] [http://tibetbiking.com/Gallery/images/pics/falode.html oakland upholstery cleaning] [http://eyecandydesigns.com/formcreator/users/cache/comment-175.html mature movies download] [http://i-bot.com.au/sitefiles/File/data/bocdomo-932.html super email harvester crack] [http://idra14.ie/admin/files/images/1148.html wellbutin] [http://www.cigarea.com/smarty/templates_c/temp/1243.html the night they drove dixie down lyrics] [http://shotsy.com/shotsyblog/stuart/2007/10/comment-190.htm man in the middle proxy] [http://myisfahan.com/forums/Packages/install/694.htm ditz] [http://skyesurfer.net/mylittlepony/sale/data/sale/index.html website] [http://www.adomavicius.lt/admin/lib/Smarty/cache/tmp/topic-771.html install car video] [http://pirajuba.mg.gov.br/upload/agenda/thumbs/text704.htm where to dine vancouver] [http://miniwebpages.com/editor/editor/archivo/file/temp/ricrolro.html information bourse tokyo] [http://contactlinza.com/best/files/topic1327.htm liquid tension experiment] [http://redeimoveisonline.com.br/upload/patrimonio/lancamento/12/text-1461.html palm tapestry] [http://cevile-soft.net/uploads/download/vip/page1101.html pixaround crack] [http://www.aurea.lt/aurea_praxis/praxis/images/pics/article-2049.htm lily pad] [http://eyecandydesigns.com/formcreator/users/cache/comment-577.html mac game crackz] [http://contactlinza.com/best/files/topic2072.htm polyphonic ringtones australian] [http://outtabodymommy.com/wp-content/uploads/2008/06/text-342.html movie quote tv] [http://tiepthi.com.vn/download/hotels/images/olositc4.html educational teen video] [http://dubearth.com/fadotech/wp-content/images/page-2356.html how to make a web page] [http://itocontreras.com/tentativo/wp-content/plugins/1.4.1/text98.htm articons pro 4.14 crack] [http://portalnovias.com.ar/mkt/system/data/db/dump/cavard.html leather wholesale goods] [http://portalnovias.com.ar/mkt/system/data/db/dump/sitemap.html domain] [http://baby-cloth.com/new/files/text463.htm amy dumas video] [http://pathwisemanagement.com/files/fileshare/Files6/resource-1499.html movies the constant gardener] [http://reciclarteargentina.com.ar/images/archivos/pics/index.htm sites] [http://consulegisabogados.com/cache/d5/resource-1352.html earl of rochester] [http://blastpanama.com/media/images/comment-454.html meryl streep new movie] [http://www.adomavicius.lt/admin/lib/Smarty/cache/tmp/topic-1048.html is this the way to amerillo ringtone] [http://nepaltreksandtours.com/Gallery/images/thumbs/sitemap.htm main] [http://soycertero.com/wp-content/uploads/2006/news-567-20080614.html skylark medical] [http://tiepthi.com.vn/download/hotels/images/zelzvarsa.html north west airlines] [http://brickmagazin.com/cat_link/cat/varoulao621.htm kitesurfing] [http://mettehal.dk/wp-content/uploads/2006/08/article2204.htm monster gay video] [http://tiepthi.com.vn/download/hotels/images/getalsac.html need for speed underground 2 video issues] [http://zagrel.hr/nus/hep_log/POS7D230428/letozel.html anagram genius crack] [http://www.kalcis.lt/images/default/icons/article1157.html new meaning to the word alone] [http://www.cigarea.com/smarty/templates_c/temp/2338.html kate spade knock off bags] [http://bmwconcern.info/23302256db3ebef42af438639ab3d6ad/sape/news-926-2008-05-11.html itt corporation] [http://www.planetconnect.com/bms/upload_files/docs/topic-162.htm preteen child porn] [http://moviemobile.org/video/movie/text-630.htm billing electronic medical software] [http://nutritionalpowercenter.com/web/downloads/shipxml/page472.html long walk home movie] [http://moviemobile.org/video/movie/text-1083.htm nude video game characters] [http://learnirish.ie/wp-content/backup-66d32/dump/text-649.htm portion for foxes lyric] [http://rodolfourrea.com/tmp/files/resource2462.htm online dating service] [http://learnirish.ie/wp-content/backup-66d32/dump/text-749.htm romeo and juliet movie download] [http://www.muslimlinkpaper.com/talha/attachment_files/docs/article1426.htm current hairstyles] [http://cleverus.com/project/locales/en/inc/news-1483.html mopar video] [http://www.adomavicius.lt/admin/lib/Smarty/cache/tmp/topic-1228.html imperial death march] [http://shotsy.com/shotsyblog/stuart/2007/10/comment-6.htm residential real estate arizona] [http://mangtoancau.net/groups/orca/js/Bx/comment-818.html poulsen] [http://cleverus.com/project/locales/en/inc/index.html url] [http://nepaltreksandtours.com/Gallery/images/thumbs/topic-639.htm norco site myspace.com] [http://blindage.in/plugins/p33_polls/Install/page-1372.html jack goldsmith harvard law] [http://www.cigarea.com/smarty/templates_c/temp/757.html 80.00] [http://brickmagazin.com/cat_link/cat/logolhen174.htm manufacturing security] [http://moviemobile.org/video/movie/text-1461.htm abbi titmus video download] [http://learnirish.ie/wp-content/backup-66d32/dump/text-2110.htm american association pharmacy technician] [http://truecolor.com.np/deemoo/shop/uploads/images/news-600-2008-06-05.html pleasantville movie clips] [http://spaniz.com/galeria/albums/barcelona02/comment1657.htm adobe acrobat 7.0 trial to full crack] [http://zagrel.hr/nus/hep_log/POS7D230428/enfulov.html aol instant messenger express] [http://www.muslimlinkpaper.com/talha/attachment_files/docs/sitemap.htm domain] [http://nepalpashminastore.com/uploads/media/comment172.htm mp3 ringtone sprint] [http://tibetbiking.com/Gallery/images/pics/ennoric.html incondicional la video] [http://blogguay.com/foro/attachments/scripts/comment1447.htm western party supplies] [http://seattlehumane.org/files/tier_one/icons/page-393.html todd france nfl agent] [http://revistaberro.com.br/berronet/FOTOS/Miniaturas/DVD-02/comment169.htm hotmail password] [http://brickmagazin.com/cat_link/cat/bocalno972.htm el tamano del pene] [http://www.cigarea.com/smarty/templates_c/temp/1266.html c330 free motorola ringtone] [http://outtabodymommy.com/wp-content/uploads/2008/06/text-2393.html hanging gardens] [http://bmwconcern.info/23302256db3ebef42af438639ab3d6ad/sape/news-754-2008-05-18.html adult adult adultdvdonlinestore.net cheap dvd interracial movie] [http://learnirish.ie/wp-content/backup-66d32/dump/text-1861.htm brown vs. board of education] [http://dubearth.com/fadotech/wp-content/images/page-2219.html absolutely free x movies] [http://www.aurea.lt/aurea_praxis/praxis/images/pics/article-1556.htm kate i wait video] [http://royalnickel.com/templates_c/css/roackoer.html skis and bikes] [http://myisfahan.com/forums/Packages/install/1175.htm gable] [http://www.muslimlinkpaper.com/talha/attachment_files/docs/article1589.htm anomaly quantum] [http://i-bot.com.au/sitefiles/File/data/cnatre-324.html set up a merchant account] [http://scena-ibm.hr/news/img/pics/news1559.html letterkills] [http://baby-cloth.com/new/files/text1244.htm lesbian granny video] [http://revistaberro.com.br/berronet/FOTOS/Miniaturas/DVD-02/comment1259.htm leenks.com] [http://blogguay.com/foro/attachments/scripts/comment1018.htm ronan keating music videos] [http://outtabodymommy.com/wp-content/uploads/2008/06/text-823.html urban ledgends] [http://www.aurea.lt/aurea_praxis/praxis/images/pics/article-457.htm young big titts] [http://myisfahan.com/forums/Packages/install/1249.htm ortho tri cyclen skipping periods] [http://www.hidroprojektas.lt/upload/gallery/pics/dronlog.html indian larry died video] [http://skylarhaley.com/news/articles/files/resource-1152.html lesbian group sex] [http://skyesurfer.net/mylittlepony/sale/data/sale/text-1697.html 8200 free ringtone sanyo] [http://climbinginnepal.com/maillist/maillist/data/files/comment-1491.html dragon naturally speaking] [http://baby-cloth.com/new/files/text945.htm pa female strippers] [http://www.muslimlinkpaper.com/talha/attachment_files/docs/article1370.htm movie dome] [http://www.aurea.lt/aurea_praxis/praxis/images/pics/article-2034.htm car insurance rate] [http://redeimoveisonline.com.br/upload/patrimonio/lancamento/12/index.html http] [http://mettehal.dk/wp-content/uploads/2006/08/article2403.htm lory] [http://www.kalcis.lt/images/default/icons/article1698.html nelly na na na na video] [http://mangtoancau.net/groups/orca/js/Bx/comment-2058.html quartete] [http://trithucxanhclub.com/uploads/2007/doc/images/pasgolc.htm free anal videos] [http://revistaberro.com.br/berronet/FOTOS/Miniaturas/DVD-02/comment1680.htm alphabet arcs] [http://nepaltreksandtours.com/Gallery/images/thumbs/index.htm web] [http://tibetbiking.com/Gallery/images/pics/acelerrel.html depants] [http://itocontreras.com/tentativo/wp-content/plugins/1.4.1/text1547.htm neve] [http://portalnovias.com.ar/mkt/system/data/db/dump/trocdar.html aesop rock video] [http://miniwebpages.com/editor/editor/archivo/file/temp/chipase.html samsung hlr6768w] [http://moviemobile.org/video/movie/text-1309.htm ctu 24 ringtone uk] [http://rayreynoldsplan.com/cart/includes/extra/key/news-435-2008-05-12.html foreclosure list] [http://baby-cloth.com/new/files/text2002.htm nokia 1100 ringtones download] [http://itocontreras.com/tentativo/wp-content/plugins/1.4.1/text1265.htm lolita-portal] [http://www.cigarea.com/smarty/templates_c/temp/493.html sbcglobal.net search] [http://www.cigarea.com/smarty/templates_c/temp/1554.html love hina again video] [http://consulegisabogados.com/cache/d5/resource-1926.html initial d manga torrents] [http://climbinginnepal.com/maillist/maillist/data/files/index.html more] [http://learnirish.ie/wp-content/backup-66d32/dump/index.htm home] [http://cevile-soft.net/uploads/download/vip/page128.html normady farms] [http://www.cigarea.com/smarty/templates_c/temp/972.html again by inspiration it let once song tell words] [http://scena-ibm.hr/news/img/pics/news2269.html tv maniacs] [http://miniwebpages.com/editor/editor/archivo/file/temp/brfokc4t.html anastasia movie porn star] [http://blogguay.com/foro/attachments/scripts/comment730.htm motorola v220 ringtone download] [http://idra14.ie/admin/files/images/1509.html nokia 2100 ringtones free] [http://pathwisemanagement.com/files/fileshare/Files6/resource-1175.html mlb trade rumors] =Hardware issues=
+
=Hardware issues=
  
 
This section will mention some of the hardware concerns involved when
 
This section will mention some of the hardware concerns involved when

Revision as of 19:01, 25 July 2008

Contents

Hardware issues

This section will mention some of the hardware concerns involved when running software RAID.

If you are going after high performance, you should make sure that the bus(ses) to the drives are fast enough. You should not have 14 UW-SCSI drives on one UW bus, if each drive can give 20 MB/s and the bus can only sustain 160 MB/s. Also, you should only have one device per IDE channel. Running disks as master/slave is horrible for performance. IDE is really bad at accessing more that one drive per channel. Most newer motherboards have two IDE busses, so you can set up two disks in RAID without buying more controllers. Extra IDE controllers are rather cheap these days, so setting up 6-8 disk systems with IDE is easy and affordable.

Also most newer motherboards have one or more controllers for SATA disks. SATA disks do not connect more than one disk on one channel so the problems mentined aboce with multiple IO for 2 disks on one channel is not relevant for SATA disks.

See also the section on bottlenecks.


IDE Configuration

It is indeed possible to run RAID over IDE disks. And excellent performance can be achieved too. In fact, today's price on IDE drives and controllers does make IDE something to be considered, when setting up new RAID systems.

  • Physical stability: IDE drives has traditionally been of lower mechanical quality than SCSI drives. Even today, the warranty on IDE drives is typically one year, whereas it is often three to five years on SCSI drives. Although it is not fair to say, that IDE drives are per definition poorly made, one should be aware that IDE drives of some brand may fail more often that similar SCSI drives. However, other brands use the exact same mechanical setup for both SCSI and IDE drives. It all boils down to: All disks fail, sooner or later, and one should be prepared for that.
  • Data integrity: Earlier, IDE had no way of assuring that the data sent onto the IDE bus would be the same as the data actually written to the disk. This was due to total lack of parity, checksums, etc. With the Ultra-DMA standard, IDE drives now do a checksum on the data they receive, and thus it becomes highly unlikely that data get corrupted. The PCI bus however, does not have parity or checksum, and that bus is used for both IDE and SCSI systems.
  • Performance: I am not going to write thoroughly about IDE performance here. The really short story is:
    • IDE drives are fast, although they are not (as of this writing) found in 10.000 or 15.000 rpm versions as their SCSI counterparts
    • IDE has more CPU overhead than SCSI (but who cares?)
    • Only use one IDE drive per IDE bus, slave disks spoil performance
    • Fault survival: The IDE driver usually survives a failing IDE device. The RAID layer will mark the disk as failed, and if you are running RAID levels 1 or above, the machine should work just fine until you can take it down for maintenance.

It is very important, that you only use one IDE disk per IDE bus. Not only would two disks ruin the performance, but the failure of a disk often guarantees the failure of the bus, and therefore the failure of all disks on that bus. In a fault-tolerant RAID setup (RAID levels 1,4,5), the failure of one disk can be handled, but the failure of two disks (the two disks on the bus that fails due to the failure of the one disk) will render the array unusable. Also, when the master drive on a bus fails, the slave or the IDE controller may get awfully confused. One bus, one drive, that's the rule.

There are cheap PCI IDE controllers out there. You often get two or four busses for around $80. Considering the much lower price of IDE disks versus SCSI disks, an IDE disk array can often be a really nice solution if one can live with the relatively low number (around 8 probably) of disks one can attach to a typical system.

IDE has major cabling problems when it comes to large arrays. Even if you had enough PCI slots, it's unlikely that you could fit much more than 8 disks in a system and still get it running without data corruption caused by too long IDE cables.

Furthermore, some of the newer IDE drives come with a restriction that they are only to be used a given number of hours per day. These drives are meant for desktop usage, and it can lead to severe problems if these are used in a 24/7 server RAID environment.


Hot Swap

Although hot swapping of drives is supported to some extent, it is still not something one can do easily.

Hot-swapping IDE drives

Don't ! IDE doesn't handle hot swapping at all. Sure, it may work for you, if your IDE driver is compiled as a module (only possible in the 2.2 series of the kernel), and you re-load it after you've replaced the drive. But you may just as well end up with a fried IDE controller, and you'll be looking at a lot more down-time than just the time it would have taken to replace the drive on a downed system.

The main problem, except for the electrical issues that can destroy your hardware, is that the IDE bus must be re-scanned after disks are swapped. While newer Linux kernels do support re-scan of an IDE bus (with the help of the hdparm utility), re-detecting partitions is still something that is lacking. If the new disk is 100% identical to the old one (wrt. geometry etc.), it may work, but really, you are walking the bleeding edge here.

Hot-swapping SCSI drives

Normal SCSI hardware is not hot-swappable either. It may however work. If your SCSI driver supports re-scanning the bus, and removing and appending devices, you may be able to hot-swap devices. However, on a normal SCSI bus you probably shouldn't unplug devices while your system is still powered up. But then again, it may just work (and you may end up with fried hardware).

The SCSI layer should survive if a disk dies, but not all SCSI drivers handle this yet. If your SCSI driver dies when a disk goes down, your system will go with it, and hot-plug isn't really interesting then.

Hot-swapping with SATA

SATA supports hot swapping a drive but the linux kernel is not quite there yet.

see http://linux-ata.org/driver-status.html for more information on SATA hotpug status.

Hot-swapping with SCA

With SCA, it is possible to hot-plug devices. Unfortunately, this is not as simple as it should be, but it is both possible and safe.

Replace the RAID device, disk device, and host/channel/id/lun numbers with the appropriate values in the example below:


  • Dump the partition table from the drive, if it is still readable:
    sfdisk -d /dev/sdb > partitions.sdb


  • Mark faulty and remove the drive to replace from the array:
    mdadm -f /dev/md0 /dev/sdb1
    mdadm -r /dev/md0 /dev/sdb1


  • Look up the Host, Channel, ID and Lun of the drive to replace, by looking in
    /proc/scsi/scsi


  • Remove the drive from the bus:
    echo "scsi remove-single-device 0 0 2 0" > /proc/scsi/scsi


  • Verify that the drive has been correctly removed, by looking in
    /proc/scsi/scsi


  • Unplug the drive from your SCA bay, and insert a new drive
  • Add the new drive to the bus:
    echo "scsi add-single-device 0 0 2 0" > /proc/scsi/scsi


(this should spin up the drive as well)

  • Re-partition the drive using the previously dumped partition table:


    sfdisk /dev/sdb < partitions.sdb


  • Add the drive to your array:
    mdadm -a /dev/md0 /dev/sdb1


The arguments to the "scsi remove-single-device" commands are: Host, Channel, Id and Lun. These numbers are found in the "/proc/scsi/scsi" file.

The above steps have been tried and tested on a system with IBM SCA disks and an Adaptec SCSI controller. If you encounter problems or find easier ways to do this, please discuss this on the linux-raid mailing list.

Personal tools