Solved

just created raid1 on supermicro 1u w/freebsd : have ar1 ar0 ad6 ad4 options ? which is bootable

Posted on 2011-03-15
7
569 Views
Last Modified: 2016-02-10
I just created a raid1 array using the supermicro embedded raid: now I am going to load freebsd8 on the machine and am faced with four options: ad4 ad6 ar0 and ar1: I do not know which one is bootable although I am guessing its ar0 becuase that looks like the first drive on the array?/? yes / no?? :
0
Comment
Question by:solunatec
  • 4
  • 3
7 Comments
 
LVL 47

Expert Comment

by:dlethe
Comment Utility
yes the r in ar0 is for RAID.  Beware, not all raid controllers play nice with bsd.   You'll find out soon enough, however, and since there is no live data then you have no risk to just try
0
 

Author Comment

by:solunatec
Comment Utility
thanks..but once again I load data 'ONLY" on this raid drive..that rest gets mirrored automatically correct..?
0
 
LVL 47

Accepted Solution

by:
dlethe earned 500 total points
Comment Utility
Yes, by using the /dev/ar0 you are telling the RAID engine to write to both physical drives.  On reads, however, it depends on the controller.  The better (i.e, expensive ones) will balance reads so that whichever disk can satisfy any pending requests the fastest gets the job of doing so.  In a perfect world, this makes reads twice as fast with RAID1 then with a non-RAID disk.


Make sure the RAID is configured so that both disks are in the boot path. Then if your primary disk fails your system will still be bootable.

Also since you are just setting it up, then I suggest doing a dry run.  Install things quickly, take the default, don't worry about setting up networking, just get it installed quickly.  Then after system si booted.  Kick off something like dd if=/dev/ar0 of=/dev/null &  

Above just reads from the raid and places in the bit bucket.   After you kick that off, remove the disk (unplug power if it is not hot swap, use proper static electricity caution).
Anyway it should stay running.

Then shutdown & reboot, and this should also be successful.  Then go through the docs, and resync that "failed" disk to make the RAID1 healthy.  

It is always good to test & familiarize yourself with disaster recovery BEFORE you have the disaster. This will likely be your only opportunity.
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 

Author Comment

by:solunatec
Comment Utility
1. when you say "it should stay running" I guess you mean the other drive should stay running and working properly? Even if the one number two drive is missing..this has only two drives.
2.should the system be able to reboot with one disk.?
3.my Adaptec Host Radi Controller only has four menu options.:a. Manage Arrays b.Create Array c.Add/Delete Hotspare d.Initialzie Drives.  Non of the sub menu options actually say resync. could it have another phrasing..: also becuase its only two drives most options arent even possible becuase I think I need another drive for it to work such as creating a Hotspare.
0
 
LVL 47

Expert Comment

by:dlethe
Comment Utility
1) Yes
2) yes
3) Not all controllers have a way to just select this.  Your adaptec is NOT a premium controller.  So you can accomplish this for a specific lun by using windows and telling it to chkdsk with the option  to repair bad blocks.  This forces a full check on all addressable blocks in the logical device, which is not 100% of the logical device, but as good as you can get.
0
 

Author Comment

by:solunatec
Comment Utility
You have more than answered my question but once more just in reference to #1. when I pulled it out I got a consistent series of 'write error' messages: I suppose this is just 'reporting' from the other drive/os of what is going on but the system would still be doing its 'other work'..ie. mail server etc...what ever its set up for???...: by the way I have looked at a few good books that tell you what things are ie. file system, network..etc....but do you know of a good book that has 'techniques' like the one you explain above..I think this would be a good sell..if it does not exist...the kind of stuff that you get in job experience....thanks again..
0
 
LVL 47

Expert Comment

by:dlethe
Comment Utility
Yes, you are getting the write errors because the lame firmware hasn't figured out that the disk "failed".  You can find some interesting tidbits in release notes and manuals for the controller(s) you care about, if you can get them.  But they are typically only available to developers.  Also firmware release notes help and basic online user manuals, which you should be able to get easily.

I've been in the storage biz as RAID/JBOD architect since the 90s so have had no need to READ any books, but I have taught my share of classes and have been quoted in some books, so don't keep up with what is out there :)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration, of the HP EVA 4400 SAN Storage. The name , IP and the WWN ID’s used here are not the real ones. ABOUT THE STORAGE For most of you reading this, you …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now