CLI Disk Scan FSCK
(2018-08-22)
Problem
It is a good idea to run a disk check before doing a firmware upgrade, especially on little units that get all upset because their power got ganked during the last thunderstorm. It's also tedious to do this through the web interface when we have a perfectly good ssh interface to use.
Solution
# execute disk scan 1
Rancid?
Why, yes:
$ fnlogin -c 'execute disk scan 1
> y' 172.30.1.92