LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-27-2012, 04:17 PM   #1
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 183

Rep: Reputation: 2
many error after crash system


hello every body
i have ubuntu 11 amd 64 system
i got many of this msg

Code:
 Read-error on swap device (8:0:152266141)

after that the system stop working but when i restarted i got it work again but this happen every day why ??
 
Old 09-27-2012, 05:56 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,692

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by !! hack-back !! View Post
hello every body
i have ubuntu 11 amd 64 system i got many of this msg
Code:
 Read-error on swap device (8:0:152266141)
after that the system stop working but when i restarted i got it work again but this happen every day why ??
Because your hard drive is going bad, that's why. Replace it.
 
Old 09-27-2012, 06:26 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Before replacing the harddisk I would recommend to download the manufacturer's diagnosis tool and test the disk.
 
Old 09-28-2012, 04:19 AM   #4
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 183

Original Poster
Rep: Reputation: 2
this server have 6 hard disks , how i can know which one is the bad one ??
 
Old 09-28-2012, 04:23 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
If you have errors on the swap partition I would test the one with the swap partition. If this is a RAID setup I would test them all.
 
Old 09-28-2012, 04:35 AM   #6
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 183

Original Poster
Rep: Reputation: 2
no it is swap partitions , can you please tell me which is the best tool to test them ?
 
Old 09-28-2012, 05:23 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
You get your errors on the swap partition. Look up in your /etc/fstab on which disk the swap partition is, then use the diagnosis tool that is provided by the manufacturer of that disk.
 
Old 09-28-2012, 06:31 AM   #8
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 183

Original Poster
Rep: Reputation: 2
it is ubuntu server so what is the command ???
this my /etc/fstab

Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda1 during installation
UUID=d0eb1e97-2fe6-4f32-aac2-fa8467b886fd /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
#UUID=4668857d-72ee-4656-a40a-e8664370bbb7 none            swap    sw              0       0
/dev/mapper/cryptswap1 none swap sw 0 0



/dev/sdb1 /1 ext3 noatime,nodiratime 0 0
/dev/sdc1 /2 ext3 noatime,nodiratime 0 0
/dev/sdd1 /3 ext3 noatime,nodiratime 0 0
/dev/sde1 /4 ext3 noatime,nodiratime 0 0

/dev/sdf1 /logs ext3 noatime,nodiratime 0 0
 
Old 09-28-2012, 07:35 AM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
As we can see here your swap partition is on /dev/sda, which is usually tghe first disk in the system. There is no guarantee, but usually the first disk in the system is the one on the first SATA port on the motherboard.
 
Old 09-28-2012, 07:59 AM   #10
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 183

Original Poster
Rep: Reputation: 2
sda is my system hard disk and the others is for file storage , so what i should do now ??
 
Old 09-28-2012, 08:12 AM   #11
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
As I said two times already, download the manufacturer's diagnosis tool and test the disk with it.
 
Old 09-28-2012, 09:00 AM   #12
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 183

Original Poster
Rep: Reputation: 2
as you said : download the manufacturer's diagnosis tool and test the disk with it
what is the package name for ubuntu please ?
thanks
 
Old 09-28-2012, 09:04 AM   #13
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
There is no package for Ubuntu and even there would be, how should I know the manufacturer of your harddisk?. Go to the manufacturer's website, download the tool, burn it to a CD and boot the system from it.
 
1 members found this post helpful.
  


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
System Crash (ainit error) in FC4 hazmatt20 Linux - General 10 07-22-2006 04:42 AM
system crash anurak Red Hat 1 06-16-2006 09:48 AM
powernow error causes system crash jonostew Linux - Software 1 02-04-2006 02:17 PM
System Crash??? cstovall Linux - General 2 10-04-2003 09:31 AM
SYSTEM CRASH cpersic Linux - General 6 01-07-2002 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:24 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