LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-27-2010, 12:29 PM   #1
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Rep: Reputation: 46
Recommendations for regular maintenance on 800GB samba share


I know on Windows boxes you can defrag and run disk checks on large file shares to find and fix errors. What would be the equivolent to those for an ext3 800GB samba share containing pictures, documents, and videos? Is their online vs. offline (during a reboot) things that should be done?
 
Old 04-27-2010, 02:01 PM   #2
Undermind
Member
 
Registered: Sep 2009
Location: Denmark
Distribution: Arch Linux
Posts: 37

Rep: Reputation: 15
Well, you could use cron for scheduling when to run certain scripts or programs, although i'm not too familiar with it. A quick google found this, though http://www.linuxhelp.net/guides/cron/

Defraging a linux drive is'nt nessecary as linux dosn't fragment files like Windows boxes do.
 
Old 04-27-2010, 02:27 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Quote:
Originally Posted by rjo98 View Post
I know on Windows boxes you can defrag and run disk checks on large file shares to find and fix errors. What would be the equivolent to those for an ext3 800GB samba share containing pictures, documents, and videos? Is their online vs. offline (during a reboot) things that should be done?
If you are having errors on a ext3 at boot that is when the problem should be addressed. When doing 'fsck' on any filesystem you should boot in single user mode. A good way is to use a LiveCD or the install CD to boot the system to insure that single user mode is being used. I set up my systems with a 'single' user stanza within the bootloader just encase. Saves booting a Maintenance/System CD.
 
Old 04-27-2010, 02:28 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,932

Rep: Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691
Quote:
Originally Posted by rjo98 View Post
I know on Windows boxes you can defrag and run disk checks on large file shares to find and fix errors. What would be the equivolent to those for an ext3 800GB samba share containing pictures, documents, and videos? Is their online vs. offline (during a reboot) things that should be done?
There isn't any, mainly because Linux doesn't need defrag'ing. You can check for disk errors using fsck, though, but unless you don't shut the box down cleanly (think power-failure), you will probably not need that, either.

Linux requires far less maintenance than Windows.
 
Old 04-27-2010, 02:32 PM   #5
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
Thanks guys. We have 10s of thousands of files moving on/off the server a week, so figured there might be something i should proactively do, but its almost sounding like its not. I think I'd like to run a fsck on the entire server since it hasn't really been maintained over the last couple years, I opened another post about it, I think I can do a shutdown -rF 3:00 to get it to reboot and check everything tomorrow at 3am, but i'm just worried the fsck won't be using the -y option, so it will be sitting there waiting for me to pretty Y on the keyboard for any problems it finds :'(
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mount windows share export to samba share -> improve network performance tuning newuser77 Linux - Server 1 07-23-2008 12:28 PM
looking for low maintenance distro recommendations. farkus888 Linux - Distributions 8 07-26-2007 11:51 PM
searching samba share breaks connection to share Elomis Linux - Server 1 05-11-2007 01:28 AM
Regular Server Maintenance gmitchell Linux - Networking 1 06-06-2005 02:07 AM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 08:27 AM


All times are GMT -5. The time now is 01:17 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration