I was wondering if there is a way to write to the unallocated space of an lvm2 (linux)...
I prefer to have all my partitions encrypted but I'm not quite sure if there were any non-encrypted partitions earlier so now I want to overwrite/swipe all the space that is used by my LVM but not allocated to a logical volume right now.
I know creating a new logical volume consuming all the available extents, do the the wiping and then remove it afterwards would probably do the job (would it?) but I wonder if there is another, more elegant way that would allow me to do something like:
dd if=/dev/random of=/dev/the-magical-unallocated-space-on-lvm2-device