Re: better disk reliability on a desktop machine

From: Alex Zbyslaw (xfb52_at_dial.pipex.com)
Date: 07/15/05

  • Next message: Alex Zbyslaw: "Re: DHCP assigned unregistered IP address"
    Date: Fri, 15 Jul 2005 18:57:13 +0100
    To: freebsd-questions@freebsd.org
    
    

    Chuck Swiger wrote:

    > Nick Barnes wrote:
    > [ ... ]
    >
    >> 3c: Opinions on using firewire hard disks for this at all? Would I be
    >> better off writing DVDs?
    >
    >
    > Hard drives provide near-online backup, but only a single full
    > iteration. You can do incrementals to DVD or CD-RW or tape, and keep
    > many iterations handy, which is far more reliable.

    A recent message on this list was from someone detailing the lengths
    they went to to prevent DVD backups from becoming unusable. A search on
    DVD ought to find it. Mind you, I have heard people say that DAT is
    unreliable whereas (fingers crossed) it has proved fine for me.

    >
    >> 3. making backups.
    >>
    >> 3a: I'm used to dump/restore, but it seems to me that rsync might be a
    >> better tool for this, as it would allow me to mount and browse the
    >> backup. Opinions?
    >
    >
    > This is good if you set up an entire system as a backup, although you
    > could dual-purpose that box and have it act as a fileserver, proxy
    > server, who knows, as well.

    I was planning something along these lines as well. My intention is to
    have an oldish box that I can rsync to at regular intervals (probably
    from filesystem snapshots) in such a way that this would a) provide data
    backup b) provide machine backup as well. In the meantime, it can be a
    web server or a gateway or whatever.

    Originally I was going to run a couple disks with hardware RAID 1, since
    the motherboard has twin SATA RAID controllers. But I think I'm
    changing my mind.

    I've always been a bit dubious of the advantage of RAID 1. Starting
    with two identical disks which came off the assembly line possibly
    within minutes of each other, then assuming that one fails, I believe
    that the odds of the second one also failing are greatly increased. And
    ghods forbid, the disks you get turn out to be the next Deskstar 60 (or
    was it 75?). Then there is the chance of controller failure. And then
    there's the knowing if one of your RAID 1 disks has actually failed.
    Unless there is a CLI for your RAID, or FreeBSD knows enough about it,
    one disk could fail and you might not even know it, especially if you
    don't reboot regularly, or don't watch the machine POST. On most
    desktop machines, you're stuck with one disk activity LED, which is no
    help. Even one LED per controller isn't good enough.

    So my new plan is to have two disks running RAID 0 and to rsync them
    regularly to a different kind of disk which isn't raided at all and
    which is on a different controller, as well as to the remote machine.
    If one of the raided disks fails, then I lose some amount of work,
    depending on how often an rsync is practical. I'm prepared to live with
    that risk given that I think RAID 0 will give great benefits in some of
    the long-winded, disk-intensive, database-y stuff I do. No doubt
    someone can tell me the error of my plan :-) So far, it is all theory.

    This is in addition to tape.

    David Kelly wrote:

    > There are a few select files on the root filesystem which are unique
    > to your system, everything else exists elsewhere such as on your
    > installation CDROM.
    >
    > When you go to build your new filesystem keep a list of the files you
    > tweak. Suggest placing it in /root/important_file_list. Be sure to
    > list the important file list in your important file list.
    >
    > tar -cvzf /home/myaccount/backups/today.tar.gz -T /root/
    > important_file_list
    >
    > Size /usr sufficient for OS and application space but don't place
    > critical data there. Make /home your redundant mirror and put
    > everything critical there.

    Can't argue with the principle. Don't forget that there are system
    specific files on /usr/local as well. Most of it comes straight out of
    ports but there there are the config files, tweaked startup files,
    scripts in /usr/local/bin etc. Also, if you don't have a list of the
    ports you have, then /var/db becomes important as well.

    --Alex

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Alex Zbyslaw: "Re: DHCP assigned unregistered IP address"

    Relevant Pages

    • Re: Sensible backup approach?
      ... There is always the risk that the entire RAID array can be destroyed by some event such as a fire. ... I accept the potential loss of recent data and only update my offset backup every few weeks. ... Then delete them from your disks to recover space if needed. ...
      (comp.sys.mac.system)
    • Re: Minimal configuration, suggestions wanted.
      ... of disks, how would you place ... the backup to outside of the 'box' or the computerroom. ... should be on a separate disk. ... A RAID 0+1 will give the most fault tolerate Raid with good ...
      (microsoft.public.sqlserver.server)
    • Backup to dvd
      ... Need some help hammering out a tar/mkisofs command to backup my disks to ... /) to they're own dvd. ... tarball or iso on the hard disk before I burn it. ...
      (Debian-User)
    • Re: a little confused about RAID ....
      ... on 3 disks of medium size. ... For backup data, depending on how you organize your backups, it may be ... servers we have where we do not use RAID. ... on a fourth separate disk or it is ok to install it on the raid? ...
      (comp.os.linux.hardware)
    • Re: Sarge - how to write a filesystem backup directory to a DVD ?
      ... way to burn a directory of files to a DVD for system backup. ... You can take the disks to another machine, ... restore your system. ...
      (Debian-User)