b818 RAID1 with graid? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Storage

Storage Place to ask questions about partitioning, labelling, filesystems, encryption or anything else related to storage area.

Reply
 
Thread Tools Display Modes
  #1  
Old May 21st, 2012, 20:28
atomant atomant is offline
Junior Member
 
Join Date: May 2012
Posts: 15
Thanks: 3
Thanked 0 Times in 0 Posts
Default RAID1 with graid?

The system is set up and running. Still strugling how to make labels (another topic). I want to make RAID1 for my main disk (OS, boot) on FBSD FreeBSD 9.

I have searched everywhere but I haven't found one tutorial on how to make RAID1 with graid, instead there is only a manual page. In the FBSD FreeBSD handbook for RAID with gmirror says that it is incompatible with FBSD FreeBSD 9.x but doesn't explain how to do it with graid.

Has anyone here a usable tutorial on this?

Last edited by DutchDaemon; May 21st, 2012 at 22:02. Reason: AGAIN: Mind your writing style: http://forums.freebsd.org/showthread.php?t=18043
Reply With Quote
  #2  
Old May 21st, 2012, 20:41
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,701
Thanks: 429
Thanked 1,757 Times in 1,456 Posts
Default

First, gmirror works fine on 9.0, it just has to be done with MBR rather than GPT partitioning. Even that's not strictly true. Another way to do it is by mirroring GPT partitions: gmirror With Disk Partitions.

As far as I understand it, graid(8) can access RAIDs created with the BIOS. Then boot FreeBSD, load the graid module (graid load), and install FreeBSD to the mirror. I don't know if
Code:
geom_raid_load="YES"
is required in /boot/loader.conf or is done automatically.

It's important to realize that this ties you to the RAID controller format used by that motherboard. So if the motherboard dies, moving the mirror to another computer with a different RAID controller might be tricky or impossible.

Last edited by DutchDaemon; May 21st, 2012 at 22:02.
Reply With Quote
  #3  
Old May 24th, 2012, 04:02
mav@ mav@ is offline
FreeBSD Developer
 
Join Date: Feb 2008
Location: Dnepropetrovsk, Ukraine
Posts: 554
Thanks: 0
Thanked 136 Times in 119 Posts
Default

Quote:
Originally Posted by wblock@ View Post
It's important to realize that this ties you to the RAID controller format used by that motherboard. So if the motherboard dies, moving the mirror to another computer with a different RAID controller might be tricky or impossible.
graid allows to use all supported metadata formats unrelated to the hardware it runs now. So it should be able to access data even after migration to another hardware. But booting indeed may become a problem if new BIOS won't handle old format and boot partition was not RAID1 or resides not at the beginning of the disks.
Reply With Quote
  #4  
Old May 24th, 2012, 12:46
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,701
Thanks: 429
Thanked 1,757 Times in 1,456 Posts
Default

Quote:
Originally Posted by mav@ View Post
graid allows to use all supported metadata formats unrelated to the hardware it runs now. So it should be able to access data even after migration to another hardware.
That's pretty cool!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RAID1 and automount help greg Storage 1 April 22nd, 2012 04:37
graid -- new software RAID implementation in 9-CURRENT mav@ System Hardware 4 October 3rd, 2011 15:52
[Solved] RAID1 Freebsd 8.1 Gonefishing Installing & Upgrading 6 September 3rd, 2010 11:48
gmirror for RAID1 dave Installing & Upgrading 2 February 27th, 2009 21:31
Concatenation and RAID1 possible? equack General 1 January 25th, 2009 08:20


All times are GMT +1. The time now is 22:29.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0