Bug 240293
Summary: | scan for local devices by default | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Florian La Roche <laroche> |
Component: | smartmontools | Assignee: | Tomas Smetana <tsmetana> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-08-02 07:45:19 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Florian La Roche
2007-05-16 11:59:11 UTC
Sorry, but I don't understand the requirement... You don't like the '-d' option or you don't want to specifiy the device itself? If the first then smartctl is able to autodetect the disk type for most common devices. If the second then sorry, but no. Most commonly I want to check status of a particular drive and/or launch a SMART test for it. I don't like the idea of smartctl touching my usb flash disks or automatically start tests for all local drives. It's superuser-only tool and minimizing risk of accidents is worth of little uncomfort. And smartctl is quite user-friendly in comparison with some others in /sbin and /usr/sbin. At least sata devices should be scanned without adding an extra -d option, I agree that usb scanning should be off per default. regards, Florian La Roche If your SATA disk is not detected by smartctl, then it's a bug indeed, because smartmontools since ver. 5.37 are supposed to detect SATA disks automatically (without '-d' option). On my system it looks like this: [root@testmachine ~]# smartctl -i /dev/sda smartctl version 5.37 [i686-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Device Model: SAMSUNG HD160JJ/P Serial Number: S0DFJ1HL497216 Firmware Version: ZM100-34 User Capacity: 160,000,000,000 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 7 ATA Standard is: ATA/ATAPI-7 T13 1532D revision 4a Local Time is: Thu May 31 09:12:21 2007 CEST SMART support is: Available - device has SMART capability. SMART support is: Enabled What version of smartmontools do you use? If it's 5.37, then could you please provide output of "smartctl -a" (with and without "-d ata") on that device? It works on my system and without more information I can't do anything about this. |