zfs: how to find out when a disk failed

Adam Vande More amvandemore at gmail.com
Wed Nov 16 00:27:25 UTC 2016


On Nov 15, 2016 1:52 PM, "Dr. Nikolaus Klepp" <dr.klepp at gmx.at> wrote:
>
> 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.
>
> Nik
>
> --
> Please do not email me anything that you are not comfortable also sharing
with the NSA.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
freebsd-questions-unsubscribe at freebsd.org"

Sometimes the disk controller will have a log.


More information about the freebsd-questions mailing list