3w-9xxx: scsi0: ERROR
Andy Smith
andy at strugglers.net
Fri Nov 20 11:32:56 UTC 2009
Hi Kaushal,
On Fri, Nov 20, 2009 at 12:30:27PM +0530, Kaushal Shriyan wrote:
> I have the below information in the syslog.
>
> Nov 19 22:55:22 host0104 kernel: [19938.001554] program smartctl is
> using a deprecated SCSI ioctl, please convert it to SG_IO
> Nov 19 22:55:22 host0104 kernel: [19938.002814] 3w-9xxx: scsi0: ERROR:
> (0x03:0x0101): Invalid command opcode:opcode=0x80.
>
> Any ideas to fix the above issue?
Do you know that it's an actual problem? I believe I have seen this
before when SMART commands are sent to the wrong device.
Do you have something like smartctld or hddtemp installed or did you
simply run smartctl?
On my machines with 3ware 9xxx cards, the way to call smartctl is:
sudo smartctl -d 3ware,0 -a /dev/twa0
where the number after the comma is the disk number, e.g. 0 is the
first disk.
Cheers,
Andy
--
http://bitfolk.com/ -- No-nonsense VPS hosting
"I am the permanent milk monitor of all hobbies!" -- Simon Quinlank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20091120/4c72b5ab/attachment.pgp>
More information about the ubuntu-server
mailing list