Permission denied when checking Smart Status

Status
Not open for further replies.

Makaveli6103

Contributor
Joined
Mar 18, 2012
Messages
104
I have been having a clicking hard drive for a while and saw this alert today on the GUI

  • WARNING: The volume tank (ZFS) status is UNKNOWN: One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffected.Determine if the device needs to be replaced, and clear the errors using 'zpool clear' or replace the device with 'zpool replace'
I tried to check the smart status and kept getting the errors below.

Code:
[@freenas] ~> smartctl -H /dev/ada0
smartctl 5.43 2012-06-30 r3573 [FreeBSD 8.3-RELEASE-p7 amd64] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
 
/dev/xpt0 control device couldn't opened: Permission denied
Unable to get CAM device list
/dev/ada0: Unable to detect device type
Smartctl: please specify device type with the -d option.


Code:
[abe@freenas] ~> zpool status
  pool: tank
state: ONLINE
status: One or more devices has experienced an unrecoverable error.  An
    attempt was made to correct the error.  Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
    using 'zpool clear' or replace the device with 'zpool replace'.
  see: http://www.sun.com/msg/ZFS-8000-9P
  scan: scrub repaired 88K in 7h52m with 0 errors on Mon Aug  5 07:52:22 2013
config:
 
    NAME                                            STATE    READ WRITE CKSUM
    tank                                            ONLINE      0    0    0
      raidz1-0                                      ONLINE      0    0    0
        gptid/d3e6cefc-ce36-11e2-9763-bcaec5cd64c0  ONLINE      0    0    2
        gptid/c7fd9957-cc65-11e2-8f75-bcaec5cd64c0  ONLINE      0    0    0
        gptid/2c8fa425-ca59-11e2-8f3b-bcaec5cd64c0  ONLINE      0    0    0
        gptid/1faa61e7-cbc0-11e2-9868-bcaec5cd64c0  ONLINE      0    0    0
    spares
      ada4                                          AVAIL 
 
errors: No known data errors
[abe@freenas] ~> zpool clear
missing pool name
usage:
    clear [-nF] <pool> [device]
[abe@freenas] ~> zpool clear tank
cannot clear errors for tank: permission denied
[abe@freenas] ~> 
 

warri

Guru
Joined
Jun 6, 2011
Messages
1,193
You need to be superuser for those commands to work.
Change to superuser with "su" first.
 
Status
Not open for further replies.
Top