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

Attachment: signature.asc
Description: Digital signature

-- 
ubuntu-server mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Reply via email to