display free/used inodes
daniejstriata opened this issue Β· 17 comments
Can you please add option to add a column for free/used inodes?
In the JSON output, why not, but is this a so frequent concern that you'd also want it in the table view ?
only Display inodes column if I ask for it?
I run lfs as part of my motd. It would be good for me to show inodes issues to admins logging in,
I'll probably do it, as it's quite easy
There are other ways to get the exact inodes total and used. I'd be happy just to see the percentage of inodes in use.
You mean your opinion would be to choose just "free inodes" and "inodes use%" ?
Yes. I've never worried about inodes until there are none left :-) I actually ran into an XFS volume today that started complaining about inodes. I've not seen xfs having inode issues before.
In a future versions, I'll probably make it possible to finely decide what cols to display...
(depending on whether I have another user or not ^^)
That example looks great. I would even drop the free inodes column.
Choosing column in future could be helpful. Maybe have a "lite" and "full" option?
full:
βββββ¬ββββββ¬ββββββββββββββββββββββββββββββββββ¬βββββ¬βββββ¬βββββ¬ββββββββββ¬βββββ¬βββββ¬ββββββββββββ
β idβ dev β filesystem βdiskβtypeβusedβ use% βfreeβsizeβmount pointβ
βββββΌββββββΌββββββββββββββββββββββββββββββββββΌβββββΌβββββΌβββββΌββββββββββΌβββββΌβββββΌββββββββββββ€
β150β253:1β/dev/mapper/root βLVM βxfs β26G β59% βββ β 18Gβ44G β/ β
β112β253:1β/dev/mapper/root βLVM βxfs β26G β59% βββ β 18Gβ44G β/var/tmp β
β169β253:3β/dev/mapper/home βLVM βxfs β14G β66% ββββ β7.4Gβ21G β/home β
β166β252:1β/dev/vda1 βHDD βext4β287Mβ28% ββ β736Mβ1.0Gβ/boot β
βββββ΄ββββββ΄ββββββββββββββββββββββββββββββββββ΄βββββ΄βββββ΄βββββ΄ββββββββββ΄βββββ΄βββββ΄ββββββββββββ
lite:
βββββββββββββββββββββββββββββββββββ¬βββββ¬βββββ¬ββββββββββ¬βββββ¬βββββ¬ββββββββββββ
β filesystem βtypeβusedβ use% βfreeβsizeβmount pointβ
βββββββββββββββββββββββββββββββββββΌβββββΌβββββΌββββββββββΌβββββΌβββββΌββββββββββββ€
β/dev/mapper/root βxfs β26G β59% βββ β 18Gβ44G β/ β
β/dev/mapper/root β β26G β59% βββ β 18Gβ44G β/var/tmp β
β/dev/mapper/home βxfs β14G β66% ββββ β7.4Gβ21G β/home β
β/dev/vda1 βext4β287Mβ28% ββ β736Mβ1.0Gβ/boot β
βββββββββββββββββββββββββββββββββββ΄βββββ΄βββββ΄ββββββββββ΄βββββ΄βββββ΄ββββββββββββ
That looks good. What if you add the new inodes column after the use%
I don't want to mix parts in bytes and parts in inodes, that would be ambiguous
Released. I've spent more time than expected on the tests and small details...
I appreciate! Thank you.