Re: replacement of ataidle for freebsd 9

From: Eugene Dzhurinsky <jdevelop_at_gmail.com>
Date: Sat, 22 Oct 2011 18:21:07 +0300
On Sat, Oct 22, 2011 at 02:23:53PM +0100, Bruce Cran wrote:
> Why do you not want to use ataidle?

> ataidle -P 0 /dev/ada0
ataidle: error opening /dev/ada0

> ataidle -P 0 /dev/ad4 
ataidle: error: identify device /dev/ad4

> ls -l /dev | grep ad 
lrwxr-xr-x  1 root  wheel            4 Oct 22 18:16 ad4_at_ -> ada0
lrwxr-xr-x  1 root  wheel            6 Oct 22 18:16 ad4s1_at_ -> ada0s1
lrwxr-xr-x  1 root  wheel            7 Oct 22 18:16 ad4s1a_at_ -> ada0s1a
lrwxr-xr-x  1 root  wheel            7 Oct 22 18:16 ad4s1b_at_ -> ada0s1b
lrwxr-xr-x  1 root  wheel            7 Oct 22 18:16 ad4s1d_at_ -> ada0s1d
lrwxr-xr-x  1 root  wheel            7 Oct 22 18:16 ad4s1e_at_ -> ada0s1e
lrwxr-xr-x  1 root  wheel            7 Oct 22 18:16 ad4s1f_at_ -> ada0s1f
lrwxr-xr-x  1 root  wheel            6 Oct 22 18:16 ad4s2_at_ -> ada0s2
crw-r-----  1 root  operator    0,  81 Oct 22 18:16 ada0
crw-r-----  1 root  operator    0,  84 Oct 22 18:16 ada0s1
crw-r-----  1 root  operator    0,  88 Oct 22 21:16 ada0s1a
crw-r-----  1 root  operator    0,  90 Oct 22 18:16 ada0s1b
crw-r-----  1 root  operator    0,  92 Oct 22 21:16 ada0s1d
crw-r-----  1 root  operator    0,  94 Oct 22 21:16 ada0s1e
crw-r-----  1 root  operator    0,  96 Oct 22 21:16 ada0s1f
crw-r-----  1 root  operator    0,  86 Oct 22 21:16 ada0s2

> smartctl -a /dev/ada0

smartctl 5.42 2011-10-20 r3458 [FreeBSD 9.0-RC1 amd64] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Device Model:     ST9500423AS
Serial Number:    W2V003TQ
LU WWN Device Id: 5 000c50 03d75b968
Firmware Version: 0002SDM1
User Capacity:    500,107,862,016 bytes [500 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 4
Local Time is:    Sat Oct 22 18:20:22 2011 EEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

-- 
Eugene N Dzhurinsky

Received on Sat Oct 22 2011 - 13:21:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:19 UTC