Imagine the physical volume was resize with:
And the logical volumne was resized with:
lvresize -l +100%FREE system/home
But this command was not done:
Since the last command was forgotten, there is unused space.
How to calculate the unused bytes?
Background: I want to write a check-script which checks if on a server the resize of the filesystem was forgotten.