zfs: how to find out when a disk failed
Dr. Nikolaus Klepp
dr.klepp at gmx.at
Tue Nov 15 19:52:14 UTC 2016
Am Dienstag, 15. November 2016 schrieb Robison, Dave:
> On 11/15/2016 06:37, Dr. Nikolaus Klepp wrote:
> > Hi all!
> > I have a server with a zfs raid-z1 (3 disks). One disk failed/was removed some time ago and was not replaced till now.
> > Is there a way to find out when the disk failed/was removed?
> > Nik
> /var/log/messages perhaps?
> or dmesg?
Sorry, my description was incomplete: the server was rebooted ~ 32 days ago.
/var/run/dmesg.boot says, the missing disk was already missing at that time.
/var/log/messages to /var/log/messages.4.bz2 .4.bz2 are present, but the first entry is from ~ 12 days ago.
There are no logfiles in the archive that are older than 30 days.
"zpool history -il" gives nor hint that the pool it's degraded.
Please do not email me anything that you are not comfortable also sharing with the NSA.
More information about the freebsd-questions