Re: software raid 1 and recovery
On Fri, 2008-01-04 at 10:56 -0500, Brian A. Seklecki wrote: > Google: nagios + seklecki + check_raid_gmirror > > Also check out sysutils/smartmontools/ Also, I recently updated the plugin code to r270 with some patches from Scott Swanson. You can see a small screenshot of it in action here: http://people.collaborativefusion.com/~seklecki/images/check_raid_gmirror_fbsd_nagiosWeb.png ~BAS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: software raid 1 and recovery
Google: nagios + seklecki + check_raid_gmirror Also check out sysutils/smartmontools/ Cheers! ~BAS (Dealing with a fucked up gmirror raid 1 this morning) On Fri, 2008-01-04 at 15:32 +, Robin Becker wrote: > I set this system up using Dru Lavigne's recipe, but I don't really > understand -- Brian A. Seklecki <[EMAIL PROTECTED]> Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Software RAID-1 - Swap partition
John Oxley wrote: Hi, I followed http://people.freebsd.org/~rse/mirror/ to create a software RAID mirror. I have two 75G drives in the machine. I allocated 74G to the filesystem on each drive and 1 G to swap. When I blanked ad1 and created ad1s1, I didn't notice that it had taken up the whole of the drive. Can I shrink the mirror partition and have two swap partitions, or if that is not possible, how would I go about creating a "mirrored" swap partition? Your swap partition ought to be mirrored already. From a similar system: 0-11:01 [EMAIL PROTECTED] ~> swapinfo Device 1K-blocks UsedAvail Capacity /dev/mirror/gm0s1b 41674880 4167488 0% 0-11:01 [EMAIL PROTECTED] ~> grep swap /etc/fstab /dev/mirror/gm0s1b noneswapsw 0 0 -danny -- http://dannyman.toldme.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Software RAID-1 on FreeBSD 5.4
One last comment for you on software mirroring, While I am not trying to disparage the various efforts, software mirroring provides limited redundancy unless the hard drives are on separate busses. If you do the common thing of putting 2 IDE drives as the master and slave on the primary IDE controller, than all it takes is a buss error on the IDE bus and you have scrambled the data on both hard drives. The same problem exists if you setup a ccd or vinum or gmirror or whatever on a SCSI controller where the disks are all on the same SCSI bus. The same problem also exists on SATA controllers, and on cheaper hardware RAID cards where the disks are on a single IDE bus. This is why hardware RAID controllers are quite often better as the better ones contain multiple interfaces. Ted >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of ptitoliv >Sent: Wednesday, June 29, 2005 12:56 PM >To: freebsd-questions@freebsd.org >Subject: Re: Software RAID-1 on FreeBSD 5.4 > > >Hello again, > >Thank you for all your answers ! I am going to look at gmirror and ccd. >But I have a last question. My disks are differents. One is a Maxtor >detected with a 111 GB capacity and the other is a Seagate detected with >a 114 GB capacity. Will I have problems trying to use RAID with this >configuration ? > >Best regards, >ptitoliv > >___ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Software RAID-1 on FreeBSD 5.4
On June 29, 2005 05:59 pm, Mark Bucciarelli wrote: > On Wed, Jun 29, 2005 at 09:56:16PM +0200, ptitoliv wrote: > > But I have a last question. My disks are differents. One is a Maxtor > > detected with a 111 GB capacity and the other is a Seagate detected > > with a 114 GB capacity. Will I have problems trying to use RAID with > > this configuration ? > > Not with gmirror. Dunno about ccd. Last time I tried ccd it would work fine on dissimilar drives so long as the partitions (not slices) that are used for the mirroring were exactly the same size. -- Ean Kingston E-Mail: ean AT hedron DOT org URL: http://www.hedron.org/ I am currently looking for work. If you need competent system/network administration please feel free to contact me directly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Software RAID-1 on FreeBSD 5.4
On Wed, Jun 29, 2005 at 09:56:16PM +0200, ptitoliv wrote: > But I have a last question. My disks are differents. One is a Maxtor > detected with a 111 GB capacity and the other is a Seagate detected > with a 114 GB capacity. Will I have problems trying to use RAID with > this configuration ? Not with gmirror. Dunno about ccd. m ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Software RAID-1 on FreeBSD 5.4
Hello again, Thank you for all your answers ! I am going to look at gmirror and ccd. But I have a last question. My disks are differents. One is a Maxtor detected with a 111 GB capacity and the other is a Seagate detected with a 114 GB capacity. Will I have problems trying to use RAID with this configuration ? Best regards, ptitoliv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Software RAID-1 on FreeBSD 5.4
I have had a lot of sucess with ccd. Its pretty simple to configure. Basically, you just add the kernel device. Label the disks, do a ccdconfig ccd0 0 /dev/ /dev/. Then newfs ccd0 and mount it where you want it. Casey > Hello everybody, > > I have 2 120 Go Drives installed on my FreeBSD 5.4 Box. I want to create > with these 2 disks a software RAID-1 solution. I wanted to use vinum but > lots of people say that vinum is very unstable on FreeBSD 5.4. So I am > asking you what is the best solution to make RAID-1 on FreeBSD 5.4. > > Thank you for your answers > > Best Regards, > ptitoliv > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Software RAID-1 on FreeBSD 5.4
On Wed, 29 Jun 2005 21:28:22 +0200 ptitoliv <[EMAIL PROTECTED]> wrote: > I have 2 120 Go Drives installed on my FreeBSD 5.4 Box. I want to create > with these 2 disks a software RAID-1 solution. I wanted to use vinum but > lots of people say that vinum is very unstable on FreeBSD 5.4. So I am > asking you what is the best solution to make RAID-1 on FreeBSD 5.4. you might want to look at this : http://people.freebsd.org/~rse/mirror/ HTH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Software RAID-1 on FreeBSD 5.4
Am Mittwoch, 29. Juni 2005 21:28 schrieb ptitoliv: > Hello everybody, > > I have 2 120 Go Drives installed on my FreeBSD 5.4 Box. I want to create > with these 2 disks a software RAID-1 solution. I wanted to use vinum but > lots of people say that vinum is very unstable on FreeBSD 5.4. So I am I can't confirm that, but I can recommend gmirror. -Harry > asking you what is the best solution to make RAID-1 on FreeBSD 5.4. > > Thank you for your answers > > Best Regards, > ptitoliv > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpUmU3RilDrv.pgp Description: PGP signature
Re: Software RAID-1
On Sun, Sep 21, 2003 at 11:15:41AM +0100, Chris Hastie wrote: > I'm looking at building a FreeBSD server with two identical 60GB hard > drives configured with software RAID-1. What would be the best way to > set about this? Vinum or RaidFrame (which it appears from release notes > / errata doesn't work on 5.1) or something else? And what is a sensible > procedure to get something like this working on a fresh install? The Handbook is your friend: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-root.html Vinum is considerably more stable under FreeBSD than RaidFrame -- I'm not even sure that the people porting RaidFrame are ready to have people use it on anything other than development systems yet. Since, as you say, it's not supported on RELENG_5_1, then the only place you'ld have a hope of finding it is HEAD, and that's just too grisly to contemplate running a proper server system on. In fact, unless your hardware requires you to run 5.x, I'd strongly recommend that you stick with 4.8-RELEASE (or 4.9-RELEASE due out in the next few weeks). Using Vinum boot drives under 4.x is supported, but not quite so well integrated into the boot code as on 5.x. However, all it requires are a few extra twiddles in /boot/loader.conf as shown at the end of the referenced Handbook section. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature