Don't we all are, eh ?
I've one server that is "storage backend" for few things. It used to be OpenSolaris (ZFS) but I migrated it to FreeBSD in 2012. All my servers have a script that runs daily and keeps output of few things in a log file. But on this server I forgot to schedule housekeeping and those logs just kept adding up. First log is from Sep 30, 2014 (probably fresh install from 9 to 10). I'm able to backtrack each release's life:
With a remarkable life of my disks in pools:
Now that I call power to serve.
I've one server that is "storage backend" for few things. It used to be OpenSolaris (ZFS) but I migrated it to FreeBSD in 2012. All my servers have a script that runs daily and keeps output of few things in a log file. But on this server I forgot to schedule housekeeping and those logs just kept adding up. First log is from Sep 30, 2014 (probably fresh install from 9 to 10). I'm able to backtrack each release's life:
Code:
# grep -H ^kernel\ ver * | uniq -c -f 2
10 checkconfig.20140930:kernel version: 10.0-RELEASE-p7
33 checkconfig.20141010:kernel version: 10.0-RELEASE-p9
8 checkconfig.20141112:kernel version: 10.0-RELEASE-p12
56 checkconfig.20141121:kernel version: 10.1-RELEASE
53 checkconfig.20150116:kernel version: 10.1-RELEASE-p4
112 checkconfig.20150310:kernel version: 10.1-RELEASE-p6
107 checkconfig.20150630:kernel version: 10.1-RELEASE-p13
93 checkconfig.20151015:kernel version: 10.2-RELEASE-p5
42 checkconfig.20160116:kernel version: 10.2-RELEASE-p10
41 checkconfig.20160227:kernel version: 10.2-RELEASE-p12
41 checkconfig.20160408:kernel version: 10.3-RELEASE
67 checkconfig.20160519:kernel version: 10.3-RELEASE-p3
87 checkconfig.20160725:kernel version: 10.3-RELEASE-p5
107 checkconfig.20180510:kernel version: 11.1-RELEASE-p10
453 checkconfig.20180825:kernel version: 11.2-RELEASE-p2
345 checkconfig.20191121:kernel version: 12.1-RELEASE-p1
104 checkconfig.20201031:kernel version: 12.2-RELEASE
271 checkconfig.20210213:kernel version: 12.2-RELEASE-p3
40 checkconfig.20211111:kernel version: 12.2-RELEASE-p11
346 checkconfig.20211221:kernel version: 12.3-RELEASE
145 checkconfig.20221202:kernel version: 12.3-RELEASE-p10
78 checkconfig.20230426:kernel version: 12.4-RELEASE-p1
21 checkconfig.20230713:kernel version: 12.4-RELEASE-p3
70 checkconfig.20230803:kernel version: 12.4-RELEASE-p4
#
Code:
# for i in `seq 7`; do smartctl -a /dev/da$i; done | grep Power_On_Hours
9 Power_On_Hours 0x0032 001 001 000 Old_age Always - 93828
9 Power_On_Hours 0x0032 001 001 000 Old_age Always - 93827
9 Power_On_Hours 0x0032 079 079 000 Old_age Always - 15431
9 Power_On_Hours 0x0032 001 001 000 Old_age Always - 93826
9 Power_On_Hours 0x0032 001 001 000 Old_age Always - 93829
9 Power_On_Hours_and_Msec 0x0032 000 000 000 Old_age Always - 987466h+46m+12.920s
9 Power_On_Hours 0x0032 001 001 000 Old_age Always - 93828