Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 2009 23:20:06 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Reid Linnemann <lreid@webmail.cs.okstate.edu>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: An adage for gmirror users
Message-ID:  <alpine.BSF.2.00.0906032315430.27885@wojtek.tensor.gdynia.pl>
In-Reply-To: <4A26E7CA.6020306@cs.okstate.edu>
References:  <4A26DBAD.6000005@cs.okstate.edu> <alpine.BSF.2.00.0906032256170.27604@wojtek.tensor.gdynia.pl> <4A26E7CA.6020306@cs.okstate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--1626729238-11495294-1244064006=:27885
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT

>>
>> or bad cables.
>>
>
> I'll have to try different cables sometime, you may very well be correct.

i had such problems many times. it always was cables or disk drive.
Disk drive - check with smartmontools from ports.

>> i simply have in crontab a script running once per hour:
>>
>> #!/bin/sh
>> /sbin/gmirror status|grep -q DEGRADED && \\
>> mail -s "gmirror failure" myphonenumber@mygsmoperator.pl </dev/null
>
> Surely you jest! You presume that I have access to cheap, unrestrictive
> communications technology ;) In the US, ISPs prevent clients routing
> their own mail and text messages are outrageously expensive with our
> cell carriers! Seriously though, that's a good idea. Maybe I could have

so just send it to your mail!

Actually - only one operator in Poland still work this way, and doesn't 
officially say it's supported.
And it's the only reason i still use it, as others are bit cheaper.

> Touché! I set up my mirror after my last disk started dying and I

How about regular backups?

mirroring is only protection agains downtime, not loss of data that, as 
you may lose data because of other reasons.
Like accidental deletion, someone cracking into, hardware failure causing 
reading nonsense from disk and then writing nonsense results to both 
drives etc. etc.

> realized I needed at least some minimal fault protection. Mirroring
> seemed expedient. My ideal situation would be additionally backing up
> things I can't bear to lose on optical or tape media, but as this is my

DVDs are not expensive. and usually really small part of disk space needs 
to be backed up.
--1626729238-11495294-1244064006=:27885--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0906032315430.27885>