LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   many error after crash system (https://www.linuxquestions.org/questions/ubuntu-63/many-error-after-crash-system-4175429352/)

!! hack-back !! 09-27-2012 04:17 PM

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 ??

TB0ne 09-27-2012 05:56 PM

Quote:

Originally Posted by !! hack-back !! (Post 4791017)
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.

TobiSGD 09-27-2012 06:26 PM

Before replacing the harddisk I would recommend to download the manufacturer's diagnosis tool and test the disk.

!! hack-back !! 09-28-2012 04:19 AM

this server have 6 hard disks , how i can know which one is the bad one ??

TobiSGD 09-28-2012 04:23 AM

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.

!! hack-back !! 09-28-2012 04:35 AM

no it is swap partitions , can you please tell me which is the best tool to test them ?

TobiSGD 09-28-2012 05:23 AM

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.

!! hack-back !! 09-28-2012 06:31 AM

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


TobiSGD 09-28-2012 07:35 AM

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.

!! hack-back !! 09-28-2012 07:59 AM

sda is my system hard disk and the others is for file storage , so what i should do now ??

TobiSGD 09-28-2012 08:12 AM

As I said two times already, download the manufacturer's diagnosis tool and test the disk with it.

!! hack-back !! 09-28-2012 09:00 AM

as you said : download the manufacturer's diagnosis tool and test the disk with it
what is the package name for ubuntu please ?
thanks

TobiSGD 09-28-2012 09:04 AM

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.


All times are GMT -5. The time now is 11:06 PM.