Re: replacement of ataidle for freebsd 9
--YZ5djTAD1cGYuMQK
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
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=20
ataidle: error: identify device /dev/ad4
> ls -l /dev | grep ad=20
lrwxr-xr-x 1 root wheel 4 Oct 22 18:16 ad4@ -> ada0
lrwxr-xr-x 1 root wheel 6 Oct 22 18:16 ad4s1@ -> ada0s1
lrwxr-xr-x 1 root wheel 7 Oct 22 18:16 ad4s1a@ -> ada0s1a
lrwxr-xr-x 1 root wheel 7 Oct 22 18:16 ad4s1b@ -> ada0s1b
lrwxr-xr-x 1 root wheel 7 Oct 22 18:16 ad4s1d@ -> ada0s1d
lrwxr-xr-x 1 root wheel 7 Oct 22 18:16 ad4s1e@ -> ada0s1e
lrwxr-xr-x 1 root wheel 7 Oct 22 18:16 ad4s1f@ -> ada0s1f
lrwxr-xr-x 1 root wheel 6 Oct 22 18:16 ad4s2@ -> 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
=3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D
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
--=20
Eugene N Dzhurinsky
--YZ5djTAD1cGYuMQK
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)
iQEcBAEBAgAGBQJOot9iAAoJEJl2g18bZPdRkHsIAIxfwE/0s+jQmDg85JY97CdI
6VmnAFmdxPoi0HnfazOTKHFPREEUzfM+C+eSr3cG8cbGn1zzO8wA+jzL1T5h7xuM
n/8KI/B8PoXnZCLPzePzZ1yvo/s2FquvT3i9pf8B/V5qHpCnskyiaugCLPvhBQ5o
lqJjkcBf06B7N6snH3HUtp4HLYB3zi92NoDXDdhN8lWWlf371FkdnaKd4Tyu55LM
fDhR+/QTv5+wXVNa+cTjN0S+TYsWCyWrUiEk4gn3RwKgHRqY8IlomLPnN9gHqiIF
c2bKhg4GwA4oHQjCMFj4YeoGCxCAFZaoocpKIsesBwsUlRYkEMv5P/rqjL3jH2Q=
=F4yZ
-----END PGP SIGNATURE-----
--YZ5djTAD1cGYuMQK--
討論串 (同標題文章)
完整討論串 (本文為第 3 之 7 篇):