Re: bioctl and S.M.A.R.T support for physical disks

2017-10-18 Thread Predrag Punosevac
smartctl -i  /dev/sd0c 

works for me as well. I would like to thank all of you who helped on and
off the list.

Predrag



Re: bioctl and S.M.A.R.T support for physical disks

2017-10-18 Thread Juan Francisco Cantero Hurtado
On Tue, Oct 17, 2017 at 11:30:16PM -0400, Predrag Punosevac wrote:
> Hi Misc,
> 
> I am using 
> 
> # bioctl sd4
> Volume  Status   Size Device  
> softraid0 0 Online  2000396018176 sd4 RAID1 
>   0 Online  2000396018176 0:0.0   noencl 
>   1 Online  2000396018176 0:1.0   noencl 
>  
> for my desktop
> 
> # uname -a
> OpenBSD oko.bagdala2.net 6.2 GENERIC.MP#0 amd64
> 
> Physical drives used to create mirror on this machine are 
> /dev/sd0 and /dev/sd1
> 
> When I try to probe the drives with S.M.A.R.T utility I get 
> 
> # smartctl -i -d sat /dev/sd0

Try "smartctl -i -d sat /dev/rsd0c".

> smartctl 6.5 2016-05-07 r4318 [x86_64-unknown-openbsd6.2] (local build)
> Copyright (C) 2002-16, Bruce Allen, Christian Franke,
> www.smartmontools.org
> 
> Smartctl open device: /dev/sd0 [SAT] failed: Operation not supported by
> device
> 
> 
> and this is without device option
> 
> # smartctl -i  /dev/sd0   
> smartctl 6.5 2016-05-07 r4318 [x86_64-unknown-openbsd6.2] (local build)
> Copyright (C) 2002-16, Bruce Allen, Christian Franke,
> www.smartmontools.org
> 
> Smartctl open device: /dev/sd0 failed: Operation not supported by device
> 
> It makes me wonder if S.M.A.R.T. support for physical disks is added to
> bioctl since 2006/7 when Marco Peereboom was talking about that on
> NYC*BUG. I am using high end enterprise drives on this machine which do
> support S.M.A.R.T. and I did enable S.M.A.R.T. in bios.
> 
> Cheers,
> Predrag
> 

-- 
Juan Francisco Cantero Hurtado http://juanfra.info



Re: bioctl and S.M.A.R.T support for physical disks

2017-10-18 Thread Vijay Sankar


Quoting Predrag Punosevac :


Hi Misc,

I am using

# bioctl sd4
Volume  Status   Size Device
softraid0 0 Online  2000396018176 sd4 RAID1
  0 Online  2000396018176 0:0.0   noencl 
  1 Online  2000396018176 0:1.0   noencl 

for my desktop

# uname -a
OpenBSD oko.bagdala2.net 6.2 GENERIC.MP#0 amd64

Physical drives used to create mirror on this machine are
/dev/sd0 and /dev/sd1

When I try to probe the drives with S.M.A.R.T utility I get

# smartctl -i -d sat /dev/sd0
smartctl 6.5 2016-05-07 r4318 [x86_64-unknown-openbsd6.2] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke,
www.smartmontools.org

Smartctl open device: /dev/sd0 [SAT] failed: Operation not supported by
device


and this is without device option

# smartctl -i  /dev/sd0
smartctl 6.5 2016-05-07 r4318 [x86_64-unknown-openbsd6.2] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke,
www.smartmontools.org

Smartctl open device: /dev/sd0 failed: Operation not supported by device

It makes me wonder if S.M.A.R.T. support for physical disks is added to
bioctl since 2006/7 when Marco Peereboom was talking about that on
NYC*BUG. I am using high end enterprise drives on this machine which do
support S.M.A.R.T. and I did enable S.M.A.R.T. in bios.

Cheers,
Predrag


Hi,

smartctl -i  /dev/sd0c works

Vijay

--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
vsan...@foretell.ca



bioctl and S.M.A.R.T support for physical disks

2017-10-17 Thread Predrag Punosevac
Hi Misc,

I am using 

# bioctl sd4
Volume  Status   Size Device  
softraid0 0 Online  2000396018176 sd4 RAID1 
  0 Online  2000396018176 0:0.0   noencl 
  1 Online  2000396018176 0:1.0   noencl 
 
for my desktop

# uname -a
OpenBSD oko.bagdala2.net 6.2 GENERIC.MP#0 amd64

Physical drives used to create mirror on this machine are 
/dev/sd0 and /dev/sd1

When I try to probe the drives with S.M.A.R.T utility I get 

# smartctl -i -d sat /dev/sd0
smartctl 6.5 2016-05-07 r4318 [x86_64-unknown-openbsd6.2] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke,
www.smartmontools.org

Smartctl open device: /dev/sd0 [SAT] failed: Operation not supported by
device


and this is without device option

# smartctl -i  /dev/sd0   
smartctl 6.5 2016-05-07 r4318 [x86_64-unknown-openbsd6.2] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke,
www.smartmontools.org

Smartctl open device: /dev/sd0 failed: Operation not supported by device

It makes me wonder if S.M.A.R.T. support for physical disks is added to
bioctl since 2006/7 when Marco Peereboom was talking about that on
NYC*BUG. I am using high end enterprise drives on this machine which do
support S.M.A.R.T. and I did enable S.M.A.R.T. in bios.

Cheers,
Predrag