Clearing up LVM disk
October 31, 2015
I wanted to reuse a disk that had previously been used as an LVM volume. fdisk didn't seem to like it.
To clear it up, I needed to do the following:
# apt-get install lvm2 # pvremove /dev/sdb5 # pvremove /dev/sdb5 --force --force