Re: VFS functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Siddhartha Jain (sid@netmagicsolutions.com) wrote:
> >> Basically, I intend to create a module that, when loaded, allows for
> >> file/directory replication. So if /home is meant to be replicated to /opt
> >> then /etc can contain a config file that has a line like:
> >> /home	   /opt
> >
> >Why do you want such a module?
> 
> I wanted to replicate a local directory on a server to a NFS mounted
> directory. We tried to use rsync but for our directory sizes it worked out
> to be too slow. For a directory (you guessed it - mail) with about 80,000+
> files the sync time was about half an hour. Also, during the sync the
> utilization figures on the file server (a NetApp) would go high. We
> originally planned to export such NFS directories to all the mail servers
> from the NetApp fileserver so that if any mail server disks crashed we
> wouldn't lose any data and bring it back-up quickly. But since rsync turned
> out to be very slow for even a single server we had to scrap the idea of
> doing multiple servers.

The solution is hard RAID-1 ;) and I think the read of md (for woft
raid) module could help you.

Have a good day.
-- 
Regards

Christophe 

* GNU/Linux & UNIX developer and network administrator
* Membre RotomaLUG (http://www.rotomalug.org)
* Registered User #271267
* Email: c.lucas@ifrance.com
* Web Site: http://odie.mcom.fr/~clucas/

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux