DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 4th May 2008
Nerve Nerve is offline
New User
 
Join Date: May 2008
Posts: 8
Thanked 0 Times in 0 Posts
Question ccd or gmirror

Looking at getting my NAS server mirroring it's two 500GB Seagate drives. The FreeBSD guide talks about setting up ccd but I've heard mention of gmirror. Does anyone know what the differences are or could point me in the direction of a comparison or review.

Thanks.
Reply With Quote
  #2   (View Single Post)  
Old 5th May 2008
Nerve Nerve is offline
New User
 
Join Date: May 2008
Posts: 8
Thanked 0 Times in 0 Posts
Default

Found this: http://people.freebsd.org/~rse/mirror/

Seems to indicate that gmirror is the new kiddy. I'll get on and try that then.
Reply With Quote
  #3   (View Single Post)  
Old 5th May 2008
phatfish phatfish is offline
New User
 
Join Date: May 2008
Location: United Kingdom
Posts: 5
Thanked 0 Times in 0 Posts
Default

Ive used gmirror for a while on a server box. Never had it tested in an actual failure, but its easy as hell to setup. A couple of commands and your good to go pretty much. No reason to use anything else as far as i know.
Reply With Quote
  #4   (View Single Post)  
Old 5th May 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

The FreeBSD 5+ methods for disk management are all based on GEOM. The currently available modules include gconcat(8), gstripe(8), gmirror(8), graid3(8), and gjournal(8), with a graid5(8) module in development.

Things like ccd, vinum, and other things that don't start with g, are all deprecated and falling into the bit-rot pile.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #5   (View Single Post)  
Old 5th May 2008
Nerve Nerve is offline
New User
 
Join Date: May 2008
Posts: 8
Thanked 0 Times in 0 Posts
Default

Thanks for the confirmation. That's the one I have tried and yes I agree it looks pretty simple to setup. The problem I've had though has been with setting up the partitions. For adding more drives it seems a mite complicated. First pitfall was the fact that sysinstall fails when trying to mount the disk but apparently this is normal! Now I have to figure out what to put in /etc/fstab. Anyway that's where I stopped so I'll carry on reading up on the next hurdle but at least I'm learning
Reply With Quote
  #6   (View Single Post)  
Old 5th May 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

Don't use sysinstall after the system is installed. sysinstall should be used only for installing the OS. Once that's done, use the OS tools for everything and ignore sysinstall completely.

A google search for "gmirror how-to freebsd" turns up a lot of hits. Here are a couple of the nicer ones:
http://www.onlamp.com/pub/a/bsd/2005...SD_Basics.html
http://lantech.geekvenue.net/chuckti...464/index_html
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #7   (View Single Post)  
Old 5th May 2008
Nerve Nerve is offline
New User
 
Join Date: May 2008
Posts: 8
Thanked 0 Times in 0 Posts
Default

Some articles do mention using sysinstall post configuration menu but I'd prefer to learn how to do it from the command line so I will focus on that.

Yea I've seen those articles, once I get the drives set up gmirror will be easy!

Thanks.
Reply With Quote
  #8   (View Single Post)  
Old 6th May 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

Send the author of those articles a hint to stop advocating the use of sysinstall for anything beyond installing the OS. The more people that harp on that point, and the less people use sysinstall after installation, the better off we'll all be (and the fewer people will complain about the loss of such features in the new FreeBSD installers).
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #9   (View Single Post)  
Old 6th May 2008
Nerve Nerve is offline
New User
 
Join Date: May 2008
Posts: 8
Thanked 0 Times in 0 Posts
Default

Should I mention it to these guys?

http://www.freebsd.org/doc/en/books/...ks-adding.html

Reply With Quote
Old 7th May 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

Yes. You should open a PR about it. They should be using the port of the sysinstall fdisk editor instead of the full-blown sysinstall. (Using sysinstall like that, for the graphical fdisk, is the only good reason I have ever seen for using sysinstall, but then I found the port sysutils/sfdisk.)
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
Old 7th May 2008
corey_james corey_james is offline
Uber Geek
 
Join Date: Apr 2008
Location: Brisbane, Australia
Posts: 238
Thanked 4 Times in 10 Posts
Default

Quote:
Originally Posted by fjwcash View Post
Send the author of those articles a hint to stop advocating the use of sysinstall for anything beyond installing the OS. The more people that harp on that point, and the less people use sysinstall after installation, the better off we'll all be (and the fewer people will complain about the loss of such features in the new FreeBSD installers).
+1 +1 +1

i'm glad someone besides me is saying this!
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
Can gmirror be configured during sysinstall? PeterSteele FreeBSD Installation and Upgrading 3 13th November 2008 12:46 AM
Can gmirror be used for this? PeterSteele FreeBSD General 12 8th November 2008 12:01 AM
gmirror array broken stukov FreeBSD General 5 15th July 2008 08:45 PM
Boot abort with gmirror problem lil_elvis2000 FreeBSD General 1 9th May 2008 08:06 PM


All times are GMT. The time now is 12:24 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick