LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-10-2009, 10:00 PM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
how can a harddisk autocorrects itself all the time while running? (for infine uptim)


Helllo

Uptime of 5days, and this ext3 crashes. I know that at reboot itll be funny. testdisk and photorec eventually.
Man, ext3 is fragile, is you dont do tunefs -c and reboot time to time.

So how can I get an huge uptime, not worried, cuz this guy will be able to fix itself while running?
 
Old 09-10-2009, 11:13 PM   #2
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Ext3 seems pretty robust to me; I never reboot except to install a new kernel, or if a power failure lasts longer than my UPS does.

What do you mean "ext3 crashes"? How do you know this? What are your symptoms?
 
Old 09-20-2009, 07:06 AM   #3
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
I think we can use smartctl ??

http://www.cyberciti.biz/tips/monito...g-systems.html

I put this into :
Code:
# cat /etc/default/smartmontools
# Defaults for smartmontools initscript (/etc/init.d/smartmontools)
# This is a POSIX shell fragment

# List of devices you want to explicitly enable S.M.A.R.T. for
# Not needed (and not recommended) if the device is monitored by smartd
#enable_smart="/dev/hda /dev/hdb"
enable_smart="/dev/hdf"

# uncomment to start smartd on system startup
start_smartd=yes

# uncomment to pass additional options to smartd on startup
#smartd_opts="--interval=1800"
Code:
# cat /etc/smartd.conf 
/dev/hdf  -m address@gmail.com -M exec /usr/share/smartmontools/smartd-runner
Code:
   Device Boot      Start         End      Blocks   Id  System
/dev/hdf1               1        3039    24410736   83  Linux
/dev/hdf2            3040        3161      979965   82  Linux swap / Solaris
/dev/hdf3            7909       19457    92767342+  83  Linux
/dev/hdf4            3162        3191      240975    b  W95 FAT32
but actually I would like the pc, to check and fix all the time the /dev/hd3 which is the /home

is that possible?
 
Old 09-20-2009, 08:14 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by frenchn00b View Post
but actually I would like the pc, to check and fix all the time the /dev/hd3 which is the /home

is that possible?
No. At some point physical failures will not be auto-repairable -- unless your HDD is like the VW Beetle in the Woody Allen film. The nearest you can get is hot-swappable storage and some human intervention to replaced failed/failing devices.
 
Old 09-20-2009, 08:47 AM   #5
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by catkin View Post
No. At some point physical failures will not be auto-repairable -- unless your HDD is like the VW Beetle in the Woody Allen film. The nearest you can get is hot-swappable storage and some human intervention to replaced failed/failing devices.
so how can servers Linux and BSD runs, with huge uptime ?
I dont believe, they can autofix, or use fuse, ... or dont know


well, here freeshell.org
so they daily restart their machine server?
Code:
$ uptime
 1:46PM  up 1 day, 20:36, 43 users, load averages: 0.74, 0.56, 0.57
$
 
Old 09-20-2009, 01:40 PM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Smartctl checks the physical integrity of the drive, it doesn't do anything with the fs inside of it. So it really doesn't help with the topic at hand.

Quote:
Originally Posted by frenchn00b View Post
so how can servers Linux and BSD runs, with huge uptime ?
I dont believe, they can autofix, or use fuse, ... or dont know
Raids, redundancy, hot swappable hardware.
 
Old 09-20-2009, 01:50 PM   #7
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by i92guboj View Post
Smartctl checks the physical integrity of the drive, it doesn't do anything with the fs inside of it. So it really doesn't help with the topic at hand.



Raids, redundancy, hot swappable hardware.


but how does google with their billions of GB, they shall certainly check their drives. How does servers?
 
Old 09-20-2009, 01:56 PM   #8
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Probably with a combination of raids and clusters, I guess. Google has *lots* of machines, certainly turning one of them off will have zero impact on the services that Google can offer.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Second install from harddisk from a running system possible? JZL240I-U Linux - Software 3 12-14-2007 02:48 AM
Adding a new RAID HardDisk in a already running CentOS 4.0 romeo_tango Linux - Hardware 5 12-07-2006 04:08 AM
Running 2 OS at the same time NeoSpawn Linux - General 18 06-17-2004 05:42 PM
Low Harddisk space. Can I just transfer the entire Linux to a bigger harddisk? davidas Linux - Newbie 12 04-13-2004 02:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:02 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
Open Source Consulting | Domain Registration