Jonathan | 1 Sep 03:09 2010
Picon

newbie question

I have Mac OS Tiger, and downloaded the .tar.gz which, apparently, contains the Smartmontools source
code.  How, exactly, do I compile and install it?  Do I need to purchase a compiler, or is there one built into
the Mac OS?

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
Christian Franke | 1 Sep 11:43 2010
Picon

Re: smartmontools and raw VirtualBox disks

Frédéric L. W. Meunier wrote:
> I'm testing VirtualBox on Windows 7 using a raw disk, but once I
> start it, smartmontools stops working partially on the host.
> Anybody know if this is supposed to happen, or is a bug in
> VirtualBox or smartmontools ?
> 

VirtualBox probably removes host OS administrative access to the raw
disk if a guest OS has raw access.

If this is the case it is IMO good and not bug.

> BTW, I'm starting it as as administrator, so "Warning: Limited
> functionality due to missing admin rights" is misleading.
> 

Yes, somewhat misleading if the above is true. Probably should be:
"Limited functionality due to missing administrative access to device"

This message is printed if the raw device ("\\.\PhysicalDrive0") cannot
be opened in R/W mode (which requires membership in local admin group)
but can be opened without any access (works from normal user). Then
smartctl uses other I/O controls (IOCTL_STORAGE_QUERY_PROPERTY,
IOCTL_STORAGE_PREDICT_FAILURE) which work without R/W mode but provide
only limited info (part of IDENTIFY info, SMART STATUS, SMART DATA, no
thresholds, no logs).

> > smartctl -a /dev/hda
> smartctl 5.40 2010-07-31 r3131 [i686-pc-mingw32-win7] (local build)
> Copyright (C) 2002-10 by Bruce Allen,
(Continue reading)

cfrees | 1 Sep 14:36 2010

Re: newbie question

On Tue 31st Aug, 2010 at 18:09, Jonathan seems to have written:

> I have Mac OS Tiger, and downloaded the .tar.gz which, apparently, contains the Smartmontools source
code.  How, exactly, do I compile and install it?  Do I need to purchase a compiler, or is there one built into
the Mac OS?

You do not need to purchase one but you do need to ensure that the
Developer Tools are installed. These are included on the install disks
for Tiger but not installed by default. You may find that a more recent
version is available from Apple's website. To download those you need a
Developer account which you can create for free. At least, I haven't
done this for a while because I'm also on Tiger and there have been no
updates for a while but I'm assuming it still works the same way.

Then you just decompress the archive and use configure and make. For
example, suppose your download is called abc.tar.gz and is on your
Desktop, open Terminal and:
 	cd Desktop
 	gunzip abc.tar.gz
 	gnutar -xf abc.tar.gz
Now look to see what the directory name is:
 	ls
Suppose it is called abc-x.y.z:
 	cd abc-x.y.z
 	./configure
 	make
 	make check
 	sudo make install
I can't remember if make check actually does anything for smartmontools
or not. If not, just go on to make install.
(Continue reading)

Scott Haneda | 2 Sep 17:36 2010

Re: newbie question

On Aug 31, 2010, at 6:09 PM, Jonathan wrote:

> I have Mac OS Tiger, and downloaded the .tar.gz which, apparently, contains the Smartmontools source
code.  How, exactly, do I compile and install it?  Do I need to purchase a compiler, or is there one built into
the Mac OS?

I have been using MacPorts to install smartmontools, which seems to work great for installing and getting
it up and running.
--

-- 
Scott (* For off-list contact, replace talklists <at>  with scott <at>  *)

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
Frédéric L. W. Meunier | 1 Sep 17:45 2010
Picon

Re: smartmontools and raw VirtualBox disks

On Wed, 1 Sep 2010, Christian Franke wrote:

> BTW: Does smartctl run from provide full output on guest OS?

No. But I read it's expected.

smartctl 5.40 2010-07-12 r3124 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, 
http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Device Model:     VBOX HARDDISK
Serial Number:    VB3f745be8-e1b1dcc0
Firmware Version: 1.0
User Capacity:    250.058.268.160 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   6
ATA Standard is:  ATA/ATAPI-6 published, ANSI INCITS 361-2002
Local Time is:    Wed Sep  1 12:39:17 2010 BRT
SMART support is: Unavailable - device lacks SMART capability.

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

with -s on -T permissive

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
Error SMART Enable failed: Input/output error
Smartctl: SMART Enable Failed.

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
(Continue reading)

jbj | 4 Sep 14:02 2010
Picon

smartctl with 3ware under 64-bit

Hi folks,

I've just set up a new system with a 12-disk RAID under a 3ware
9650SE-12ML controller. To avoid 32-bit blocksize/XFS limits (16TB?),
I'm running a 64-bit kernel, but otherwise running 32-bit userland
(Debian lenny) for ease of deployment across the cluster.

However, smartctl isn't able to talk to the device. Typical output
being:

# smartctl_erc -a /dev/twa0 -d 3ware,0
smartctl 5.40 2010-08-24 r3140 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

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.
#

(on a fairly newly 32-bit compiled svn version)

Is this configuration supported? Will I have more luck with a staticly
compiled 64-bit binary? (does anybody have one to hand?)

Best wishes,
Jeremy

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

(Continue reading)

Martin Spuetz | 8 Sep 08:02 2010
Picon

Ignore marginal attributes

Hello,

i've a nagios plugins that is checking smartctl -H and a few other options.

There was a Airflow_Temperature_Cel event and now nagios is complaining
about that.

> # smartctl -H /dev/sdc
> smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
> Home page is http://smartmontools.sourceforge.net/
> 
> === START OF READ SMART DATA SECTION ===
> SMART overall-health self-assessment test result: PASSED
> Please note the following marginal Attributes:
> ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
> 190 Airflow_Temperature_Cel 0x0022   064   033   045    Old_age   Always   In_the_past 36 (0 21 42 35)

Is there any way to reset that warning? Or at least to ignore it?

What do you do in such a case?

Greetings
Martin

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
(Continue reading)

Christian Franke | 9 Sep 19:37 2010
Picon

Re: smartmontools and raw VirtualBox disks

Frédéric L. W. Meunier wrote:
> On Wed, 1 Sep 2010, Christian Franke wrote:
>
>    
>> BTW: Does smartctl run from provide full output on guest OS?
>>      
> No. But I read it's expected.
>
> smartctl 5.40 2010-07-12 r3124 [i686-pc-linux-gnu] (local build)
> Copyright (C) 2002-10 by Bruce Allen,
> http://smartmontools.sourceforge.net
>
> === START OF INFORMATION SECTION ===
> Device Model:     VBOX HARDDISK
> Serial Number:    VB3f745be8-e1b1dcc0
> Firmware Version: 1.0
> User Capacity:    250.058.268.160 bytes
> Device is:        Not in smartctl database [for details use: -P showall]
> ATA Version is:   6
> ATA Standard is:  ATA/ATAPI-6 published, ANSI INCITS 361-2002
> Local Time is:    Wed Sep  1 12:39:17 2010 BRT
> SMART support is: Unavailable - device lacks SMART capability.
>
>    

Even the disk's identity is not exposed to the guest OS.  This shows 
that "raw disk" only means that the sectors are mapped transparently to 
the physical disk. This does not imply the ATA pass-through access 
required for smartmontools.

(Continue reading)

Michelle Konzack | 10 Sep 13:47 2010
Picon

How to test SCSI (SCA80) drives?

Hello *,

I have some problems with a "a little bit older" server which has:

----[ '/proc/scsi/scsi' ]-----------------------------------------------
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: QUANTUM  Model: ATLAS 10K 18SCA  Rev: UCHN
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: QUANTUM  Model: ATLAS 10K 18SCA  Rev: UCHN
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: QUANTUM  Model: ATLAS 10K 18SCA  Rev: UCHN
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: QUANTUM  Model: ATLAS 10K 18SCA  Rev: UCHN
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: SEAGATE  Model: ST39175LC        Rev: 0001
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: SEAGATE  Model: ST39175LC        Rev: 0001
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: ESG-SHV  Model: SCA HSBP M6      Rev: 0.61
  Type:   Processor                        ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 05 Lun: 00
  Vendor: TOSHIBA  Model: CD-ROM XM-6201TA Rev: 1030
  Type:   CD-ROM                           ANSI SCSI revision: 02
(Continue reading)

Marcin Falkiewicz | 11 Sep 19:22 2010
Picon

Seagate Pipeline strings

Hi,
I've made a patch, against trunk, for Pipeline HD family. Also, added one string for Momentus FDE.2.

-- 
Marcin Falkiewicz
Attachment (seagate_pipelinehd.patch): text/x-patch, 1373 bytes
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Smartmontools-support mailing list
Smartmontools-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-support

Gmane