From: Bruce A. <ba...@gr...> - 2008-01-31 08:40:41
|
No need to 'mknod'. Smartd and smartctl will do this for you. The problem is that in giving smartctl and smartd commands you have been using /dev/sda (just look below). Please try something like this: /dev/twa0 -a -d 3ware,0 in /etc/smartd.conf, and something like this: smartctl -a /dev/twa0 -d 3ware,0 on the command line. You may need a different minor device number (/dev/twa2 for example) or disk number (-d 3ware,2) or both. Cheers, Bruce On Wed, 30 Jan 2008, Igor Chudov wrote: > On Wed, Jan 30, 2008 at 06:02:09PM -0600, Bruce Allen wrote: >> Does /proc/devices show either twe or twa devices? > > Great idea, thanks Bruce: > > 253 twa > > Maybe I should do some mknod??? > > i > >> On Tue, 29 Jan 2008, Igor Chudov wrote: >> >>> I tried: >>> >>> smartctl /dev/sda -d 3ware,0 >>> smartctl version 5.37 [x86_64-unknown-linux-gnu] Copyright (C) 2002-6 >>> Bruce Allen >>> Home page is http://smartmontools.sourceforge.net/ >>> >>> WARNING - NO DEVICE FOUND ON 3WARE CONTROLLER (disk 0) >>> Note: /dev/sdX many need to be replaced with /dev/tweN or /dev/twaN >>> Smartctl: Device Read Identity Failed (not an ATA/ATAPI device) >>> >>> A mandatory SMART command failed: exiting. To continue, add one or >>> more '-T permissive' options. >>> fortress:root:~ ==] >>> ==> /var/log/messages <== >>> Jan 29 11:28:41 fortress kernel: [334402.392108] program smartctl is >>> using a deprecated SCSI ioctl, please convert it to SG_IO >>> Jan 29 11:28:41 fortress kernel: [334402.392404] 3w-9xxx: scsi0: >>> ERROR: (0x03:0x0101): Invalid command opcode:opcode=0x80. >>> >>> ==> /var/log/syslog <== >>> Jan 29 11:28:41 fortress kernel: [334402.392108] program smartctl is >>> using a deprecated SCSI ioctl, please convert it to SG_IO >>> Jan 29 11:28:41 fortress kernel: [334402.392404] 3w-9xxx: scsi0: >>> ERROR: (0x03:0x0101): Invalid command opcode:opcode=0x80. >>> >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> Smartmontools-support mailing list >>> Sma...@li... >>> https://lists.sourceforge.net/lists/listinfo/smartmontools-support >>> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Smartmontools-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartmontools-support > |