This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] hdparm/sdparm/smartctl from the DomU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] hdparm/sdparm/smartctl from the DomU
From: Ryan Kennedy <rkennedy@xxxxxxxxxxxxxx>
Date: Fri, 17 Apr 2009 11:44:18 -0600
Delivery-date: Fri, 17 Apr 2009 10:42:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Avail Media, Inc.
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20090408)
Does anyone know of a way to successfully run an "hdparm -i" on a SATA
device under a DomU? I've exposed the device using the block-device phy
mapping but hdparm/sdparm/smartctl can seem to access the disk at a low
enough level to poll the drive. Basically need to pull the S/N off the
drive, but haven't yet been able to achieve this under a DomU. Works
fine on the Dom0 of course. Any help is greatly appreciated.

2 things I should mention...
1) The dom0 is installed on a Linux MD RAID1 array consisting of
/dev/sda and /dev/sdb
2) When booting the DomU I get the following...
* Letting udev process events ...scsi_id[2010]: scsi_id: unable to
access parent device of '/block/sdb'
scsi_id[2012]: scsi_id: unable to access parent device of '/block/sda'
scsi_id[2043]: scsi_id: unable to access parent device of '/block/sdb'
scsi_id[2044]: scsi_id: unable to access parent device of '/block/sda'

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>