[HowTo] Udaljeni backup server - FreeBSD, ZFS, i Rsync

[HowTo] Udaljeni backup server - FreeBSD, ZFS, i Rsync

  • soxxx 
  • Prijatelj foruma
  • Pridružio: 25 Maj 2005
  • Poruke: 1482
  • Gde živiš: Gracanica, Kosovo

Izvanredan post, samo cu preneti kratko, ostalo pogledajte na linku:

A co-worker and I developed a centralised backup solution using FreeBSD, ZFS, and Rsync. The following set of posts describe how we did it.

Note: this is fairly long, and includes code dumps from all the scripts and config files used.

Server Hardware

Our central backup server uses the following hardware:

* Chenbro 5U rackmount case, with 24 hot-swappable drive bays, and a 4-way redundant PSU
* Tyan h2000M motherboard
* 2x dual-core Opteron 2200-series CPUs at 2.2 GHz
* 3Ware 9550SXU PCI-X RAID controller in a 64-bit/133 Mhz PCI-X slot
* 3Ware 9650SE PCIe RAID controller in an 8x PCIe slot
* Intel PRO/1000MT 4-port gigabit PCI-X NIC
* 24x 500 GB SATA harddrives
* 2x 2 GB CompactFlash cards in CF-to-IDE adapters

OS Configuration

We're currently running the 64-bit amd64 version of FreeBSD 7.1. We'll be upgrading to 7.2 once it's released. And we are anxiously awaiting the release of 8.0 with ZFSv13 support.

Two of the gigabit NIC ports are combined using lagg(4) and connected to one gigabit switch. We're considering adding the other two ports to the lagg interface, but we're waiting for a new managed switch that support LACP before we do.

The 2 CF cards are configured as gm0 using gmirror(Cool. / and /usr are installed on gm0.

The 3Ware RAID controllers are configured basically as glorified SATA controllers. Each drive is configured as a "SingleDrive" array, and appear to the OS as separate drives. Using SingleDrive instead of JBOD allows the RAID controller to use the onboard cache, and allows us to use the 3dm2 monitoring software. Each drive is also named after the slot/port it is connect to (disk01 through disk24).

The 24 harddrives are also labelled using glabel(Cool, according to the slot they are in, using the same names as the RAID controller uses (disk01 through disk24).


Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
Ko je trenutno na forumu

Ukupno su 870 korisnika na forumu :: 34 registrovanih, 5 sakrivenih i 831 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: A.R.Chafee.Jr., alkatraz080, amaterSRB, babaroga, Cirkon, Ctrl x, darkangel, Dimitrise93, Georgius, ILGromovnik, Insan, Kiki2004, Konda, Krusarac, kuntalo, kybonacci, manda87, MB120mm, milekNS, miodrag, pavle_pzs, Recce, repac, riva, rovac, shaja1, shone34, srecko81, Srki98, vasa.93, vladancekicsrb, zajcev1, zixmix, zljubomir