[pbs-devel] [PATCH proxmox-backup] report: add disk/by-id and disk/by-path info
Aaron Lauterer
a.lauterer at proxmox.com
Thu Jun 24 11:32:06 CEST 2021
Globbing seems to not work, e.g. `ls -l /dev/disk/*`. Therefore calling
it two times for the id and path directories as those two are the most
useful in my experience when trying to infer things about the disks and
how they are connected.
Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---
src/server/report.rs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/server/report.rs b/src/server/report.rs
index e89abbc5..73f73e52 100644
--- a/src/server/report.rs
+++ b/src/server/report.rs
@@ -23,6 +23,8 @@ fn commands() -> Vec<(&'static str, Vec<&'static str>)> {
("proxmox-backup-manager", vec!["versions", "--verbose"]),
("df", vec!["-h"]),
("lsblk", vec!["--ascii"]),
+ ("ls", vec!["-l", "/dev/disk/by-id"]),
+ ("ls", vec!["-l", "/dev/disk/by-path"]),
("zpool", vec!["status"]),
("zfs", vec!["list"]),
("proxmox-backup-manager", vec!["subscription", "get"]),
--
2.30.2
More information about the pbs-devel
mailing list