Frédéric L. W. Meunier | 1 Sep 2010 17:45
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)

Christian Franke | 9 Sep 2010 19:37
Picon
Favicon

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)


Gmane