system gets crazy !
C M Reinehr
cmr at amsent.com
Mon Oct 15 09:22:33 PDT 2007
Vu,
On Monday 15 October 2007 10:59, Vu Pham wrote:
> On Mon, 2007-10-15 at 08:52 -0500, C M Reinehr wrote:
> > > > Below is smtart output under /var/log/message.
> > > > Oct 14 13:14:30 o smartd[3421]: smartd is exiting (exit status 0)
> > > > Oct 14 13:14:32 o smartd[32471]: smartd version 5.37
> > > > [i386-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen
> > > > Oct 14 13:14:32 o smartd[32471]: Home page is
> > > > http://smartmontools.sourceforge.net/
> > > > Oct 14 13:14:33 o smartd[32471]: Opened configuration
> > > > file /etc/smartd.conf
> > > > Oct 14 13:14:33 o smartd[32471]: Configuration file /etc/smartd.conf
> > > > parsed.
> > > > Oct 14 13:14:33 o smartd[32471]: Device: /dev/sda, opened
> > > > Oct 14 13:14:33 o smartd[32471]: Device /dev/sda, please try adding
> > > > '-d 3ware,N'
> > > > Oct 14 13:14:33 o smartd[32471]: Device /dev/sda, you may need to
> > > > replace /dev/sda with /dev/twaN or /dev/tweN
> > > > Oct 14 13:14:33 o smartd[32471]: Unable to register SCSI device
> > > > /dev/sda at line 32 of file /etc/smartd.conf
> > > > Oct 14 13:14:33 o smartd[32471]: Device /dev/sda not available
> > > > Oct 14 13:14:33 o smartd[32471]: Monitoring 0 ATA and 0 SCSI devices
> > > > Oct 14 13:14:33 o smartd[32473]: smartd has fork()ed into background
> > > > mode. New PID=32473.
> > > >
> > > >
> > > > I didn't touch smartd since I installed this system. Am I supposed to
> > > > do anything with it as the log shows ?
> > >
> > > You need to configure it in /etc/smartd.conf. Googling will show you
> > > some basic commands that can get you up & running too.
> >
> > In the meantime you can use smartctl to have a look at the drive in
> > question to see if it's logged any errors. Something like:
> > # smartctl --all /dev/sda
>
> Thanks. It shows as shown in /var/log/message.
>
>
> [root at o ~]# smartctl --all /dev/sda
> smartctl version 5.37 [i386-redhat-linux-gnu] Copyright (C) 2002-6 Bruce
> Allen
> Home page is http://smartmontools.sourceforge.net/
>
> Device: AMCC 9650SE-4LP DISK Version: 3.06
> please try adding '-d 3ware,N'
> you may also need to change device to /dev/twaN or /dev/tweN
>
>
> I am going to look at the smart doc as Lonni suggested.
>
>
> Thanks again everybody.
>
> Vu
My bad. I wasn't paying enough attention this morning. Because these are SATA
drives you need to use this command: smartctl --all /dev/sda -d ata
or, it may be more complicated because of the 3ware controller:
> Use the forms "/dev/hd[a-t]" for IDE/ATA devices, and "/dev/sd[a-z]" for
> SCSI devices. For SCSI Tape Drives and Changers with TapeAlert support use
> the devices "/dev/nst*" and "/dev/sg*". For SATA disks accessed with
> libata, use "/dev/sd[a-z]" and append "-d ata". For disks behind 3ware
> controllers you may need "/dev/sd[a-z]" or "/dev/twe[0-9]" or
> "/dev/twa[0-9]": see details below. More general paths (such as devfs ones)
> may also be specified.
Check out the section describing the -d option under man:smartctl.
Cheers!
cmr
--
Debian 'Etch' - Registered Linux User #241964
--------
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC
More information about the Linux-users
mailing list