Closed rustbomber closed 3 years ago
Thanks for reporting the issue! Maybe @mjarkk would be interested into taking a look? :smiley:
I'll check it out.
@akaylh Is it true D, E and F are one disk with 3 partitions because the partitions seem to fit into 5785851133440?
Awesome! Thanks a lot!
I'll check it out. @akaylh Is it true D, E and F are one disk with 3 partitions because the partitions seem to fit into 5785851133440?
yes, my server have two disk in fact:
Ah this also explains then why your C disk in this library is bigger than gopsutil.
Ah this also explains then why your C disk in this library is bigger than gopsutil.
I think the problem should not be here, mainly because the total space of D/E/F is incorrect 。
BTW:My English is a weak!
I've created a pr to fix this #431
on some machine, my disk total space is 5TB and use code, some partition total space is incorrect
but D/E/F partition total is 5785851133440.
I also use golang test, with package
github.com/shirou/gopsutil/v3
, is report correct: