LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-16-2009, 09:41 PM   #1
donneo
LQ Newbie
 
Registered: Jun 2008
Posts: 16

Rep: Reputation: 0
backup - best file system?


I have a backup server running on Centos 5.3 it has 1 TB hdd and RAID 5
setup. This is used as a NFS backup server. But the file system in the server
is becoming read only very frequently due to the increased write operations.


Every time, I have to run FSCK to bring the server back on line. This will
take more than eight hours. Can anyone suggest a better file system that can
be used for backup solutions. Also, is there any way to optimize my ext3 file
system to handle more write operations? The read operations in the server are
very rare as we do not do data restore frequently.

Please let me know your suggestions.


Thanx.
 
Old 07-17-2009, 05:24 AM   #2
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 246

Rep: Reputation: 53
Quote:
Originally Posted by donneo View Post
I have a backup server running on Centos 5.3 it has 1 TB hdd and RAID 5
setup. This is used as a NFS backup server. But the file system in the server
is becoming read only very frequently due to the increased write operations.


Every time, I have to run FSCK to bring the server back on line. This will
take more than eight hours. Can anyone suggest a better file system that can
be used for backup solutions. Also, is there any way to optimize my ext3 file
system to handle more write operations? The read operations in the server are
very rare as we do not do data restore frequently.

Please let me know your suggestions.


Thanx.
The ext3 is fine for this.

You can try this: elvtune -r 1024 -w 2048 /dev/sda
Tune the Elevator Algorithm in Linux Kernel for Disk I/O.

http://books.google.co.uk/books?id=N...esult&resnum=3

And take a look the journaling mode options for fine tuning.

But mainly it depends on the disks.
Software Raid-10 with SCSI/SAS the best one, I know that this is horrible expensive vs. SATA.

But definitely raid-10/SATA with low latency time HDDs(8.5, 8.3ms) will get you much better write performance then just one disk.

Laz
 
Old 07-21-2009, 01:33 AM   #3
donneo
LQ Newbie
 
Registered: Jun 2008
Posts: 16

Original Poster
Rep: Reputation: 0
Thanx for your reply. I cannot find the command elvtune in the server. We need to install it separately? Also whether the command elvtune -r 1024 -w 2048 /dev/sda cause any problem to the existing data in the drive? Can you please tell me what exactly the command does?

Thanx in advance.
 
Old 07-21-2009, 07:03 AM   #4
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
Should be /sbin/elvtune. See, e.g., http://www.redhat.com/support/wpaper...t3/tuning.html.
 
Old 07-27-2009, 03:41 AM   #5
donneo
LQ Newbie
 
Registered: Jun 2008
Posts: 16

Original Poster
Rep: Reputation: 0
The command was not in /sbin. I think it is still the beta version. http://ftp.fr.kernel.org/pub/linux/utils/util-linux/

I will try this command and will let you know my experience. Meanwhile, anyone tried the ext4 file system? I think using ext4 will be better option.
 
Old 07-27-2009, 09:23 AM   #6
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Quote:
Originally Posted by donneo View Post
But the file system in the server
is becoming read only very frequently due to the increased write operations.
Can you elaborate that? It's the first time I've heard of the concept of a file system "becoming read only due to increased write operations"? How does this work?

Quote:
Originally Posted by donneo View Post
Can anyone suggest a better file system that can
be used
If you don't like the time ext3 takes to fsck, you can try reiserfs, it has much faster fsck. I prefer it over ext3, also for better performance*.

R.

*) subjectively measured, please don't flame me
 
Old 07-28-2009, 04:13 AM   #7
donneo
LQ Newbie
 
Registered: Jun 2008
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by r0b0 View Post
Can you elaborate that? It's the first time I've heard of the concept of a file system "becoming read only due to increased write operations"? How does this work?



If you don't like the time ext3 takes to fsck, you can try reiserfs, it has much faster fsck. I prefer it over ext3, also for better performance*.

R.

*) subjectively measured, please don't flame me

We have a backup server. It is configured as a NFS backup server. Backup from a lot of other servers are copied into this server at different timings. May be due to this, our file system in the backup server is becoming read only very frequently. Since it is a big disk, fsck is taking too much time to complete.

Can you please explain me on how to do this reiserfs, when a filesystem is read only?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Best file system to backup files Penguin Community Linux - Hardware 2 05-10-2009 04:36 AM
System Backup - TAR file in Pieces by 4.7GB .... skate Linux - Server 6 08-09-2008 07:30 PM
How to backup image (file system) to remote Host. grens Linux - Enterprise 0 11-16-2007 01:54 PM
Yast System Backup doesn't create auto-installation file MatricalDreamer SUSE / openSUSE 1 05-03-2006 09:36 AM
How can i backup whole linux partition and file system ?? my-unix-dream Linux - Newbie 3 04-19-2005 09:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration