Re: Server offline :-( please help to repair software RAID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Turned out, smartd kept saying, that it had no entries in smartd.conf.

I've copied smartd.rpmnew over smartd.conf, restarted it,
now I have (in /var/log/messages, date+hostname removed):

smartd version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Opened configuration file /etc/smartd.conf
Configuration file /etc/smartd.conf was parsed, found DEVICESCAN,
scanning devices
Problem creating device name scan list
Device: /dev/sda, opened
Device /dev/sda: using '-d sat' for ATA disk behind SAT layer.
Device: /dev/sda, opened
Device: /dev/sda, not found in smartd database.
Device: /dev/sda, is SMART capable. Adding to "monitor" list.
Device: /dev/sdb, opened
Device /dev/sdb: using '-d sat' for ATA disk behind SAT layer.
Device: /dev/sdb, opened
Device: /dev/sdb, not found in smartd database.
Device: /dev/sdb, is SMART capable. Adding to "monitor" list.
Monitoring 0 ATA and 2 SCSI devices
smartd has fork()ed into background mode. New PID=3427.

And the /etc/smartd.conf contains:
DEVICESCAN -H -m root
and the rest are comments.

Do you think it is configured okay this way?

My disk info is:

# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/md1               20G  1.7G   17G   9% /
/dev/md3              176G  7.0G  160G   5% /var
/dev/md0              993M   42M  901M   5% /boot
/dev/md2              263G  2.0G  248G   1% /home
tmpfs                 2.0G     0  2.0G   0% /dev/shm

#  cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdb1[1] sda1[0]
      1023936 blocks [2/2] [UU]

md2 : active raid1 sdb5[1] sda5[0]
      277728192 blocks [2/2] [UU]

md3 : active raid1 sdb6[1] sda6[0]
      185151360 blocks [2/2] [UU]

md1 : active raid1 sdb3[1] sda3[0]
      20479936 blocks [2/2] [UU]

unused devices: <none>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux