Details |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 151 |
rodolico |
1 |
Scans all hard drives on Unix systems, using smartctl to determine parameters
|
|
|
2 |
like make/model, serial number, hours uptime, etc...
|
|
|
3 |
|
|
|
4 |
Looks for file /etc/drive_bays and, if it exists, populates the physical bay
|
|
|
5 |
a drive in.
|
|
|
6 |
|
|
|
7 |
Looks for the following binaries and uses if they exist. Will not fail if the
|
|
|
8 |
binaries do not exist.
|
|
|
9 |
|
|
|
10 |
== FreeBSD
|
|
|
11 |
geom
|
|
|
12 |
glabel
|
|
|
13 |
== Linux
|
|
|
14 |
lsblk
|
|
|
15 |
mdadm
|
|
|
16 |
== All systems
|
|
|
17 |
zpool
|
|
|
18 |
smartctl
|
|
|
19 |
|
|
|
20 |
uses Perl library JSON if it is available
|
|
|
21 |
|
|
|
22 |
Tested on Devuan Linux and FreeBSD
|