Solved

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

Posted on 2011-03-15
7
572 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
ID: 35145749
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
ID: 35147438
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
ID: 35147546
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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

Author Comment

by:solunatec
ID: 35166222
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
ID: 35166514
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
ID: 35168389
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
ID: 35168537
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to clone solaris 10 machine 33 131
Joining Domain Issue 4 53
RAID, not sure what Type ?? 14 138
32bit v 64bit processes and impact on memory 7 45
Usually shares are where we want them for our users and we tend to take them for granted. There are times, however, when those shares may disappear causing difficulty for your users. One of the first things to try is searching for files that shou…
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

809 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