I created an image and used it to create a logical volume like this:
dd if=/dev/zero of=LVM.img bs=1024 count=$((64*1024))
sudo losetup --find --partscan LVM.img
sudo pvcreate /dev/loop0
sudo vgcreate vg00 /dev/loop0
sudo lvcreate -L 4 vg00 -n lv00
I then removed/deactivated/unmounted/detached/whatever both the logical volume and the volume group:
sudo lvchange -an /dev/vg00/lv00
sudo vgchange -an /dev/vg00
Okay. Now if I want to get it such that these are present in /dev
again (I don't know what word to use)? What's more, how come I have not come across a guide stating how to "re-attach" volume groups and logical volumes?