On Fri 07 Dec 2007, Luis Miguel R. wrote:

> Hi all, the next week I have to install a new server on a client CPD, it
> will be used as a NAS server, the proposed setup is:
> 
> debian etch + samba + dirvish
> 
> A supermicro server + 2 gb ecc + c2duo e6600
> a 3ware 9650 with 4 to 8 500/750 sata seagate NS disks.

If you can, opt for an Areca controller instead of 3ware.
We have much better throughput with Areca. 3ware looks OK,
but when you start randomly deleting and creating files all over the
place, 3ware's performance suffers badly. At one point the expire for
one day started taking more than 24 hours...  I switched that
configuration to JBOD (so that linux sees each individual disk as a
"normal" disk), configured linux md software raid over that, and that is
a lot better now (the daily expire is just 7 hours...)

A newer system was specced with an Areca controller, and that is many
times faster, no need for linux software raid there.

> I know that using raid the hardware problem is resolved, by we are 
> playing with only one filesystem and any problem with it will trash 
> all the data, I am thinking in create a separate raid (maybe with
> cheaper disks and even with raid 0) and doing dirvish snapshots on both
> filesystems to have FS redundancy in case one filesystem get corrupted.

What I do with colocated servers is to put the last part of the disk in
a separate partition, and use that for backups. With a 2-disk setup, the
first part of the disks are used for RAID-1 primary (working) storage,
and on even days I use the first disk backup partition for the dirvish
backup, and on odd days I use the second disk backup partition. For that
I swap around a symlink master.conf to point to either master-0.conf or
master-1.conf before doing dirvish-runall.  That way one disk may die,
and there's still a backup available (although it may be a day old, but
restoring the system may take that long anyway). You could also put the
2 backup partitions in a RAID-1 and backup to that. Drawback may be that
you can't keep so many images (in total, that is).


Paul Slootman
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to